Reference documentation and code samples for the Stackdriver Monitoring V3 Client class WindowsBasedSli.
A WindowsBasedSli
defines good_service
as the count of time windows for
which the provided service was of good quality. Criteria for determining
if service was good are embedded in the window_criterion
.
Generated from protobuf message google.monitoring.v3.WindowsBasedSli
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ good_bad_metric_filter
string
A monitoring filter
specifying a TimeSeries
with ValueType = BOOL
. The window is good if any true
values appear in the window.
↳ good_total_ratio_threshold
Google\Cloud\Monitoring\V3\WindowsBasedSli\PerformanceThreshold
A window is good if its performance
is high enough.
↳ metric_mean_in_range
Google\Cloud\Monitoring\V3\WindowsBasedSli\MetricRange
A window is good if the metric's value is in a good range, averaged across returned streams.
↳ metric_sum_in_range
Google\Cloud\Monitoring\V3\WindowsBasedSli\MetricRange
A window is good if the metric's value is in a good range, summed across returned streams.
↳ window_period
Google\Protobuf\Duration
Duration over which window quality is evaluated. Must be an integer fraction of a day and at least 60s
.
getGoodBadMetricFilter
A monitoring filter
specifying a TimeSeries
with ValueType = BOOL
. The window is good if
any true
values appear in the window.
Generated from protobuf field string good_bad_metric_filter = 5;
string
hasGoodBadMetricFilter
setGoodBadMetricFilter
A monitoring filter
specifying a TimeSeries
with ValueType = BOOL
. The window is good if
any true
values appear in the window.
Generated from protobuf field string good_bad_metric_filter = 5;
var
string
$this
getGoodTotalRatioThreshold
A window is good if its performance
is high enough.
Generated from protobuf field .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2;
hasGoodTotalRatioThreshold
setGoodTotalRatioThreshold
A window is good if its performance
is high enough.
Generated from protobuf field .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2;
$this
getMetricMeanInRange
A window is good if the metric's value is in a good range, averaged across returned streams.
Generated from protobuf field .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6;
hasMetricMeanInRange
setMetricMeanInRange
A window is good if the metric's value is in a good range, averaged across returned streams.
Generated from protobuf field .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6;
$this
getMetricSumInRange
A window is good if the metric's value is in a good range, summed across returned streams.
Generated from protobuf field .google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7;
hasMetricSumInRange
setMetricSumInRange
A window is good if the metric's value is in a good range, summed across returned streams.
Generated from protobuf field .google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7;
$this
getWindowPeriod
Duration over which window quality is evaluated. Must be an integer
fraction of a day and at least 60s
.
Generated from protobuf field .google.protobuf.Duration window_period = 4;
Google\Protobuf\Duration|null
hasWindowPeriod
clearWindowPeriod
setWindowPeriod
Duration over which window quality is evaluated. Must be an integer
fraction of a day and at least 60s
.
Generated from protobuf field .google.protobuf.Duration window_period = 4;
var
Google\Protobuf\Duration
$this
getWindowCriterion
string