Struct gapi_grpc::google::monitoring::v3::ServiceLevelObjective[][src]

pub struct ServiceLevelObjective {
    pub name: String,
    pub display_name: String,
    pub service_level_indicator: Option<ServiceLevelIndicator>,
    pub goal: f64,
    pub period: Option<Period>,
}

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.”

Fields

name: String

Resource name for this ServiceLevelObjective. The format is:

projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
display_name: String

Name used for UI elements listing this SLO.

service_level_indicator: Option<ServiceLevelIndicator>

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.

goal: f64

The fraction of service that must be good in order for this objective to be met. 0 < goal <= 0.999.

period: Option<Period>

The time period over which the objective will be evaluated.

Trait Implementations

impl Clone for ServiceLevelObjective[src]

impl Debug for ServiceLevelObjective[src]

impl Default for ServiceLevelObjective[src]

impl Message for ServiceLevelObjective[src]

impl PartialEq<ServiceLevelObjective> for ServiceLevelObjective[src]

impl StructuralPartialEq for ServiceLevelObjective[src]

Auto Trait Implementations

impl RefUnwindSafe for ServiceLevelObjective

impl Send for ServiceLevelObjective

impl Sync for ServiceLevelObjective

impl Unpin for ServiceLevelObjective

impl UnwindSafe for ServiceLevelObjective

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]