[[test]]
name = "smoke"
path = "tests/smoke.rs"
required-features = ["integration-testing"]
[dependencies.async-trait]
version = "0.1"
[dependencies.futures-core]
version = "0.3"
[dependencies.http]
default-features = false
optional = true
version = "0.2"
[dependencies.opentelemetry]
default-features = false
version = "0.23"
[dependencies.opentelemetry-http]
optional = true
version = "0.12"
[dependencies.opentelemetry-proto]
default-features = false
version = "0.6"
[dependencies.opentelemetry_sdk]
default-features = false
version = "0.23"
[dependencies.prost]
optional = true
version = "0.12"
[dependencies.reqwest]
default-features = false
optional = true
version = "0.11"
[dependencies.serde]
default-features = false
features = ["derive"]
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 = ["sync", "rt"]
optional = true
version = "1"
[dependencies.tonic]
default-features = false
optional = true
version = "0.11"
[dev-dependencies.futures-util]
default-features = false
version = "0.3"
[dev-dependencies.temp-env]
version = "0.3.6"
[dev-dependencies.tokio]
default-features = false
features = ["macros", "rt-multi-thread"]
version = "1"
[dev-dependencies.tokio-stream]
features = ["net"]
version = "0.1.1"
[features]
default = ["grpc-tonic", "trace"]
grpc-tonic = ["tonic", "prost", "http", "tokio", "opentelemetry-proto/gen-tonic"]
gzip-tonic = ["tonic/gzip"]
http-json = ["serde_json", "prost", "opentelemetry-http", "opentelemetry-proto/gen-tonic-messages", "opentelemetry-proto/with-serde", "http", "trace", "metrics"]
http-proto = ["prost", "opentelemetry-http", "opentelemetry-proto/gen-tonic-messages", "http", "trace", "metrics"]
integration-testing = ["tonic", "prost", "tokio/full", "trace"]
logs = ["opentelemetry/logs", "opentelemetry_sdk/logs", "opentelemetry-proto/logs"]
metrics = ["opentelemetry/metrics", "opentelemetry_sdk/metrics", "opentelemetry-proto/metrics"]
reqwest-blocking-client = ["reqwest/blocking", "opentelemetry-http/reqwest"]
reqwest-client = ["reqwest", "opentelemetry-http/reqwest"]
reqwest-rustls = ["reqwest", "opentelemetry-http/reqwest-rustls"]
reqwest-rustls-webkpi-roots = ["reqwest", "opentelemetry-http/reqwest-rustls-webkpi-roots"]
serialize = ["serde", "serde_json"]
tls = ["tonic/tls"]
tls-roots = ["tls", "tonic/tls-roots"]
tls-webkpi-roots = ["tls", "tonic/tls-webpki-roots"]
trace = ["opentelemetry/trace", "opentelemetry_sdk/trace", "opentelemetry-proto/trace"]
[package]
autotests = false
categories = ["development-tools::debugging", "development-tools::profiling", "asynchronous"]
description = "Exporter for the OpenTelemetry Collector"
edition = "2021"
homepage = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-otlp"
keywords = ["opentelemetry", "otlp", "logging", "tracing", "metrics"]
license = "Apache-2.0"
name = "opentelemetry-otlp"
readme = "README.md"
repository = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-otlp"
rust-version = "1.65"
version = "0.16.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]