mirror of
https://github.com/actix/actix-extras.git
synced 2025-02-23 19:03:03 +01:00
* Support otel 0.24 * fix the otel example * Fix examples and last bits * Update examples/custom-root-span/src/main.rs * Update examples/opentelemetry/src/main.rs --------- Co-authored-by: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com>
21 lines
600 B
TOML
21 lines
600 B
TOML
[package]
|
|
name = "otel"
|
|
version = "0.1.0"
|
|
authors = ["Luca Palmieri <rust@lpalmieri.com>"]
|
|
edition = "2021"
|
|
|
|
license = "MIT/Apache-2.0"
|
|
|
|
[dependencies]
|
|
actix-web = "4"
|
|
once_cell = "1.19"
|
|
opentelemetry = "0.24"
|
|
opentelemetry_sdk = { version = "0.24", features = ["rt-tokio-current-thread"] }
|
|
opentelemetry-otlp = "0.17"
|
|
opentelemetry-semantic-conventions = "0.16"
|
|
tracing-opentelemetry = "0.25"
|
|
tracing-subscriber = { version = "0.3", features = ["registry", "env-filter"] }
|
|
tracing-bunyan-formatter = "0.3"
|
|
tracing-actix-web = { path = "../..", features = ["opentelemetry_0_24"] }
|
|
tracing = "0.1.40"
|