Class PickTimeSeriesFilter (2.18.2)

PickTimeSeriesFilter(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Describes a ranking-based time series filter. Each input time series is ranked with an aligner. The filter will allow up to num_time_series time series to pass through it, selecting them based on the relative ranking.

For example, if ranking_method is METHOD_MEAN,\ direction is BOTTOM, and num_time_series is 3, then the 3 times series with the lowest mean values will pass through the filter.

Attributes

Name Description
ranking_method google.cloud.monitoring_dashboard_v1.types.PickTimeSeriesFilter.Method
ranking_method is applied to each time series independently to produce the value which will be used to compare the time series to other time series.
num_time_series int
How many time series to allow to pass through the filter.
direction google.cloud.monitoring_dashboard_v1.types.PickTimeSeriesFilter.Direction
How to use the ranking to select time series that pass through the filter.
interval google.type.interval_pb2.Interval
Select the top N streams/time series within this time interval

Classes

Direction

Direction(value)

Describes the ranking directions.

Method

Method(value)

The value reducers that can be applied to a PickTimeSeriesFilter.