tracing-opentelemetry 0.27.0

OpenTelemetry integration for tracing
Documentation
[[bench]]
harness = false
name = "metrics"
path = "benches/metrics.rs"

[[bench]]
harness = false
name = "trace"
path = "benches/trace.rs"

[dependencies.async-trait]
optional = true
version = "0.1.56"

[dependencies.futures-util]
optional = true
version = "0.3.17"

[dependencies.lazy_static]
optional = true
version = "1.0.2"

[dependencies.once_cell]
version = "1.13.0"

[dependencies.opentelemetry]
default-features = false
features = ["trace"]
version = "0.26"

[dependencies.opentelemetry_sdk]
default-features = false
features = ["trace"]
version = "0.26"

[dependencies.smallvec]
optional = true
version = "1.0"

[dependencies.thiserror]
optional = true
version = "1.0.31"

[dependencies.tracing]
default-features = false
features = ["std"]
version = "0.1.35"

[dependencies.tracing-core]
version = "0.1.28"

[dependencies.tracing-log]
default-features = false
optional = true
version = "0.2.0"

[dependencies.tracing-subscriber]
default-features = false
features = ["registry", "std"]
version = "0.3.0"

[dev-dependencies.async-trait]
version = "0.1.56"

[dev-dependencies.criterion]
default-features = false
features = ["html_reports"]
version = "0.5.1"

[dev-dependencies.futures-util]
default-features = false
version = "0.3.17"

[dev-dependencies.opentelemetry]
features = ["trace", "metrics"]
version = "0.26"

[dev-dependencies.opentelemetry-otlp]
features = ["metrics"]
version = "0.26"

[dev-dependencies.opentelemetry-semantic-conventions]
features = ["semconv_experimental"]
version = "0.26"

[dev-dependencies.opentelemetry-stdout]
features = ["trace", "metrics"]
version = "0.26"

[dev-dependencies.opentelemetry_sdk]
default-features = false
features = ["trace", "rt-tokio"]
version = "0.26"

[dev-dependencies.tokio]
features = ["full"]
version = "1"

[dev-dependencies.tokio-stream]
version = "0.1"

[dev-dependencies.tracing]
default-features = false
features = ["std", "attributes"]
version = "0.1.35"

[dev-dependencies.tracing-error]
version = "0.2.0"

[dev-dependencies.tracing-subscriber]
default-features = false
features = ["registry", "std", "fmt"]
version = "0.3.0"

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "opentelemetry-error"
path = "examples/opentelemetry-error.rs"

[[example]]
name = "opentelemetry-otlp"
path = "examples/opentelemetry-otlp.rs"

[[example]]
name = "opentelemetry-remote-context"
path = "examples/opentelemetry-remote-context.rs"

[features]
default = ["tracing-log", "metrics"]
metrics = ["opentelemetry/metrics", "opentelemetry_sdk/metrics", "smallvec"]
metrics_gauge_unstable = ["opentelemetry/otel_unstable"]

[lib]
bench = false
name = "tracing_opentelemetry"
path = "src/lib.rs"

[package]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["development-tools::debugging", "development-tools::profiling", "asynchronous"]
description = "OpenTelemetry integration for tracing"
edition = "2021"
homepage = "https://github.com/tokio-rs/tracing-opentelemetry"
keywords = ["tracing", "opentelemetry", "jaeger", "zipkin", "async"]
license = "MIT"
name = "tracing-opentelemetry"
readme = "README.md"
repository = "https://github.com/tokio-rs/tracing-opentelemetry"
rust-version = "1.65.0"
version = "0.27.0"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dependencies.js-sys]
version = "0.3.64"

[target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dependencies.web-time]
version = "1.0.0"

[target.'cfg(not(target_os = "windows"))'.dev-dependencies.pprof]
features = ["flamegraph", "criterion"]
version = "0.13.0"

[[test]]
name = "errors"
path = "tests/errors.rs"

[[test]]
name = "filtered"
path = "tests/filtered.rs"

[[test]]
name = "follows_from"
path = "tests/follows_from.rs"

[[test]]
name = "metrics_publishing"
path = "tests/metrics_publishing.rs"

[[test]]
name = "parallel"
path = "tests/parallel.rs"

[[test]]
name = "parents"
path = "tests/parents.rs"

[[test]]
name = "trace_state_propagation"
path = "tests/trace_state_propagation.rs"