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][google.monitoring.v3.TimeInterval].
Protobuf type google.api.MetricDescriptor.MetricKind
| Constants |
| public Google 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; |
| public Google The change in a value during a time interval. Generated from protobuf enum DELTA = 2; |
| public Google An instantaneous measurement of a value. Generated from protobuf enum GAUGE = 1; |
| public Google Do not use this default value. Generated from protobuf enum METRIC_KIND_UNSPECIFIED = 0; |
| Methods |
| public static name( $value) |
| public static value( $name) |
| Properties |
| private static $valueToName = ['METRIC_KIND_UNSPECIFIED', 'GAUGE', 'DELTA', 'CUMULATIVE'] |
| Properties |
| private static $valueToName = ['METRIC_KIND_UNSPECIFIED', 'GAUGE', 'DELTA', 'CUMULATIVE'] |
| Methods |
| public static name( $value) |
| public static value( $name) |