Creates a new Counter metric instrument.
the name of the counter
Optionaloptions: MetricOptionsoptional configuration for the counter
a Counter instance
OptionalcreateCreates a new Gauge metric instrument.
A gauge is a metric that represents a single numerical value that can arbitrarily go up and down. Gauges are typically used for measured values like queue sizes.
the name of the gauge
Optionaloptions: MetricOptionsoptional configuration for the gauge
a Gauge instance
Creates a new Histogram metric instrument.
the name of the histogram
Optionaloptions: MetricOptionsoptional configuration for the histogram
a Histogram instance
Meter interface
The meter is responsible for creating metric instruments.