GoogleApi.Monitoring.V3.Model.WindowsBasedSli (google_api_monitoring v0.46.3) View Source

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.

Attributes

  • goodBadMetricFilter (type: String.t, default: nil) - A monitoring filter (https://cloud.google.com/monitoring/api/v3/filters) specifying a TimeSeries with ValueType = BOOL. The window is good if any true values appear in the window.
  • goodTotalRatioThreshold (type: GoogleApi.Monitoring.V3.Model.PerformanceThreshold.t, default: nil) - A window is good if its performance is high enough.
  • metricMeanInRange (type: GoogleApi.Monitoring.V3.Model.MetricRange.t, default: nil) - A window is good if the metric's value is in a good range, averaged across returned streams.
  • metricSumInRange (type: GoogleApi.Monitoring.V3.Model.MetricRange.t, default: nil) - A window is good if the metric's value is in a good range, summed across returned streams.
  • windowPeriod (type: String.t, default: nil) - Duration over which window quality is evaluated. Must be an integer fraction of a day and at least 60s.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Monitoring.V3.Model.WindowsBasedSli{
  goodBadMetricFilter: String.t() | nil,
  goodTotalRatioThreshold:
    GoogleApi.Monitoring.V3.Model.PerformanceThreshold.t() | nil,
  metricMeanInRange: GoogleApi.Monitoring.V3.Model.MetricRange.t() | nil,
  metricSumInRange: GoogleApi.Monitoring.V3.Model.MetricRange.t() | nil,
  windowPeriod: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.