Trait aws_smithy_observability::meter::MeterProvider

source ·
pub trait MeterProvider: Send + Sync + Debug {
    // Required methods
    fn get_meter(
        &self,
        scope: &'static str,
        attributes: Option<&Attributes>,
    ) -> Box<dyn Meter>;
    fn as_any(&self) -> &dyn Any;
}
Expand description

Provides named instances of Meter.

Required Methods§

source

fn get_meter( &self, scope: &'static str, attributes: Option<&Attributes>, ) -> Box<dyn Meter>

Get or create a named Meter.

source

fn as_any(&self) -> &dyn Any

Foo

Implementors§