UNPKG

@sisyphus.js/google

Version:

Precompiled google common protos by sisyphus protobuf compiler

68 lines 3.42 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Metric = exports.MetricDescriptor = void 0; var MetricDescriptor; (function (MetricDescriptor) { MetricDescriptor.name = 'google.api.MetricDescriptor'; var MetricDescriptorMetadata; (function (MetricDescriptorMetadata) { MetricDescriptorMetadata.name = 'google.api.MetricDescriptor.MetricDescriptorMetadata'; })(MetricDescriptorMetadata = MetricDescriptor.MetricDescriptorMetadata || (MetricDescriptor.MetricDescriptorMetadata = {})); /** * 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]. */ var MetricKind; (function (MetricKind) { /** Do not use this default value. */ MetricKind[MetricKind["METRIC_KIND_UNSPECIFIED"] = 0] = "METRIC_KIND_UNSPECIFIED"; /** An instantaneous measurement of a value. */ MetricKind[MetricKind["GAUGE"] = 1] = "GAUGE"; /** The change in a value during a time interval. */ MetricKind[MetricKind["DELTA"] = 2] = "DELTA"; /** * 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. */ MetricKind[MetricKind["CUMULATIVE"] = 3] = "CUMULATIVE"; })(MetricKind = MetricDescriptor.MetricKind || (MetricDescriptor.MetricKind = {})); (function (MetricKind) { MetricKind.name = 'google.api.MetricDescriptor.MetricKind'; })(MetricKind = MetricDescriptor.MetricKind || (MetricDescriptor.MetricKind = {})); /** The value type of a metric. */ var ValueType; (function (ValueType) { /** Do not use this default value. */ ValueType[ValueType["VALUE_TYPE_UNSPECIFIED"] = 0] = "VALUE_TYPE_UNSPECIFIED"; /** * The value is a boolean. * This value type can be used only if the metric kind is `GAUGE`. */ ValueType[ValueType["BOOL"] = 1] = "BOOL"; /** The value is a signed 64-bit integer. */ ValueType[ValueType["INT64"] = 2] = "INT64"; /** The value is a double precision floating point number. */ ValueType[ValueType["DOUBLE"] = 3] = "DOUBLE"; /** * The value is a text string. * This value type can be used only if the metric kind is `GAUGE`. */ ValueType[ValueType["STRING"] = 4] = "STRING"; /** The value is a [`Distribution`][google.api.Distribution]. */ ValueType[ValueType["DISTRIBUTION"] = 5] = "DISTRIBUTION"; /** The value is money. */ ValueType[ValueType["MONEY"] = 6] = "MONEY"; })(ValueType = MetricDescriptor.ValueType || (MetricDescriptor.ValueType = {})); (function (ValueType) { ValueType.name = 'google.api.MetricDescriptor.ValueType'; })(ValueType = MetricDescriptor.ValueType || (MetricDescriptor.ValueType = {})); })(MetricDescriptor || (exports.MetricDescriptor = MetricDescriptor = {})); var Metric; (function (Metric) { Metric.name = 'google.api.Metric'; })(Metric || (exports.Metric = Metric = {})); //# sourceMappingURL=metric.js.map