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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#direction
def direction() -> ::Google::Cloud::Monitoring::Dashboard::V1::PickTimeSeriesFilter::Direction
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::PickTimeSeriesFilter::Direction) — How to use the ranking to select time series that pass through the filter.
#direction=
def direction=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::PickTimeSeriesFilter::Direction
Parameter
- value (::Google::Cloud::Monitoring::Dashboard::V1::PickTimeSeriesFilter::Direction) — How to use the ranking to select time series that pass through the filter.
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::PickTimeSeriesFilter::Direction) — How to use the ranking to select time series that pass through the filter.
#num_time_series
def num_time_series() -> ::Integer
Returns
- (::Integer) — How many time series to allow to pass through the filter.
#num_time_series=
def num_time_series=(value) -> ::Integer
Parameter
- value (::Integer) — How many time series to allow to pass through the filter.
Returns
- (::Integer) — How many time series to allow to pass through the filter.
#ranking_method
def ranking_method() -> ::Google::Cloud::Monitoring::Dashboard::V1::PickTimeSeriesFilter::Method
Returns
-
(::Google::Cloud::Monitoring::Dashboard::V1::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.
#ranking_method=
def ranking_method=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::PickTimeSeriesFilter::Method
Parameter
-
value (::Google::Cloud::Monitoring::Dashboard::V1::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.
Returns
-
(::Google::Cloud::Monitoring::Dashboard::V1::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.