2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2025-01-08 18:51:24 +00:00

Update opentelemetry features, remove 0.17

This commit is contained in:
asonix 2023-05-08 11:13:33 -05:00
parent 15d0f3e2ba
commit a12b272a40
2 changed files with 12 additions and 45 deletions

51
Cargo.lock generated
View file

@ -1368,25 +1368,6 @@ version = "1.17.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3" checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3"
[[package]]
name = "opentelemetry"
version = "0.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6105e89802af13fdf48c49d7646d3b533a70e536d818aae7e78ba0433d01acb8"
dependencies = [
"async-trait",
"crossbeam-channel",
"futures-channel",
"futures-executor",
"futures-util",
"js-sys",
"lazy_static",
"percent-encoding",
"pin-project",
"rand",
"thiserror",
]
[[package]] [[package]]
name = "opentelemetry" name = "opentelemetry"
version = "0.18.0" version = "0.18.0"
@ -1407,7 +1388,7 @@ dependencies = [
"futures", "futures",
"futures-util", "futures-util",
"http", "http",
"opentelemetry 0.18.0", "opentelemetry",
"opentelemetry-proto", "opentelemetry-proto",
"prost", "prost",
"thiserror", "thiserror",
@ -1423,7 +1404,7 @@ checksum = "d61a2f56df5574508dd86aaca016c917489e589ece4141df1b5e349af8d66c28"
dependencies = [ dependencies = [
"futures", "futures",
"futures-util", "futures-util",
"opentelemetry 0.18.0", "opentelemetry",
"prost", "prost",
"tonic", "tonic",
"tonic-build", "tonic-build",
@ -1622,7 +1603,7 @@ dependencies = [
"mime", "mime",
"num_cpus", "num_cpus",
"once_cell", "once_cell",
"opentelemetry 0.18.0", "opentelemetry",
"opentelemetry-otlp", "opentelemetry-otlp",
"pin-project-lite", "pin-project-lite",
"reqwest", "reqwest",
@ -1644,7 +1625,7 @@ dependencies = [
"tracing-error", "tracing-error",
"tracing-futures", "tracing-futures",
"tracing-log", "tracing-log",
"tracing-opentelemetry 0.18.0", "tracing-opentelemetry",
"tracing-subscriber", "tracing-subscriber",
"url", "url",
"uuid", "uuid",
@ -2589,10 +2570,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e2def0ffabc0116481e14e82cf705fef814f5178171d445b6790137ff8a85a73" checksum = "e2def0ffabc0116481e14e82cf705fef814f5178171d445b6790137ff8a85a73"
dependencies = [ dependencies = [
"actix-web", "actix-web",
"opentelemetry 0.17.0", "opentelemetry",
"pin-project", "pin-project",
"tracing", "tracing",
"tracing-opentelemetry 0.17.4", "tracing-opentelemetry",
"uuid", "uuid",
] ]
@ -2618,10 +2599,10 @@ dependencies = [
"awc", "awc",
"bytes", "bytes",
"futures-core", "futures-core",
"opentelemetry 0.17.0", "opentelemetry",
"pin-project-lite", "pin-project-lite",
"tracing", "tracing",
"tracing-opentelemetry 0.17.4", "tracing-opentelemetry",
] ]
[[package]] [[package]]
@ -2665,20 +2646,6 @@ dependencies = [
"tracing-core", "tracing-core",
] ]
[[package]]
name = "tracing-opentelemetry"
version = "0.17.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fbbe89715c1dbbb790059e2565353978564924ee85017b5fff365c872ff6721f"
dependencies = [
"once_cell",
"opentelemetry 0.17.0",
"tracing",
"tracing-core",
"tracing-log",
"tracing-subscriber",
]
[[package]] [[package]]
name = "tracing-opentelemetry" name = "tracing-opentelemetry"
version = "0.18.0" version = "0.18.0"
@ -2686,7 +2653,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "21ebb87a95ea13271332df069020513ab70bdb5637ca42d6e492dc3bbbad48de" checksum = "21ebb87a95ea13271332df069020513ab70bdb5637ca42d6e492dc3bbbad48de"
dependencies = [ dependencies = [
"once_cell", "once_cell",
"opentelemetry 0.18.0", "opentelemetry",
"tracing", "tracing",
"tracing-core", "tracing-core",
"tracing-log", "tracing-log",

View file

@ -73,9 +73,9 @@ uuid = { version = "1.1.2", features = ["v4", "serde"] }
[dependencies.tracing-actix-web] [dependencies.tracing-actix-web]
version = "0.7.0" version = "0.7.0"
default-features = false default-features = false
features = ["emit_event_on_error", "opentelemetry_0_17"] features = ["emit_event_on_error", "opentelemetry_0_18"]
[dependencies.tracing-awc] [dependencies.tracing-awc]
version = "0.1.0" version = "0.1.6"
default-features = false default-features = false
features = ["emit_event_on_error", "opentelemetry_0_17"] features = ["emit_event_on_error", "opentelemetry_0_18"]