[[bench]]
harness = false
name = "context"
[[bench]]
harness = false
name = "key_value_map"
[[bench]]
harness = false
name = "span_builder"
[[bench]]
harness = false
name = "trace"
[[bench]]
harness = false
name = "batch_span_processor"
required-features = ["rt-tokio", "testing"]
[[bench]]
harness = false
name = "metric"
required-features = ["metrics"]
[dependencies.async-std]
features = ["unstable"]
optional = true
version = "1.6"
[dependencies.async-trait]
optional = true
version = "0.1"
[dependencies.crossbeam-channel]
optional = true
version = "0.5"
[dependencies.futures-channel]
version = "0.3"
[dependencies.futures-executor]
version = "0.3"
[dependencies.futures-util]
default-features = false
features = ["std", "sink", "async-await-macro"]
version = "0.3.17"
[dependencies.http]
optional = true
version = "0.2"
[dependencies.once_cell]
version = "1.10"
[dependencies.opentelemetry-http]
optional = true
version = "0.9"
[dependencies.opentelemetry_api]
version = "0.20"
[dependencies.ordered-float]
version = "3.4.0"
[dependencies.percent-encoding]
optional = true
version = "2.0"
[dependencies.rand]
default-features = false
features = ["std", "std_rng"]
optional = true
version = "0.8"
[dependencies.regex]
optional = true
version = "1.0"
[dependencies.serde]
features = ["derive", "rc"]
optional = true
version = "1.0"
[dependencies.serde_json]
optional = true
version = "1"
[dependencies.thiserror]
version = "1"
[dependencies.tokio]
default-features = false
features = ["rt", "time"]
optional = true
version = "1.0"
[dependencies.tokio-stream]
optional = true
version = "0.1"
[dependencies.url]
optional = true
version = "2.2"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5"
[dev-dependencies.indexmap]
version = "1.8"
[dev-dependencies.pprof]
features = ["flamegraph", "criterion"]
version = "0.12"
[features]
default = ["trace"]
jaeger_remote_sampler = ["trace", "opentelemetry-http", "http", "serde", "serde_json", "url"]
logs = ["opentelemetry_api/logs", "crossbeam-channel", "async-trait", "serde_json"]
logs_level_enabled = ["logs", "opentelemetry_api/logs_level_enabled"]
metrics = ["opentelemetry_api/metrics", "regex", "async-trait"]
rt-async-std = ["async-std"]
rt-tokio = ["tokio", "tokio-stream"]
rt-tokio-current-thread = ["tokio", "tokio-stream"]
testing = ["opentelemetry_api/testing", "trace", "metrics", "logs", "rt-async-std", "rt-tokio", "rt-tokio-current-thread", "tokio/macros", "tokio/rt-multi-thread"]
trace = ["opentelemetry_api/trace", "crossbeam-channel", "rand", "async-trait", "percent-encoding"]
[package]
description = "The SDK for the OpenTelemetry metrics collection and distributed tracing framework"
edition = "2021"
homepage = "https://github.com/open-telemetry/opentelemetry-rust"
license = "Apache-2.0"
name = "opentelemetry_sdk"
readme = "README.md"
repository = "https://github.com/open-telemetry/opentelemetry-rust"
resolver = "1"
rust-version = "1.60"
version = "0.20.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]