MetricType : string
Defines the type of metric instrument.
Each type has different semantics for how values are recorded and aggregated over time.
Cases
- COUNTER = 'counter'
- Monotonically increasing counter.
- GAUGE = 'gauge'
- Point-in-time gauge measurement.
- HISTOGRAM = 'histogram'
- Distribution of values (histogram).
- UP_DOWN_COUNTER = 'up_down_counter'
- Counter that can increase or decrease.
Cases
COUNTER
Monotonically increasing counter.
Values can only increase (or stay the same).
GAUGE
Point-in-time gauge measurement.
Captures current value at a moment in time.
HISTOGRAM
Distribution of values (histogram).
Tracks statistical distribution of measurements.
UP_DOWN_COUNTER
Counter that can increase or decrease.
Values can go up or down.