Struct google_api_proto::google::monitoring::v3::ServiceLevelIndicator
source · pub struct ServiceLevelIndicator {
pub type: Option<Type>,
}
Expand description
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.
Fields§
§type: Option<Type>
Service level indicators can be grouped by whether the “unit” of service being measured is based on counts of good requests or on counts of good time windows
Trait Implementations§
source§impl Clone for ServiceLevelIndicator
impl Clone for ServiceLevelIndicator
source§fn clone(&self) -> ServiceLevelIndicator
fn clone(&self) -> ServiceLevelIndicator
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ServiceLevelIndicator
impl Debug for ServiceLevelIndicator
source§impl Default for ServiceLevelIndicator
impl Default for ServiceLevelIndicator
source§impl Message for ServiceLevelIndicator
impl Message for ServiceLevelIndicator
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ServiceLevelIndicator
impl PartialEq for ServiceLevelIndicator
source§fn eq(&self, other: &ServiceLevelIndicator) -> bool
fn eq(&self, other: &ServiceLevelIndicator) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ServiceLevelIndicator
Auto Trait Implementations§
impl Freeze for ServiceLevelIndicator
impl RefUnwindSafe for ServiceLevelIndicator
impl Send for ServiceLevelIndicator
impl Sync for ServiceLevelIndicator
impl Unpin for ServiceLevelIndicator
impl UnwindSafe for ServiceLevelIndicator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request