Class MetricAbsence (0.35.0)

A condition type that checks that monitored resources are reporting data. The configuration defines a metric and a set of monitored resources. The predicate is considered in violation when a time series for the specified metric of a monitored resource does not include any data in the specified duration. .. attribute:: filter

A filter <https://cloud.google.com/monitoring/api/v3/filters> that identifies which time series should be compared with the threshold. The filter is similar to the one that is specified in the `ListTimeSeries request <https://cloud.google.com/m onitoring/api/ref_v3/rest/v3/projects.timeSeries/list>` (that call is useful to verify the time series that will be retrieved / processed) and must specify the metric type and optionally may contain restrictions on resource type, resource labels, and metric labels. This field may not exceed 2048 Unicode characters in length.

The amount of time that a time series must fail to report new data to be considered failing. Currently, only values that are a multiple of a minute--e.g. 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. The Duration.nanos field is ignored.