Skip to content

Commit

Permalink
trace: roll tracing and tracing-subscriber dependencies (#615)
Browse files Browse the repository at this point in the history
This picks up upstream changes tokio-rs/tracing#853,
tokio-rs/tracing#868, and tokio-rs/tracing#869 which improve performance
in some use cases. The overhead removed by these changes may already be
amortized enough in the proxy that it's not a problem, but it seems
worth picking up regardless.


Signed-off-by: Eliza Weisman <eliza@buoyant.io>
  • Loading branch information
hawkw authored Aug 4, 2020
1 parent d5fe0e6 commit 342ab79
Show file tree
Hide file tree
Showing 30 changed files with 37 additions and 37 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2730,9 +2730,9 @@ dependencies = [

[[package]]
name = "tracing"
version = "0.1.16"
version = "0.1.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c2e2a2de6b0d5cbb13fc21193a2296888eaab62b6044479aafb3c54c01c29fcd"
checksum = "f0aae59226cf195d8e74d4b34beae1859257efb4e5fed3f147d2dc2c7d372178"
dependencies = [
"cfg-if",
"log",
Expand All @@ -2753,9 +2753,9 @@ dependencies = [

[[package]]
name = "tracing-core"
version = "0.1.11"
version = "0.1.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "94ae75f0d28ae10786f3b1895c55fe72e79928fd5ccdebb5438c75e93fec178f"
checksum = "b2734b5a028fa697686f16c6d18c2c6a3c7e41513f9a213abb6754c4acb3c8d7"
dependencies = [
"lazy_static",
]
Expand Down Expand Up @@ -2793,9 +2793,9 @@ dependencies = [

[[package]]
name = "tracing-subscriber"
version = "0.2.8"
version = "0.2.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cafe899b943f5433c6cab468d75a17ea92948fe9fe60b00f41e13d5e0d4fd054"
checksum = "f7b33f8b2ef2ab0c3778c12646d9c42a24f7772bee4cdafc72199644a9f58fdc"
dependencies = [
"ansi_term",
"chrono",
Expand Down
2 changes: 1 addition & 1 deletion linkerd/admit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ publish = false
futures = "0.3"
linkerd2-error = { path = "../error" }
tower = { version = "0.3", default-features = false, features = ["util"] }
tracing = "0.1"
tracing = "0.1.18"
2 changes: 1 addition & 1 deletion linkerd/app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ regex = "1.0.0"
tokio = { version = "0.2", features = ["rt-util"] }
tonic = { version = "0.2", default-features = false, features = ["prost"] }
tower = "0.3"
tracing = "0.1.9"
tracing = "0.1.18"
tracing-futures = { version = "0.2", features = ["std-future"]}
html-escape = "0.2.5"

Expand Down
2 changes: 1 addition & 1 deletion linkerd/app/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ tokio = { version = "0.2.22", features = ["macros", "sync", "parking_lot"]}
tokio-timer = "0.2"
tower-request-modifier = { git = "https://github.com/tower-rs/tower-http" }
tonic = { version = "0.2", default-features = false, features = ["prost"] }
tracing = "0.1.9"
tracing = "0.1.18"
tracing-futures = { version = "0.2", features = ["std-future"] }
tracing-log = "0.1"
pin-project = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion linkerd/app/gateway/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ linkerd2-app-core = { path = "../core" }
linkerd2-app-inbound = { path = "../inbound" }
linkerd2-app-outbound = { path = "../outbound" }
tower = { version = "0.3", default-features = false }
tracing = "0.1"
tracing = "0.1.18"

[dev-dependencies]
tokio = { version = "0.2", features = ["rt-core", "macros"] }
Expand Down
2 changes: 1 addition & 1 deletion linkerd/app/inbound/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ futures = { version = "0.3" }
indexmap = "1.0"
linkerd2-app-core = { path = "../core" }
tokio = { version = "0.2", features = ["sync"] }
tracing = "0.1.9"
tracing = "0.1.18"

[dependencies.tower]
version = "0.3"
Expand Down
4 changes: 2 additions & 2 deletions linkerd/app/integration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ tokio = { version = "0.2", features = ["io-util", "net", "rt-core"]}
tokio-rustls = "0.13"
tower = { version = "0.3", default-features = false}
tonic = { version = "0.2", default-features = false }
tracing = "0.1.9"
tracing = "0.1.18"
tracing-futures = { version = "0.2", features = ["std-future"] }
webpki = "0.21.0"

[dependencies.tracing-subscriber]
version = "0.2.8"
version = "0.2.10"
# we don't need `chrono` time formatting or ANSI colored output
default-features = false
features = ["env-filter", "fmt", "smallvec", "tracing-log", "json", "parking_lot"]
Expand Down
2 changes: 1 addition & 1 deletion linkerd/app/outbound/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ linkerd2-app-core = { path = "../core" }
linkerd2-identity = { path = "../../identity" }
linkerd2-retry = { path = "../../retry" }
tokio = { version = "0.2", features = ["sync"]}
tracing = "0.1.9"
tracing = "0.1.18"
pin-project = "0.4"

[dependencies.tower]
Expand Down
2 changes: 1 addition & 1 deletion linkerd/buffer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ futures = "0.3"
linkerd2-error = { path = "../error" }
tokio = { version = "0.2", features = ["sync", "stream", "time", "macros"] }
tower = { version = "0.3", default_features = false, features = ["util"] }
tracing = "0.1"
tracing = "0.1.18"
tracing-futures = { version = "0.2", features = ["std-future"] }
pin-project = "0.4"

Expand Down
2 changes: 1 addition & 1 deletion linkerd/cache/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ linkerd2-error = { path = "../error" }
linkerd2-stack = { path = "../stack" }
tokio = "0.2"
tower = { version = "0.3", default-features = false, features = ["util"] }
tracing = "0.1"
tracing = "0.1.18"
2 changes: 1 addition & 1 deletion linkerd/concurrency-limit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ publish = false
futures = "0.3"
tokio = { version = "0.2.21", features = ["sync"] }
tower = { version = "0.3", default-features = false }
tracing = "0.1"
tracing = "0.1.18"
pin-project = "0.4"
2 changes: 1 addition & 1 deletion linkerd/dns/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ futures = "0.3"
linkerd2-dns-name = { path = "./name" }
linkerd2-stack = { path = "../stack" }
tower = "0.3"
tracing = "0.1"
tracing = "0.1.18"
tracing-futures = "0.2"
tokio = { version = "0.2", features = ["rt-core", "sync"] }
pin-project = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion linkerd/duplex/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ bytes = "0.5"
futures = "0.3"
tokio = { version = "0.2", features = ["io-util"] }
pin-project = "0.4"
tracing = "0.1"
tracing = "0.1.18"
2 changes: 1 addition & 1 deletion linkerd/http-metrics/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ linkerd2-error = { path = "../error" }
linkerd2-http-classify = { path = "../http-classify" }
linkerd2-metrics = { path = "../metrics" }
linkerd2-stack = { path = "../stack" }
tracing = "0.1.9"
tracing = "0.1.18"
pin-project = "0.4"

[dependencies.tower]
Expand Down
2 changes: 1 addition & 1 deletion linkerd/opencensus/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ linkerd2-stack = { path = "../stack" }
opencensus-proto = { path = "../../opencensus-proto" }
tokio = "0.2"
tonic = { version = "0.2", default-features = false, features = ["prost", "codegen"] }
tracing = "0.1"
tracing = "0.1.18"
pin-project = "0.4"
http = "0.2"
http-body = "0.3"
Expand Down
2 changes: 1 addition & 1 deletion linkerd/proxy/api-resolve/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ http-body = "0.3"
tonic = { version = "0.2", default-features = false }
indexmap = "1.0"
tower = { version = "0.3", default-features = false }
tracing = "0.1"
tracing = "0.1.18"
pin-project = "0.4"
2 changes: 1 addition & 1 deletion linkerd/proxy/discover/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ linkerd2-error = { path = "../../error" }
linkerd2-proxy-core = { path = "../core" }
indexmap = "1.0"
tokio = { version = "0.2", features = ["sync", "time", "stream"] }
tracing = "0.1"
tracing = "0.1.18"
tracing-futures = { version = "0.2", features = ["std-future"] }
pin-project = "0.4"

Expand Down
2 changes: 1 addition & 1 deletion linkerd/proxy/http/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ linkerd2-timeout = { path = "../../timeout" }
rand = "0.7"
tokio = { version = "0.2", features = ["time", "rt-core"] }
tower = { version = "0.3", default-features = false, features = ["balance", "load", "discover"] }
tracing = "0.1.9"
tracing = "0.1.18"
tracing-futures = { version = "0.2", features = ["std-future"] }
try-lock = "0.2"
pin-project = "0.4"
2 changes: 1 addition & 1 deletion linkerd/proxy/identity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ linkerd2-proxy-api = { git = "https://github.com/linkerd/linkerd2-proxy-api", ta
linkerd2-proxy-transport = { path = "../transport" }
tokio = { version = "0.2", features = ["time", "sync"] }
tonic = { version = "0.2", default-features = false }
tracing = "0.1.9"
tracing = "0.1.18"
http-body = "0.3"
pin-project = "0.4"
2 changes: 1 addition & 1 deletion linkerd/proxy/resolve/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ linkerd2-error = { path = "../../error" }
linkerd2-proxy-core = { path = "../core" }
indexmap = "1.0"
tokio = "0.2"
tracing = "0.1"
tracing = "0.1.18"
pin-project = "0.4"

[dependencies.tower]
Expand Down
2 changes: 1 addition & 1 deletion linkerd/proxy/tap/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ rand = { version = "0.7", features = ["small_rng"] }
tokio = { version = "0.2", features = ["time"]}
tower = {version = "0.3", default-features = false }
tonic = { version = "0.2", default-features = false }
tracing = "0.1.9"
tracing = "0.1.18"
tracing-futures = "0.2"
pin-project = "0.4"

Expand Down
4 changes: 2 additions & 2 deletions linkerd/proxy/transport/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ ring = "0.16"
rustls = "0.17"
tokio = { version = "0.2", features = ["net", "io-util"]}
tokio-rustls = "0.13"
tracing = "0.1.9"
tracing = "0.1.18"
webpki = "0.21"
untrusted = "0.7"
pin-project = "0.4"
Expand All @@ -52,6 +52,6 @@ libc = "0.2"

[dev-dependencies]
linkerd2-identity = { path = "../../identity", features = ["test-util"] }
tracing-subscriber = "0.2.1"
tracing-subscriber = "0.2.10"
tower = { version = "0.3", default-features = false, features = ["util"] }
tracing-futures = { version = "0.2", features = ["std-future"] }
2 changes: 1 addition & 1 deletion linkerd/reconnect/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ publish = false
linkerd2-error = { path = "../error" }
futures = "0.3"
tower = { version = "0.3", default-features = false }
tracing = "0.1"
tracing = "0.1.18"
pin-project = "0.4"
2 changes: 1 addition & 1 deletion linkerd/request-filter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ publish = false
[dependencies]
futures = "0.3"
tower = { version = "0.3", default-features = false }
tracing = "0.1"
tracing = "0.1.18"
linkerd2-error = { path = "../error" }
pin-project = "0.4"
2 changes: 1 addition & 1 deletion linkerd/retry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ publish = false
linkerd2-error = { path = "../error" }
linkerd2-stack = { path = "../stack" }
tower = { version = "0.3", default-features = false, features = ["retry", "util"] }
tracing = "0.1.9"
tracing = "0.1.18"
pin-project = "0.4"
2 changes: 1 addition & 1 deletion linkerd/service-profiles/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ rand = { version = "0.7", features = ["small_rng"] }
regex = "1.0.0"
tokio = { version = "0.2", features = ["macros", "sync", "time"] }
tonic = { version = "0.2", default-features = false }
tracing = "0.1.9"
tracing = "0.1.18"
tracing-futures = { version = "0.2", features = ["std-future"] }
pin-project = "0.4"

Expand Down
2 changes: 1 addition & 1 deletion linkerd/signal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ publish = false

[dependencies]
tokio = { version = "0.2", features = ["macros", "signal"] }
tracing = "0.1"
tracing = "0.1.18"
2 changes: 1 addition & 1 deletion linkerd/stack/tracing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ publish = false
futures = "0.3"
linkerd2-error = { path = "../../error" }
linkerd2-stack = { path = ".." }
tracing = "0.1"
tracing = "0.1.18"
tracing-futures = { version = "0.2", features = ["std-future"] }
pin-project = "0.4"

Expand Down
2 changes: 1 addition & 1 deletion linkerd/timeout/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ futures = { version = "0.3", features = ["compat"] }
linkerd2-error = { path = "../error" }
linkerd2-stack = { path = "../stack" }
tokio-connect = { git = "https://github.com/carllerche/tokio-connect" }
tracing = "0.1"
tracing = "0.1.18"
pin-project = "0.4"
tokio = { version = "0.2", features = ["time"] }

Expand Down
2 changes: 1 addition & 1 deletion linkerd2-proxy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ num_cpus = { version = "1", optional = true }
linkerd2-app = { path = "../linkerd/app" }
linkerd2-signal = { path = "../linkerd/signal" }
tokio = { version = "0.2", features = ["rt-core", "time", "io-driver"] }
tracing = "0.1"
tracing = "0.1.18"

0 comments on commit 342ab79

Please sign in to comment.