Cloud Monitoring V3 API - Class Google::Cloud::Monitoring::V3::BasicSli (v0.12.1)

Reference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::BasicSli.

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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#availability

def availability() -> ::Google::Cloud::Monitoring::V3::BasicSli::AvailabilityCriteria
Returns

#availability=

def availability=(value) -> ::Google::Cloud::Monitoring::V3::BasicSli::AvailabilityCriteria
Parameter
Returns

#latency

def latency() -> ::Google::Cloud::Monitoring::V3::BasicSli::LatencyCriteria
Returns

#latency=

def latency=(value) -> ::Google::Cloud::Monitoring::V3::BasicSli::LatencyCriteria
Parameter
Returns

#location

def location() -> ::Array<::String>
Returns
  • (::Array<::String>) — 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.

#location=

def location=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — 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.
Returns
  • (::Array<::String>) — 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

def method() -> ::Array<::String>
Returns
  • (::Array<::String>) — 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.

#method=

def method=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — 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.
Returns
  • (::Array<::String>) — 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

def version() -> ::Array<::String>
Returns
  • (::Array<::String>) — 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.

#version=

def version=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — 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.
Returns
  • (::Array<::String>) — 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.