Struct opentelemetry_prometheus::ExporterConfig
source · pub struct ExporterConfig { /* private fields */ }
Expand description
Config for prometheus exporter
Implementations§
source§impl ExporterConfig
impl ExporterConfig
sourcepub fn with_scope_info(self, enabled: bool) -> Self
pub fn with_scope_info(self, enabled: bool) -> Self
Set with_scope_info for ExporterConfig
.
It’s the flag to add the otel_scope_info metric and otel_scope_ labels.