Cargo Features
otlp-exporter has no features set by default.
[dependencies]
otlp-exporter = { version = "0.1.0", features = ["traces", "metrics", "logs", "tls", "grpc", "grpcio", "grpcio-tls", "grpcio-tls-vendored", "tonic", "tonic-tls", "http", "http-native-tls", "http-native-tls-vendored", "http-rustls-tls", "http-rustls-tls-webpki-roots", "http-rustls-tls-native-roots", "http-json", "http-json-native-tls", "http-json-native-tls-vendored", "http-json-rustls-tls", "http-json-rustls-tls-webpki-roots", "http-json-rustls-tls-native-roots"] }
- traces
-
Enables traces of opentelemetry-proto ^0.3.0, trace of opentelemetry_api and opentelemetry_sdk ^0.20.0
Affects
exporter::trace
,pipeline::trace
… - metrics
-
Enables metrics of opentelemetry-proto ^0.3.0, opentelemetry_api, and opentelemetry_sdk ^0.20.0
Affects
exporter::metric
,pipeline::metric
… - logs
-
Enables logs of opentelemetry-proto ^0.3.0
Affects
exporter::log
,pipeline::log
… - tls grpcio-tls? grpcio-tls-vendored? http-json-native-tls? http-json-native-tls-vendored? http-json-rustls-tls? http-json-rustls-tls-native-roots? http-json-rustls-tls-webpki-roots? http-native-tls? http-native-tls-vendored? http-rustls-tls? http-rustls-tls-native-roots? http-rustls-tls-webpki-roots? tonic-tls?
- grpc grpcio? tonic?
-
Affects
config::DEFAULT_GRPC_ENDPOINT
… - grpcio grpcio-tls? grpcio-tls-vendored? = grpc, protobuf
-
Enables grpcio ^0.12.1, gen-protoc of opentelemetry-proto ^0.3.0
- grpcio-tls = grpcio, tls
-
Enables openssl of grpcio ^0.12.1
- grpcio-tls-vendored = grpcio, tls
-
Enables openssl-vendored of grpcio ^0.12.1
- tonic tonic-tls? = grpc
-
Enables tonic ^0.9.2 and gen-tonic of opentelemetry-proto ^0.3.0
opentelemetry-proto:
crates used to generate rs files
- tonic-tls = tls
-
Enables tls of tonic ^0.9.2
- http http-json? http-native-tls? http-native-tls-vendored? http-rustls-tls? http-rustls-tls-native-roots? http-rustls-tls-webpki-roots? = prost, reqwest
-
Enables gen-tonic of opentelemetry-proto ^0.3.0
Affects
config::DEFAULT_HTTP_ENDPOINT
… - http-native-tls = http, tls
-
Enables native-tls of reqwest ^0.11.18
reqwest:
Enables native-tls specific functionality not available by default.
- http-native-tls-vendored = http, tls
-
Enables native-tls-vendored of reqwest ^0.11.18
- http-rustls-tls = http, tls
-
Enables rustls-tls of reqwest ^0.11.18
- http-rustls-tls-webpki-roots = http, tls
-
Enables rustls-tls-webpki-roots of reqwest ^0.11.18
- http-rustls-tls-native-roots = http, tls
-
Enables rustls-tls-native-roots of reqwest ^0.11.18
- http-json http-json-native-tls? http-json-native-tls-vendored? http-json-rustls-tls? http-json-rustls-tls-native-roots? http-json-rustls-tls-webpki-roots? = http
- http-json-native-tls = http-json, tls
-
Enables native-tls of reqwest ^0.11.18
- http-json-native-tls-vendored = http-json, tls
-
Enables native-tls-vendored of reqwest ^0.11.18
- http-json-rustls-tls = http-json, tls
-
Enables rustls-tls of reqwest ^0.11.18
- http-json-rustls-tls-webpki-roots = http-json, tls
-
Enables rustls-tls-webpki-roots of reqwest ^0.11.18
- http-json-rustls-tls-native-roots = http-json, tls
-
Enables rustls-tls-native-roots of reqwest ^0.11.18
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- prost http?
-
Enables prost ^0.11.9
- protobuf grpcio?
-
Enables protobuf ^2.28.0
- reqwest http? http-json-native-tls? http-json-native-tls-vendored? http-json-rustls-tls? http-json-rustls-tls-native-roots? http-json-rustls-tls-webpki-roots? http-native-tls? http-native-tls-vendored? http-rustls-tls? http-rustls-tls-native-roots? http-rustls-tls-webpki-roots?
-
Enables reqwest ^0.11.18