pub struct MetricsLimits {
pub max_instruments: usize,
pub max_series_per_instrument: usize,
pub max_label_bytes: usize,
pub max_total_series: usize,
pub max_exposition_bytes: usize,
}Expand description
Limits apply to each instance and cannot be overridden by SDK environment variables.
Fields§
§max_instruments: usize§max_series_per_instrument: usize§max_label_bytes: usize§max_total_series: usize§max_exposition_bytes: usizeTrait Implementations§
Source§impl Clone for MetricsLimits
impl Clone for MetricsLimits
Source§fn clone(&self) -> MetricsLimits
fn clone(&self) -> MetricsLimits
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MetricsLimits
impl Debug for MetricsLimits
Auto Trait Implementations§
impl Freeze for MetricsLimits
impl RefUnwindSafe for MetricsLimits
impl Send for MetricsLimits
impl Sync for MetricsLimits
impl Unpin for MetricsLimits
impl UnsafeUnpin for MetricsLimits
impl UnwindSafe for MetricsLimits
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
Mutably borrows from an owned value. Read more