[][src]Struct google_monitoring3::BasicSli

pub struct BasicSli {
    pub latency: Option<LatencyCriteria>,
    pub method: Option<Vec<String>>,
    pub version: Option<Vec<String>>,
    pub availability: Option<AvailabilityCriteria>,
    pub location: Option<Vec<String>>,
}

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.

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

Fields

latency: Option<LatencyCriteria>

Good service is defined to be the count of requests made to this service that are fast enough with respect to latency.threshold.

method: Option<Vec<String>>

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.

version: Option<Vec<String>>

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.

availability: Option<AvailabilityCriteria>

Good service is defined to be the count of requests made to this service that return successfully.

location: Option<Vec<String>>

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.

Trait Implementations

impl Clone for BasicSli[src]

impl Debug for BasicSli[src]

impl Default for BasicSli[src]

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

impl Part for BasicSli[src]

impl Serialize for BasicSli[src]

Auto Trait Implementations

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

impl<T> Typeable for T where
    T: Any