Struct google_monitoring3::api::ServiceLevelIndicator[][src]

pub struct ServiceLevelIndicator {
    pub basic_sli: Option<BasicSli>,
    pub request_based: Option<RequestBasedSli>,
    pub windows_based: Option<WindowsBasedSli>,
}

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.

This type is not used in any activity, and only used as part of another schema.

Fields

basic_sli: Option<BasicSli>

Basic SLI on a well-known service type.

request_based: Option<RequestBasedSli>

Request-based SLIs

windows_based: Option<WindowsBasedSli>

Windows-based SLIs

Trait Implementations

impl Clone for ServiceLevelIndicator[src]

impl Debug for ServiceLevelIndicator[src]

impl Default for ServiceLevelIndicator[src]

impl<'de> Deserialize<'de> for ServiceLevelIndicator[src]

impl Part for ServiceLevelIndicator[src]

impl Serialize for ServiceLevelIndicator[src]

Auto Trait Implementations

impl RefUnwindSafe for ServiceLevelIndicator[src]

impl Send for ServiceLevelIndicator[src]

impl Sync for ServiceLevelIndicator[src]

impl Unpin for ServiceLevelIndicator[src]

impl UnwindSafe for ServiceLevelIndicator[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.