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 Meters 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 host for the prometheus exporter

Set the port for the prometheus exporter

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.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.