Struct google_api_proto::google::monitoring::v3::TimeSeriesRatio
source · pub struct TimeSeriesRatio {
pub good_service_filter: String,
pub bad_service_filter: String,
pub total_service_filter: String,
}
Expand description
A TimeSeriesRatio
specifies two TimeSeries
to use for computing the
good_service / total_service
ratio. The specified TimeSeries
must have
ValueType = DOUBLE
or ValueType = INT64
and must have MetricKind = DELTA
or MetricKind = CUMULATIVE
. The TimeSeriesRatio
must specify
exactly two of good, bad, and total, and the relationship good_service + bad_service = total_service
will be assumed.
Fields§
§good_service_filter: String
A monitoring filter
specifying a TimeSeries
quantifying good service provided. Must have
ValueType = DOUBLE
or ValueType = INT64
and must have MetricKind = DELTA
or MetricKind = CUMULATIVE
.
bad_service_filter: String
A monitoring filter
specifying a TimeSeries
quantifying bad service, either demanded service
that was not provided or demanded service that was of inadequate quality.
Must have ValueType = DOUBLE
or ValueType = INT64
and must have
MetricKind = DELTA
or MetricKind = CUMULATIVE
.
total_service_filter: String
A monitoring filter
specifying a TimeSeries
quantifying total demanded service. Must have
ValueType = DOUBLE
or ValueType = INT64
and must have MetricKind = DELTA
or MetricKind = CUMULATIVE
.
Trait Implementations§
source§impl Clone for TimeSeriesRatio
impl Clone for TimeSeriesRatio
source§fn clone(&self) -> TimeSeriesRatio
fn clone(&self) -> TimeSeriesRatio
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TimeSeriesRatio
impl Debug for TimeSeriesRatio
source§impl Default for TimeSeriesRatio
impl Default for TimeSeriesRatio
source§impl Message for TimeSeriesRatio
impl Message for TimeSeriesRatio
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 TimeSeriesRatio
impl PartialEq for TimeSeriesRatio
source§fn eq(&self, other: &TimeSeriesRatio) -> bool
fn eq(&self, other: &TimeSeriesRatio) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TimeSeriesRatio
Auto Trait Implementations§
impl Freeze for TimeSeriesRatio
impl RefUnwindSafe for TimeSeriesRatio
impl Send for TimeSeriesRatio
impl Sync for TimeSeriesRatio
impl Unpin for TimeSeriesRatio
impl UnwindSafe for TimeSeriesRatio
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