Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration MetricDescriptorType

Package version

The kind of metric. It describes how the data is reported.

A gauge is an instantaneous measurement of a value.

A cumulative measurement is a value accumulated over a time interval. In a time series, cumulative measurements should have the same start time, increasing values and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points.

Index

Enumeration members

CUMULATIVE_DISTRIBUTION

CUMULATIVE_DISTRIBUTION: = 6

Distribution cumulative measurement. The count and sum cannot decrease, if resets then the start_time should also be reset.

CUMULATIVE_DOUBLE

CUMULATIVE_DOUBLE: = 5

Floating point cumulative measurement. The value cannot decrease, if resets then the start_time should also be reset. Recorded values are always >= 0.

CUMULATIVE_INT64

CUMULATIVE_INT64: = 4

Integer cumulative measurement. The value cannot decrease, if resets then the start_time should also be reset.

GAUGE_DISTRIBUTION

GAUGE_DISTRIBUTION: = 3

Distribution gauge measurement. The count and sum can go both up and down. Recorded values are always >= 0. Used in scenarios like a snapshot of time the current items in a queue have spent there.

GAUGE_DOUBLE

GAUGE_DOUBLE: = 2

Floating point gauge. The value can go both up and down.

GAUGE_INT64

GAUGE_INT64: = 1

Integer gauge. The value can go both up and down.

SUMMARY

SUMMARY: = 7

Some frameworks implemented Histograms as a summary of observations (usually things like request durations and response sizes). While it also provides a total count of observations and a sum of all observed values, it calculates configurable percentiles over a sliding time window. This is not recommended, since it cannot be aggregated.

UNSPECIFIED

UNSPECIFIED: = 0

Do not use this default value.

Generated using TypeDoc