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

An SLI measuring performance on a well-known service type. Performance will be computed on the basis of pre-defined metrics. The type of the service_resource determines the metrics to use and the service_resource.labels and metric_labels are used to construct a monitoring filter to filter that metric down to just the data relevant to this service.

Attributes

  • availability (type: GoogleApi.Monitoring.V3.Model.AvailabilityCriteria.t, default: nil) - Good service is defined to be the count of requests made to this service that return successfully.
  • latency (type: GoogleApi.Monitoring.V3.Model.LatencyCriteria.t, default: nil) - Good service is defined to be the count of requests made to this service that are fast enough with respect to latency.threshold.
  • location (type: list(String.t), default: nil) - OPTIONAL: The set of locations to which this SLI is relevant. Telemetry from other locations will not be used to calculate performance for this SLI. If omitted, this SLI applies to all locations in which the Service has activity. For service types that don't support breaking down by location, setting this field will result in an error.
  • method (type: list(String.t), default: nil) - OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from other methods will not be used to calculate performance for this SLI. If omitted, this SLI applies to all the Service's methods. For service types that don't support breaking down by method, setting this field will result in an error.
  • version (type: list(String.t), default: nil) - OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry from other API versions will not be used to calculate performance for this SLI. If omitted, this SLI applies to all API versions. For service types that don't support breaking down by version, setting this field will result in an error.

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.BasicSli{
  availability: GoogleApi.Monitoring.V3.Model.AvailabilityCriteria.t() | nil,
  latency: GoogleApi.Monitoring.V3.Model.LatencyCriteria.t() | nil,
  location: [String.t()] | nil,
  method: [String.t()] | nil,
  version: [String.t()] | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.