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({AvailabilityCriteria? availability, LatencyCriteria? latency, List<
String> ? location, List<String> ? method, List<String> ? version}) - BasicSli.fromJson(Map json_)
Properties
- availability ↔ AvailabilityCriteria?
-
Good service is defined to be the count of requests made to this service
that return successfully.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- latency ↔ LatencyCriteria?
-
Good service is defined to be the count of requests made to this service
that are fast enough with respect to latency.threshold.
getter/setter pair
-
location
↔ List<
String> ? -
OPTIONAL: The set of locations to which this SLI is relevant.
getter/setter pair
-
method
↔ List<
String> ? -
OPTIONAL: The set of RPCs to which this SLI is relevant.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
version
↔ List<
String> ? -
OPTIONAL: The set of API versions to which this SLI is relevant.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited