examples: update to tracing 0.1.16, use #[instrument] (#354)
* examples: update to `tracing` 0.1.14, use `#[instrument]` Now that `tracing-attributes`'s `#[instrument]` macro plays nicely with `async-trait`, we can update the tracing example to use `instrument`. This lets us simplify the events emitted in the example. Signed-off-by: Eliza Weisman <[email protected]> * feat(transport): Dynamic load balancing (#341) * Fix typo (#356) Co-authored-by: Dawid Nowak <[email protected]> Co-authored-by: Paulo Duarte <[email protected]>
This commit is contained in:
co-authored by
Dawid Nowak
Paulo Duarte
parent
98bcc339b1
commit
034c850254
+2
-2
@@ -134,7 +134,7 @@ serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
rand = "0.7"
|
||||
# Tracing
|
||||
tracing = "0.1"
|
||||
tracing = "0.1.16"
|
||||
tracing-subscriber = { version = "0.2", features = ["tracing-log"] }
|
||||
tracing-attributes = "0.1"
|
||||
tracing-futures = "0.2"
|
||||
@@ -151,4 +151,4 @@ tonic-health = { path = "../tonic-health" }
|
||||
listenfd = "0.3"
|
||||
|
||||
[build-dependencies]
|
||||
tonic-build = { path = "../tonic-build", features = ["prost"] }
|
||||
tonic-build = { path = "../tonic-build", features = ["prost"] }
|
||||
Reference in New Issue
Block a user