BasicSli class

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.

Constructors

BasicSli({Input<Map<String, dynamic>>? availability, Input<LatencyCriteria>? latency, Input<List<String>>? location, Input<List<String>>? method, Input<List<String>>? version})
Creates a new BasicSli. availability Good service is defined to be the count of requests made to this service that return successfully. latency Good service is defined to be the count of requests made to this service that are fast enough with respect to latency.threshold. 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. 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. 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.
const
BasicSli.fromMap(Map<String, dynamic> map)
factory

Properties

availability → Input<Map<String, dynamic>>?
Good service is defined to be the count of requests made to this service that return successfully.
final
hashCode → int
The hash code for this object.
no setterinherited
latency → Input<LatencyCriteria>?
Good service is defined to be the count of requests made to this service that are fast enough with respect to latency.threshold.
final
location → Input<List<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.
final
method → Input<List<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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
version → Input<List<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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited