opentelemetry_sdk 0.26.0

The SDK for the OpenTelemetry metrics collection and distributed tracing framework
Documentation
[[bench]]
harness = false
name = "batch_span_processor"
path = "benches/batch_span_processor.rs"
required-features = ["rt-tokio", "testing"]

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

[[bench]]
harness = false
name = "log"
path = "benches/log.rs"
required-features = ["logs"]

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

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

[[bench]]
harness = false
name = "metric"
path = "benches/metric.rs"
required-features = ["metrics"]

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

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

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

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

[[bench]]
harness = false
name = "trace"
path = "benches/trace.rs"
required-features = ["testing"]

[dependencies.async-std]
features = ["unstable"]
optional = true
version = "1.13"

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

[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"

[dependencies.glob]
optional = true
version = "0.3.1"

[dependencies.http]
default-features = false
features = ["std"]
optional = true
version = "1.1"

[dependencies.once_cell]
version = "1.13"

[dependencies.opentelemetry]
version = "0.26"

[dependencies.opentelemetry-http]
optional = true
version = "0.26"

[dependencies.percent-encoding]
optional = true
version = "2.0"

[dependencies.rand]
default-features = false
features = ["std", "std_rng", "small_rng"]
optional = true
version = "0.8"

[dependencies.serde]
default-features = false
features = ["derive", "rc"]
optional = true
version = "1.0"

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

[dependencies.thiserror]
default-features = false
version = "1"

[dependencies.tokio]
default-features = false
features = ["rt", "time"]
optional = true
version = "1"

[dependencies.tokio-stream]
optional = true
version = "0.1.1"

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

[dependencies.url]
default-features = false
optional = true
version = "2.5"

[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5"

[dev-dependencies.temp-env]
version = "0.3.6"

[features]
default = ["trace", "metrics", "logs"]
experimental-internal-logs = ["tracing"]
jaeger_remote_sampler = ["trace", "opentelemetry-http", "http", "serde", "serde_json", "url"]
logs = ["opentelemetry/logs", "async-trait", "serde_json"]
logs_level_enabled = ["logs", "opentelemetry/logs_level_enabled"]
metrics = ["opentelemetry/metrics", "glob", "async-trait"]
rt-async-std = ["async-std"]
rt-tokio = ["tokio", "tokio-stream"]
rt-tokio-current-thread = ["tokio", "tokio-stream"]
testing = ["opentelemetry/testing", "trace", "metrics", "logs", "rt-async-std", "rt-tokio", "rt-tokio-current-thread", "tokio/macros", "tokio/rt-multi-thread"]
trace = ["opentelemetry/trace", "rand", "async-trait", "percent-encoding"]

[lib]
name = "opentelemetry_sdk"
path = "src/lib.rs"

[package]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
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"
rust-version = "1.65"
version = "0.26.0"

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

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