public sealed class ServiceLevelObjective : IMessage<ServiceLevelObjective>, IEquatable<ServiceLevelObjective>, IDeepCloneable<ServiceLevelObjective>, IBufferMessage, IMessage
A Service-Level Objective (SLO) describes a level of desired good service. It consists of a service-level indicator (SLI), a performance goal, and a period over which the objective is to be evaluated against that goal. The SLO can use SLIs defined in a number of different manners. Typical SLOs might include "99% of requests in each rolling week have latency below 200 milliseconds" or "99.5% of requests in each calendar month return successfully."
Implements
IMessage<ServiceLevelObjective>, IEquatable<ServiceLevelObjective>, IDeepCloneable<ServiceLevelObjective>, IBufferMessage, IMessageNamespace
Google.Cloud.Monitoring.V3Assembly
Google.Cloud.Monitoring.V3.dll
Constructors
ServiceLevelObjective()
public ServiceLevelObjective()
ServiceLevelObjective(ServiceLevelObjective)
public ServiceLevelObjective(ServiceLevelObjective other)
Parameter | |
---|---|
Name | Description |
other | ServiceLevelObjective |
Properties
CalendarPeriod
public CalendarPeriod CalendarPeriod { get; set; }
A calendar period, semantically "since the start of the current
<calendar_period>
". At this time, only DAY
, WEEK
, FORTNIGHT
, and
MONTH
are supported.
Property Value | |
---|---|
Type | Description |
CalendarPeriod |
DisplayName
public string DisplayName { get; set; }
Name used for UI elements listing this SLO.
Property Value | |
---|---|
Type | Description |
String |
Goal
public double Goal { get; set; }
The fraction of service that must be good in order for this objective to be
met. 0 < goal <= 0.999
.
Property Value | |
---|---|
Type | Description |
Double |
Name
public string Name { get; set; }
Resource name for this ServiceLevelObjective
. The format is:
projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
Property Value | |
---|---|
Type | Description |
String |
PeriodCase
public ServiceLevelObjective.PeriodOneofCase PeriodCase { get; }
Property Value | |
---|---|
Type | Description |
ServiceLevelObjective.PeriodOneofCase |
ResourceName
public IResourceName ResourceName { get; set; }
IResourceName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
IResourceName |
RollingPeriod
public Duration RollingPeriod { get; set; }
A rolling time period, semantically "in the past <rolling_period>
".
Must be an integer multiple of 1 day no larger than 30 days.
Property Value | |
---|---|
Type | Description |
Duration |
ServiceLevelIndicator
public ServiceLevelIndicator ServiceLevelIndicator { get; set; }
The definition of good service, used to measure and calculate the quality
of the Service
's performance with respect to a single aspect of service
quality.
Property Value | |
---|---|
Type | Description |
ServiceLevelIndicator |
ServiceLevelObjectiveName
public ServiceLevelObjectiveName ServiceLevelObjectiveName { get; set; }
ServiceLevelObjectiveName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
ServiceLevelObjectiveName |