pub struct MetricExporterBuilder { /* private fields */ }
Available on crate feature
metrics
only.Expand description
Configuration for the stdout metrics exporter
Implementations§
Source§impl MetricExporterBuilder
impl MetricExporterBuilder
Sourcepub fn with_temporality(self, temporality: Temporality) -> Self
pub fn with_temporality(self, temporality: Temporality) -> Self
Set the Temporality of the exporter.
Sourcepub fn build(self) -> MetricExporter
pub fn build(self) -> MetricExporter
Create a metrics exporter with the current configuration
Trait Implementations§
Source§impl Debug for MetricExporterBuilder
impl Debug for MetricExporterBuilder
Source§impl Default for MetricExporterBuilder
impl Default for MetricExporterBuilder
Source§fn default() -> MetricExporterBuilder
fn default() -> MetricExporterBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MetricExporterBuilder
impl RefUnwindSafe for MetricExporterBuilder
impl Send for MetricExporterBuilder
impl Sync for MetricExporterBuilder
impl Unpin for MetricExporterBuilder
impl UnwindSafe for MetricExporterBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more