You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Added support for units in the MetricService
feat: Added total_size to the response of ListAlertPolicies.
fix: Un-deprecated cluster_istio for service monitoring.
feat: Added IstioCanonicalService for service monitoring.
feat: Added creation and mutation records to notification channels.
feat: Added support for querying metrics for folders and organizations.
fix: Extended the default deadline for UpdateGroup to 180s.
feat: Added support for secondary aggregation when querying metrics.
PiperOrigin-RevId: 364422694
ruby_cloud_description="Cloud Monitoring collects metrics, events, and metadata from Google Cloud, Amazon Web Services (AWS), hosted uptime probes, and application instrumentation.",
// of the metric value. In no case can the end time be earlier than the start
58
-
// time.
54
+
// A closed time interval. It extends from the start time to the end time, and includes both: `[startTime, endTime]`. Valid time intervals depend on the [`MetricKind`](/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors#MetricKind) of the metric value. The end time must not be earlier than the start time. When writing data points, the start time must not be more than 25 hours in the past and the end time must not be more than five minutes in the future.
59
55
//
60
-
// * For a `GAUGE` metric, the `startTime` value is technically optional; if
56
+
// * For `GAUGE` metrics, the `startTime` value is technically optional; if
61
57
// no value is specified, the start time defaults to the value of the
62
58
// end time, and the interval represents a single point in time. If both
63
59
// start and end times are specified, they must be identical. Such an
64
60
// interval is valid only for `GAUGE` metrics, which are point-in-time
65
-
// measurements.
61
+
// measurements. The end time of a new interval must be at least a
62
+
// millisecond after the end time of the previous interval.
66
63
//
67
-
// * For `DELTA` and `CUMULATIVE` metrics, the start time must be earlier
68
-
// than the end time.
64
+
// * For `DELTA` metrics, the start time and end time must specify a
65
+
// non-zero interval, with subsequent points specifying contiguous and
66
+
// non-overlapping intervals. For `DELTA` metrics, the start time of
67
+
// the next interval must be at least a millisecond after the end time
68
+
// of the previous interval.
69
69
//
70
-
// * In all cases, the start time of the next interval must be
71
-
// at least a millisecond after the end time of the previous interval.
72
-
// Because the interval is closed, if the start time of a new interval
73
-
// is the same as the end time of the previous interval, data written
74
-
// at the new start time could overwrite data written at the previous
75
-
// end time.
70
+
// * For `CUMULATIVE` metrics, the start time and end time must specify a
71
+
// a non-zero interval, with subsequent points specifying the same
72
+
// start time and increasing end times, until an event resets the
73
+
// cumulative value to zero and sets a new start time for the following
74
+
// points. The new start time must be at least a millisecond after the
75
+
// end time of the previous interval.
76
+
//
77
+
// * The start time of a new interval must be at least a millisecond after the
78
+
// end time of the previous interval because intervals are closed. If the
79
+
// start time of a new interval is the same as the end time of the previous
80
+
// interval, then data written at the new start time could overwrite data
81
+
// written at the previous end time.
76
82
messageTimeInterval {
77
83
// Required. The end of the time interval.
78
84
google.protobuf.Timestampend_time=2;
@@ -370,10 +376,13 @@ message Aggregation {
370
376
// time. This will be done before the per-series aligner can be applied to
371
377
// the data.
372
378
//
373
-
// The value must be at least 60 seconds. If a per-series aligner other than
374
-
// `ALIGN_NONE` is specified, this field is required or an error is returned.
375
-
// If no per-series aligner is specified, or the aligner `ALIGN_NONE` is
376
-
// specified, then this field is ignored.
379
+
// The value must be at least 60 seconds. If a per-series
380
+
// aligner other than `ALIGN_NONE` is specified, this field is required or an
381
+
// error is returned. If no per-series aligner is specified, or the aligner
382
+
// `ALIGN_NONE` is specified, then this field is ignored.
383
+
//
384
+
// The maximum value of the `alignment_period` is 104 weeks (2 years) for
385
+
// charts, and 90,000 seconds (25 hours) for alerting policies.
377
386
google.protobuf.Durationalignment_period=1;
378
387
379
388
// An `Aligner` describes how to bring the data points in a single
0 commit comments