public sealed class ServiceLevelIndicator : IMessage<ServiceLevelIndicator>, IEquatable<ServiceLevelIndicator>, IDeepCloneable<ServiceLevelIndicator>, IBufferMessage, IMessage
A Service-Level Indicator (SLI) describes the "performance" of a service. For
some services, the SLI is well-defined. In such cases, the SLI can be
described easily by referencing the well-known SLI and providing the needed
parameters. Alternatively, a "custom" SLI can be defined with a query to the
underlying metric store. An SLI is defined to be good_service /
total_service over any queried time interval. The value of performance
always falls into the range 0 <= performance <= 1. A custom SLI describes
how to compute this ratio, whether this is by dividing values from a pair of
time series, cutting a Distribution into good and bad counts, or counting
time windows in which the service complies with a criterion. For separation
of concerns, a single Service-Level Indicator measures performance for only
one aspect of service quality, such as fraction of successful queries or
fast-enough queries.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eServiceLevelIndicator\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Monitoring.V3\u003c/code\u003e namespace, version 2.3.0 of the library, which is designed to describe the performance of a service using Service-Level Indicators (SLIs).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceLevelIndicator\u003c/code\u003e class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and it inherits from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceLevelIndicator\u003c/code\u003e class can be constructed either with default parameters or by cloning another \u003ccode\u003eServiceLevelIndicator\u003c/code\u003e instance, and has properties to define different types of SLIs such as \u003ccode\u003eBasicSli\u003c/code\u003e, \u003ccode\u003eRequestBased\u003c/code\u003e, and \u003ccode\u003eWindowsBased\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe document lists a range of versions of the \u003ccode\u003eGoogle.Cloud.Monitoring.V3\u003c/code\u003e library from 3.15.0 (latest) down to 2.3.0, each with its own documentation page for \u003ccode\u003eServiceLevelIndicator\u003c/code\u003e, along with its version number.\u003c/p\u003e\n"],["\u003cp\u003eSLIs can be well-defined and easily referenced, or custom SLIs can be created via queries to the underlying metric store, and that SLIs measure the good service to total service ratio, with performance always between 0 and 1.\u003c/p\u003e\n"]]],[],null,[]]