Struct opentelemetry::metrics::noop::NoopMeterCore [−][src]
pub struct NoopMeterCore { /* fields omitted */ }
This is supported on crate feature
metrics
only.Expand description
A no-op instance of a Meter
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Create a new synchronous instrument implementation.
fn new_async_instrument(
&self,
_descriptor: Descriptor,
_runner: Option<AsyncRunner>
) -> Result<Arc<dyn AsyncInstrumentCore>>
fn new_async_instrument(
&self,
_descriptor: Descriptor,
_runner: Option<AsyncRunner>
) -> Result<Arc<dyn AsyncInstrumentCore>>
Create a new asynchronous instrument implementation. Read more
fn record_batch_with_context(
&self,
_cx: &Context,
_attributes: &[KeyValue],
_measurements: Vec<Measurement>
)
fn record_batch_with_context(
&self,
_cx: &Context,
_attributes: &[KeyValue],
_measurements: Vec<Measurement>
)
Atomically record a batch of measurements.
Register a batch observer