Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration MetricType

Enumeration defining the metric types available. These match the types defined in the OpenMetrics specification.

since

6.10

Index

Enumeration members

COUNTER

COUNTER:

Counters measure discrete events. Common examples are the number of HTTP requests received, CPU seconds spent, or bytes sent. Counters are always monotonic, and are typically used to count events.

GAUGE

GAUGE:

Gauges are current measurements, such as bytes of memory currently used or the number of items in a queue.

GAUGE_HISTOGRAM

GAUGE_HISTOGRAM:

GaugeHistograms measure current distributions. Common examples are how long items have been waiting in a queue, or size of the requests in a queue.

HISTOGRAM

HISTOGRAM:

Histograms measure distributions of discrete events. Common examples are the latency of HTTP requests, function runtimes, or I/O request sizes.

INFO

INFO:

Info metrics are used to expose textual information which SHOULD NOT change during process lifetime. Common examples are an application's version, revision control commit, and the version of a compiler.

STATE_SET

STATE_SET:

StateSets represent a series of related boolean values, also called a bitset.

SUMMARY

SUMMARY:

Like Histograms, Summaries measure distributions of discrete events and MAY be used when Histograms are too expensive and/or an average event size is sufficient.

UNKNOWN

UNKNOWN:

An unknown metric type.