MetricType enum

Defines the different metric type supported by Prometheus.

Inheritance

Constructors

MetricType()
const

Values

counter → const MetricType

MetricType.counter is a monotonically increasing counter.

gauge → const MetricType

MetricType.gauge represents a value that can go up and down.

summary → const MetricType

A MetricType.summary samples observations over sliding windows of time and provides instantaneous insight into their distributions, frequencies, and sums.

histogram → const MetricType

MetricType.histograms allow aggregatable distributions of events, such as request latencies.

untyped → const MetricType

MetricType.untyped can be used for metrics that don't fit the other types.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<MetricType>
A constant List of the values in this enum, in order of their declaration.