Class 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.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes
NameDescription
Sequence[str]method
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.
Sequence[str]location
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.
Sequence[str]version
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.
google.cloud.monitoring_v3.types.BasicSli.AvailabilityCriteriaavailability
Good service is defined to be the count of requests made to this service that return successfully. This field is a member of `oneof`_ ``sli_criteria``.
google.cloud.monitoring_v3.types.BasicSli.LatencyCriterialatency
Good service is defined to be the count of requests made to this service that are fast enough with respect to ``latency.threshold``. This field is a member of `oneof`_ ``sli_criteria``.

Inheritance

builtins.object > proto.message.Message > BasicSli

Classes

AvailabilityCriteria

AvailabilityCriteria(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Future parameters for the availability SLI.

LatencyCriteria

LatencyCriteria(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Parameters for a latency threshold SLI.