Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TimeSeries

Package version

A collection of data points that describes the time-varying values of a metric.

Hierarchy

  • TimeSeries

Index

Properties

labelValues

labelValues: LabelValue[]

The set of label values that uniquely identify this timeseries. Applies to all points. The order of label values must match that of label keys in the metric descriptor.

points

points: Point[]

The data points of this timeseries. Point.value type MUST match the MetricDescriptor.type.

Optional startTimestamp

startTimestamp: Timestamp

Must be present for cumulative metrics. The time when the cumulative value was reset to zero. Exclusive. The cumulative value is over the time interval (start_timestamp, timestamp]. If not specified, the backend can use the previous recorded value.

Generated using TypeDoc