Add network state to system.interval telemetry (#1959)

* add network state to system.interval telemetry

* use serde_json

* use unwrap_or_default
This commit is contained in:
Gregory Terzian
2019-03-12 17:17:29 +08:00
committed by Bastian Köcher
parent 0ea90111b4
commit 90cd8a8479
3 changed files with 5 additions and 0 deletions
+1
View File
@@ -3644,6 +3644,7 @@ dependencies = [
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
"names 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
"regex 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_json 1.0.38 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-primitives 0.1.0",
"structopt 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)",
"substrate-client 0.1.0",