Google API Common Protos Client - Class MetricKind (4.8.1)

Reference documentation and code samples for the Google API Common Protos Client class MetricKind.

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

For information on setting the start time and end time based on the MetricKind, see TimeInterval.

Protobuf type google.api.MetricDescriptor.MetricKind

Namespace

Google \ Api \ MetricDescriptor

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

METRIC_KIND_UNSPECIFIED

Value: 0

Do not use this default value.

Generated from protobuf enum METRIC_KIND_UNSPECIFIED = 0;

GAUGE

Value: 1

An instantaneous measurement of a value.

Generated from protobuf enum GAUGE = 1;

DELTA

Value: 2

The change in a value during a time interval.

Generated from protobuf enum DELTA = 2;

CUMULATIVE

Value: 3

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.

Generated from protobuf enum CUMULATIVE = 3;