Cargo Features

[dependencies]
opentelemetry-application-insights = { version = "0.36.0", default-features = false, features = ["trace", "metrics", "logs", "live-metrics", "reqwest-blocking-client", "reqwest-blocking-client-rustls", "reqwest-client", "reqwest-client-vendored-tls", "reqwest-client-rustls"] }
default = logs, metrics, trace

These default features are set whenever opentelemetry-application-insights is added without default-features = false somewhere in the dependency tree.

trace default live-metrics?

Enables trace of opentelemetry_sdk

Affects opentelemetry-application-insights::new_pipeline, opentelemetry-application-insights::new_pipeline_from_connection_string, opentelemetry-application-insights::new_pipeline_from_env, opentelemetry-application-insights::PipelineBuilder

metrics default

Enables metrics of opentelemetry_sdk

logs default

Enables logs of opentelemetry_sdk

live-metrics = futures-util, sysinfo, trace
reqwest-blocking-client = reqwest-client

Deprecated features: These don't enable anything in opentelemetry-application-insights. They only enable features in dependency crates.

reqwest-blocking-client-rustls = reqwest-client-rustls
reqwest-client reqwest-blocking-client?

Enables reqwest of opentelemetry-http and native-tls of reqwest

reqwest:

Enables native-tls specific functionality not available by default.

reqwest-client-vendored-tls

Enables reqwest of opentelemetry-http, native-tls-vendored of reqwest

reqwest-client-rustls reqwest-blocking-client-rustls?

Enables reqwest of opentelemetry-http, rustls-tls of reqwest

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.

futures-util live-metrics?
reqwest reqwest-client? reqwest-client-rustls? reqwest-client-vendored-tls?
sysinfo live-metrics?

Enables sysinfo ^0.30