Skip to content

Commit f96ee11

Browse files
committed
deps: update tracing-subscriber to 0.2.16
This picks up tokio-rs/tracing#1247, tokio-rs/tracing#1248, tokio-rs/tracing#1251, and tokio-rs/tracing#1254. Collectively, these changes should result in a significant performance improvement when using `tracing-log`'s compatibility layer for converting legacy `log` records to `tracing` events. Since we have some dependencies which use the `log` crate, this should hopefully reduce the overhead of those dependencies' logging. I'm not sure how much `log` we have in the hot path by this point, but it's probably a good idea to pick up the change regardless. Signed-off-by: Eliza Weisman <eliza@buoyant.io>
1 parent a206018 commit f96ee11

File tree

8 files changed

+12
-23
lines changed

8 files changed

+12
-23
lines changed

Cargo.lock

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ dependencies = [
125125
"libc",
126126
"num-integer",
127127
"num-traits",
128-
"time",
129128
"winapi",
130129
]
131130

@@ -2075,16 +2074,6 @@ dependencies = [
20752074
"once_cell",
20762075
]
20772076

2078-
[[package]]
2079-
name = "time"
2080-
version = "0.1.43"
2081-
source = "registry+https://github.com/rust-lang/crates.io-index"
2082-
checksum = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438"
2083-
dependencies = [
2084-
"libc",
2085-
"winapi",
2086-
]
2087-
20882077
[[package]]
20892078
name = "tinyvec"
20902079
version = "1.1.1"
@@ -2320,9 +2309,9 @@ dependencies = [
23202309

23212310
[[package]]
23222311
name = "tracing-log"
2323-
version = "0.1.1"
2312+
version = "0.1.2"
23242313
source = "registry+https://github.com/rust-lang/crates.io-index"
2325-
checksum = "5e0f8c7178e13481ff6765bd169b33e8d554c5d2bbede5e32c356194be02b9b9"
2314+
checksum = "a6923477a48e41c1951f1999ef8bb5a3023eb723ceadafe78ffb65dc366761e3"
23262315
dependencies = [
23272316
"lazy_static",
23282317
"log",
@@ -2341,9 +2330,9 @@ dependencies = [
23412330

23422331
[[package]]
23432332
name = "tracing-subscriber"
2344-
version = "0.2.15"
2333+
version = "0.2.16"
23452334
source = "registry+https://github.com/rust-lang/crates.io-index"
2346-
checksum = "a1fa8f0c8f4c594e4fc9debc1990deab13238077271ba84dd853d54902ee3401"
2335+
checksum = "8ab8966ac3ca27126141f7999361cc97dd6fb4b71da04c02044fa9045d98bb96"
23472336
dependencies = [
23482337
"ansi_term",
23492338
"chrono",

linkerd/app/inbound/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ linkerd-app-test = { path = "../test" }
3333
linkerd-io = { path = "../../io", features = ["tokio-test"] }
3434
tokio = { version = "1", features = ["full", "macros"]}
3535
tokio-test = "0.4"
36-
tracing-subscriber = "0.2"
36+
tracing-subscriber = "0.2.16"

linkerd/app/outbound/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ linkerd-app-test = { path = "../test" }
4242
linkerd-io = { path = "../../io", features = ["tokio-test"] }
4343
tokio = { version = "1", features = ["full", "macros"]}
4444
tokio-test = "0.4"
45-
tracing-subscriber = "0.2"
45+
tracing-subscriber = "0.2.16"

linkerd/app/test/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ tokio = { version = "1", features = ["io-util", "net", "rt", "sync"]}
3131
tokio-test = "0.4"
3232
tower = { version = "0.4.5", default-features = false}
3333
tracing = "0.1.23"
34-
tracing-subscriber = "0.2.11"
34+
tracing-subscriber = "0.2.16"
3535

3636
[dev-dependencies.tracing-subscriber]
37-
version = "0.2.14"
37+
version = "0.2.16"
3838
# turn on ANSI colors for tests :)
3939
default-features = false
4040
features = ["env-filter", "fmt", "smallvec", "ansi", "tracing-log", "json", "parking_lot"]

linkerd/cache/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ tracing = "0.1.23"
1717

1818
[dev-dependencies]
1919
tokio = { version = "1", default-features = false, features = ["macros", "test-util", "time"] }
20-
tracing-subscriber = "0.2"
20+
tracing-subscriber = "0.2.16"

linkerd/proxy/http/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ pin-project = "1"
4141

4242
[dev-dependencies]
4343
tokio-test = "0.4"
44-
tracing-subscriber = "0.2"
44+
tracing-subscriber = "0.2.16"

linkerd/stack/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ tracing = "0.1"
2121
[dev-dependencies]
2222
tower-test = "0.4"
2323
tokio-test = "0.4"
24-
tracing-subscriber = "0.2.14"
24+
tracing-subscriber = "0.2.16"
2525
tokio = { version = "1", features = ["rt-multi-thread", "time", "macros"] }

linkerd/tls/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ linkerd-identity = { path = "../identity", features = ["test-util"] }
2929
linkerd-proxy-transport = { path = "../proxy/transport" }
3030
tokio = { version = "1", features = ["rt-multi-thread"] }
3131
tower = { version = "0.4.5", default-features = false, features = ["util"] }
32-
tracing-subscriber = "0.2.14"
32+
tracing-subscriber = "0.2.16"

0 commit comments

Comments
 (0)