public sealed class BasicSli : IMessage<BasicSli>, IEquatable<BasicSli>, IDeepCloneable<BasicSli>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Monitoring v3 API 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.
Namespace
Google.Cloud.Monitoring.V3Assembly
Google.Cloud.Monitoring.V3.dll
Constructors
BasicSli()
public BasicSli()
BasicSli(BasicSli)
public BasicSli(BasicSli other)
Parameter | |
---|---|
Name | Description |
other | BasicSli |
Properties
Availability
public BasicSli.Types.AvailabilityCriteria Availability { get; set; }
Good service is defined to be the count of requests made to this service that return successfully.
Property Value | |
---|---|
Type | Description |
BasicSliTypesAvailabilityCriteria |
Latency
public BasicSli.Types.LatencyCriteria Latency { get; set; }
Good service is defined to be the count of requests made to this service
that are fast enough with respect to latency.threshold
.
Property Value | |
---|---|
Type | Description |
BasicSliTypesLatencyCriteria |
Location
public RepeatedField<string> Location { get; }
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.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
Method
public RepeatedField<string> Method { get; }
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.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
SliCriteriaCase
public BasicSli.SliCriteriaOneofCase SliCriteriaCase { get; }
Property Value | |
---|---|
Type | Description |
BasicSliSliCriteriaOneofCase |
Version
public RepeatedField<string> Version { get; }
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.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |