Reference documentation and code samples for the Cloud Monitoring Dashboards V1 API class Google::Cloud::Monitoring::Dashboard::V1::PickTimeSeriesFilter.
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
- (::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
- value (::Google::Cloud::Monitoring::Dashboard::V1::PickTimeSeriesFilter::Direction) — How to use the ranking to select time series that pass through the filter.
- (::Google::Cloud::Monitoring::Dashboard::V1::PickTimeSeriesFilter::Direction) — How to use the ranking to select time series that pass through the filter.
#interval
def interval() -> ::Google::Type::Interval
- (::Google::Type::Interval) — Select the top N streams/time series within this time interval
#interval=
def interval=(value) -> ::Google::Type::Interval
- value (::Google::Type::Interval) — Select the top N streams/time series within this time interval
- (::Google::Type::Interval) — Select the top N streams/time series within this time interval
#num_time_series
def num_time_series() -> ::Integer
- (::Integer) — How many time series to allow to pass through the filter.
#num_time_series=
def num_time_series=(value) -> ::Integer
- value (::Integer) — How many time series to allow to pass through the filter.
- (::Integer) — How many time series to allow to pass through the filter.
#ranking_method
def ranking_method() -> ::Google::Cloud::Monitoring::Dashboard::V1::PickTimeSeriesFilter::Method
-
(::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
-
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.
-
(::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.