metricKind property

String? metricKind
getter/setter pair

The metric kind of the time series.

When listing time series, this metric kind might be different from the metric kind of the associated metric if this time series is an alignment or reduction of other time series.When creating a time series, this field is optional. If present, it must be the same as the metric kind of the associated metric. If the associated metric's descriptor must be auto-created, then this field specifies the metric kind of the new descriptor and must be either GAUGE (the default) or CUMULATIVE. Possible string values are:

  • "METRIC_KIND_UNSPECIFIED" : Do not use this default value.
  • "GAUGE" : An instantaneous measurement of a value.
  • "DELTA" : The change in a value during a time interval.
  • "CUMULATIVE" : A value accumulated over a time interval. Cumulative measurements in a time series should have the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points.

Implementation

core.String? metricKind;