feat(transport): Add tracing support to server (#175)
* feat(transport): Add tracing to server * Add tracing example * Fix duplicate versions of tracing-subscriber
This commit is contained in:
@@ -66,6 +66,14 @@ path = "src/multiplex/client.rs"
|
||||
name = "gcp-client"
|
||||
path = "src/gcp/client.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "tracing-client"
|
||||
path = "src/tracing/client.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "tracing-server"
|
||||
path = "src/tracing/server.rs"
|
||||
|
||||
[dependencies]
|
||||
tonic = { path = "../tonic", features = ["tls"] }
|
||||
bytes = "0.4"
|
||||
@@ -82,6 +90,12 @@ serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
rand = "0.6"
|
||||
|
||||
# Tracing
|
||||
tracing = "0.1"
|
||||
tracing-subscriber = { version = "0.2.0-alpha", features = ["tracing-log"] }
|
||||
tracing-attributes = "0.1"
|
||||
tracing-futures = "0.2"
|
||||
|
||||
# Required for wellknown types
|
||||
prost-types = "0.5"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user