Rework telemetry to replace the use of tracing with an object we pass around (#8143)

polkadot companion: paritytech/polkadot#2535
This commit is contained in:
Cecile Tonglet
2021-03-11 11:05:45 +01:00
committed by GitHub
parent 7aaba0c154
commit 8031b6eacb
55 changed files with 1028 additions and 838 deletions
+4 -7
View File
@@ -1,5 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "Inflector"
version = "0.11.4"
@@ -3971,6 +3973,7 @@ dependencies = [
"frame-system",
"futures 0.3.12",
"hex-literal",
"libp2p-wasm-ext",
"log",
"nix",
"node-executor",
@@ -7780,8 +7783,6 @@ dependencies = [
"tokio 0.2.25",
"tracing",
"tracing-futures",
"tracing-log",
"tracing-subscriber",
"wasm-timer",
]
@@ -7867,10 +7868,8 @@ dependencies = [
"rand 0.7.3",
"serde",
"serde_json",
"sp-utils",
"take_mut",
"tracing",
"tracing-subscriber",
"thiserror",
"void",
"wasm-timer",
]
@@ -7888,7 +7887,6 @@ dependencies = [
"parking_lot 0.11.1",
"regex",
"rustc-hash",
"sc-telemetry",
"sc-tracing-proc-macro",
"serde",
"serde_json",
@@ -9267,7 +9265,6 @@ dependencies = [
"sc-informant",
"sc-network",
"sc-service",
"sc-telemetry",
"sc-tracing",
"sp-database",
"wasm-bindgen",