Enum googapis::google::monitoring::v3::windows_based_sli::WindowCriterion [−][src]
pub enum WindowCriterion {
GoodBadMetricFilter(String),
GoodTotalRatioThreshold(PerformanceThreshold),
MetricMeanInRange(MetricRange),
MetricSumInRange(MetricRange),
}
Expand description
The criterion to use for evaluating window goodness.
Variants
GoodBadMetricFilter(String)
A monitoring filter
specifying a TimeSeries
with ValueType = BOOL
. The window is good if
any true
values appear in the window.
Tuple Fields of GoodBadMetricFilter
0: String
GoodTotalRatioThreshold(PerformanceThreshold)
A window is good if its performance
is high enough.
Tuple Fields of GoodTotalRatioThreshold
MetricMeanInRange(MetricRange)
A window is good if the metric’s value is in a good range, averaged across returned streams.
Tuple Fields of MetricMeanInRange
0: MetricRange
MetricSumInRange(MetricRange)
A window is good if the metric’s value is in a good range, summed across returned streams.
Tuple Fields of MetricSumInRange
0: MetricRange
Implementations
pub fn merge<B>(
field: &mut Option<WindowCriterion>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for WindowCriterion
impl Send for WindowCriterion
impl Sync for WindowCriterion
impl Unpin for WindowCriterion
impl UnwindSafe for WindowCriterion
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more