Struct opentelemetry_prometheus::ExporterBuilder [−][src]
pub struct ExporterBuilder { /* fields omitted */ }
Expand description
Configuration for the prometheus exporter.
Implementations
Set the resource to be associated with all Meter
s for this exporter
Set the period which a recently-computed result will be returned without gathering metric data again.
If the period is zero, caching of the result is disabled (default).
Set the default summary quantiles to be used by exported prometheus histograms
Set the default boundaries to be used by exported prometheus histograms
Set the prometheus registry to be used by this exporter
Sets up a complete export pipeline with the recommended setup, using the recommended selector and standard processor.
Sets up a complete export pipeline with the recommended setup, using the recommended selector and standard processor.
Panics
This panics if the exporter cannot be registered in the prometheus registry.