Module opentelemetry_api::metrics
source · Expand description
Modules
- No-op OpenTelemetry Metrics Implementation
Structs
- Configuration for building an async instrument.
- An instrument that records increasing values.
- An instrument that records a distribution of values.
- Configuration for building a sync instrument.
- Provides access to instrument instances for recording metrics.
- An async instrument that records increasing values.
- An instrument that records independent readings.
- An async instrument that records increasing or decreasing values.
- Units denote underlying data units tracked by
Meter
s. - An instrument that records increasing or decreasing values.
Enums
- Errors returned by the metrics API.
Traits
- An SDK implemented instrument that records measurements via callback.
- A token representing the unique registration of a callback for a set of instruments with a Meter.
- SDK implemented trait for creating instruments
- Provides access to named Meter instances, for instrumenting an application or crate.
- Records measurements for multiple instruments in a callback.
- An SDK implemented instrument that records increasing values.
- An SDK implemented instrument that records a distribution of values.
- An SDK implemented instrument that records increasing or decreasing values.
Type Aliases
- A function registered with a Meter that makes observations for the instruments it is registered with.
- A specialized
Result
type for metric operations.