1
0
mirror of https://github.com/actix/examples synced 2024-11-30 17:14:35 +01:00

use opentelemetry_0_23

This commit is contained in:
Rob Ede 2024-06-10 19:03:36 +01:00
parent 1e81c0f0ef
commit d9c600379f
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
2 changed files with 16 additions and 24 deletions

30
Cargo.lock generated
View File

@ -5566,9 +5566,9 @@ dependencies = [
[[package]] [[package]]
name = "opentelemetry" name = "opentelemetry"
version = "0.22.0" version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "900d57987be3f2aeb70d385fff9b27fb74c5723cc9a52d904d4f9c807a0667bf" checksum = "1b69a91d4893e713e06f724597ad630f1fa76057a5e1026c0ca67054a9032a76"
dependencies = [ dependencies = [
"futures-core", "futures-core",
"futures-sink", "futures-sink",
@ -5576,21 +5576,19 @@ dependencies = [
"once_cell", "once_cell",
"pin-project-lite 0.2.13", "pin-project-lite 0.2.13",
"thiserror", "thiserror",
"urlencoding",
] ]
[[package]] [[package]]
name = "opentelemetry-otlp" name = "opentelemetry-otlp"
version = "0.15.0" version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1a016b8d9495c639af2145ac22387dcb88e44118e45320d9238fbf4e7889abcb" checksum = "a94c69209c05319cdf7460c6d4c055ed102be242a0a6245835d7bc42c6ec7f54"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"futures-core", "futures-core",
"http 0.2.9", "http 0.2.9",
"opentelemetry", "opentelemetry",
"opentelemetry-proto", "opentelemetry-proto",
"opentelemetry-semantic-conventions",
"opentelemetry_sdk", "opentelemetry_sdk",
"prost", "prost",
"thiserror", "thiserror",
@ -5600,9 +5598,9 @@ dependencies = [
[[package]] [[package]]
name = "opentelemetry-proto" name = "opentelemetry-proto"
version = "0.5.0" version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3a8fddc9b68f5b80dae9d6f510b88e02396f006ad48cac349411fbecc80caae4" checksum = "984806e6cf27f2b49282e2a05e288f30594f3dbc74eb7a6e99422bc48ed78162"
dependencies = [ dependencies = [
"opentelemetry", "opentelemetry",
"opentelemetry_sdk", "opentelemetry_sdk",
@ -5610,24 +5608,18 @@ dependencies = [
"tonic", "tonic",
] ]
[[package]]
name = "opentelemetry-semantic-conventions"
version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f9ab5bd6c42fb9349dcf28af2ba9a0667f697f9bdcca045d39f2cec5543e2910"
[[package]] [[package]]
name = "opentelemetry_sdk" name = "opentelemetry_sdk"
version = "0.22.1" version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9e90c7113be649e31e9a0f8b5ee24ed7a16923b322c3c5ab6367469c049d6b7e" checksum = "ae312d58eaa90a82d2e627fd86e075cf5230b3f11794e2ed74199ebbe572d4fd"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"crossbeam-channel",
"futures-channel", "futures-channel",
"futures-executor", "futures-executor",
"futures-util", "futures-util",
"glob", "glob",
"lazy_static",
"once_cell", "once_cell",
"opentelemetry", "opentelemetry",
"ordered-float", "ordered-float",
@ -8769,9 +8761,9 @@ dependencies = [
[[package]] [[package]]
name = "tracing-opentelemetry" name = "tracing-opentelemetry"
version = "0.23.0" version = "0.24.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a9be14ba1bbe4ab79e9229f7f89fab8d120b865859f10527f31c033e599d2284" checksum = "f68803492bf28ab40aeccaecc7021096bd256baf7ca77c3d425d89b35a7be4e4"
dependencies = [ dependencies = [
"js-sys", "js-sys",
"once_cell", "once_cell",

View File

@ -11,12 +11,12 @@ actix-web-lab.workspace = true
dotenvy.workspace = true dotenvy.workspace = true
metrics = "0.23" metrics = "0.23"
metrics-exporter-prometheus = { version = "0.15", default-features = false } metrics-exporter-prometheus = { version = "0.15", default-features = false }
opentelemetry = "0.22" opentelemetry = "0.23"
opentelemetry_sdk = { version = "0.22", features = ["rt-tokio-current-thread"] } opentelemetry_sdk = { version = "0.23", features = ["rt-tokio-current-thread"] }
opentelemetry-otlp = { version = "0.15", features = ["tls-roots"] } opentelemetry-otlp = { version = "0.16", features = ["tls-roots"] }
tonic = "0.11" tonic = "0.11"
tracing-actix-web = { version = "0.7", features = ["opentelemetry_0_22", "uuid_v7"] } tracing-actix-web = { version = "0.7.11", features = ["opentelemetry_0_23", "uuid_v7"] }
tracing-opentelemetry = "0.23" tracing-opentelemetry = "0.24"
tracing-subscriber.workspace = true tracing-subscriber.workspace = true
tracing-bunyan-formatter = "0.3" tracing-bunyan-formatter = "0.3"
tracing.workspace = true tracing.workspace = true