pub enum BasinMetricSet {
Storage(TimeRange),
AppendOps(TimeRangeAndInterval),
ReadOps(TimeRangeAndInterval),
ReadThroughput(TimeRangeAndInterval),
AppendThroughput(TimeRangeAndInterval),
BasinOps(TimeRangeAndInterval),
}Expand description
Basin metric set to return.
Variants§
Storage(TimeRange)
Returns a GaugeMetric representing a timeseries of total stored bytes across all streams
in the basin, with one observed value for each hour over the requested time range.
AppendOps(TimeRangeAndInterval)
Returns AccumulationMetrics, one per storage class (standard, express).
Each metric represents a timeseries of the number of append operations across all streams in the basin, with one accumulated value per interval over the requested time range.
ReadOps(TimeRangeAndInterval)
Returns AccumulationMetrics, one per read type (unary, streaming).
Each metric represents a timeseries of the number of read operations across all streams in the basin, with one accumulated value per interval over the requested time range.
ReadThroughput(TimeRangeAndInterval)
Returns an AccumulationMetric representing a timeseries of total read bytes
across all streams in the basin, with one accumulated value per interval
over the requested time range.
AppendThroughput(TimeRangeAndInterval)
Returns an AccumulationMetric representing a timeseries of total appended bytes
across all streams in the basin, with one accumulated value per interval
over the requested time range.
BasinOps(TimeRangeAndInterval)
Returns AccumulationMetrics, one per basin operation type.
Each metric represents a timeseries of the number of operations, with one accumulated value per interval over the requested time range.
Trait Implementations§
Source§impl Clone for BasinMetricSet
impl Clone for BasinMetricSet
Source§fn clone(&self) -> BasinMetricSet
fn clone(&self) -> BasinMetricSet
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BasinMetricSet
impl Debug for BasinMetricSet
impl Copy for BasinMetricSet
Auto Trait Implementations§
impl Freeze for BasinMetricSet
impl RefUnwindSafe for BasinMetricSet
impl Send for BasinMetricSet
impl Sync for BasinMetricSet
impl Unpin for BasinMetricSet
impl UnwindSafe for BasinMetricSet
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more