Class SloWindowsBasedSli
- java.lang.Object
-
- com.pulumi.gcp.monitoring.outputs.SloWindowsBasedSli
-
public final class SloWindowsBasedSli extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SloWindowsBasedSli.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SloWindowsBasedSli.Builder
builder()
static SloWindowsBasedSli.Builder
builder(SloWindowsBasedSli defaults)
java.util.Optional<java.lang.String>
goodBadMetricFilter()
java.util.Optional<SloWindowsBasedSliGoodTotalRatioThreshold>
goodTotalRatioThreshold()
java.util.Optional<SloWindowsBasedSliMetricMeanInRange>
metricMeanInRange()
java.util.Optional<SloWindowsBasedSliMetricSumInRange>
metricSumInRange()
java.util.Optional<java.lang.String>
windowPeriod()
-
-
-
Method Detail
-
goodBadMetricFilter
public java.util.Optional<java.lang.String> goodBadMetricFilter()
- Returns:
- A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) with ValueType = BOOL. The window is good if any true values appear in the window. One of `good_bad_metric_filter`, `good_total_ratio_threshold`, `metric_mean_in_range`, `metric_sum_in_range` must be set for `windows_based_sli`.
-
goodTotalRatioThreshold
public java.util.Optional<SloWindowsBasedSliGoodTotalRatioThreshold> goodTotalRatioThreshold()
- Returns:
- Criterion that describes a window as good if its performance is high enough. One of `good_bad_metric_filter`, `good_total_ratio_threshold`, `metric_mean_in_range`, `metric_sum_in_range` must be set for `windows_based_sli`. Structure is documented below.
-
metricMeanInRange
public java.util.Optional<SloWindowsBasedSliMetricMeanInRange> metricMeanInRange()
- Returns:
- Criterion that describes a window as good if the metric's value is in a good range, *averaged* across returned streams. One of `good_bad_metric_filter`, `good_total_ratio_threshold`, `metric_mean_in_range`, `metric_sum_in_range` must be set for `windows_based_sli`. Average value X of `time_series` should satisfy `range.min <= X <= range.max` for a good window. Structure is documented below.
-
metricSumInRange
public java.util.Optional<SloWindowsBasedSliMetricSumInRange> metricSumInRange()
- Returns:
- Criterion that describes a window as good if the metric's value is in a good range, *summed* across returned streams. Summed value `X` of `time_series` should satisfy `range.min <= X <= range.max` for a good window. One of `good_bad_metric_filter`, `good_total_ratio_threshold`, `metric_mean_in_range`, `metric_sum_in_range` must be set for `windows_based_sli`. Structure is documented below.
-
windowPeriod
public java.util.Optional<java.lang.String> windowPeriod()
- Returns:
- Duration over which window quality is evaluated, given as a duration string "{X}s" representing X seconds. Must be an integer fraction of a day and at least 60s.
-
builder
public static SloWindowsBasedSli.Builder builder()
-
builder
public static SloWindowsBasedSli.Builder builder(SloWindowsBasedSli defaults)
-
-