Meter
The Meter class serves as an abstract base class for creating different types of metering instruments such as Counters, UpDownCounters, and Gauges. It extends CollectorRegistry.Collector and provides specialized methods to create these instruments with specified names, units of measurement, and optional descriptions.
Parameters
The name of the meter.
The logging level for the meter.
Inheritors
Constructors
Types
Represents a base instrument used for recording various types of metric data. https://opentelemetry.io/docs/specs/otel/metrics/api/#meter
A bundle of instruments used to time an operation: a call Instrument.Counter, an error Instrument.Counter, and a duration Instrument.Histogram. Obtain one via Meter.timed.
Functions
Creates a new up-down counter instrument with the specified name, unit, and description.