pub struct HistogramBucketOverrides {
pub overrides: HashMap<String, Vec<f64>>,
}Expand description
Allows overriding the buckets used by histogram metrics
Fields§
§overrides: HashMap<String, Vec<f64>>Overrides where the key is the metric name and the value is the list of bucket boundaries.
The metric name will apply regardless of name prefixing, if any. IE: the name acts like
*metric_name.
The string names of core’s built-in histogram metrics are publicly available on the
core::telemetry module and the client crate.
See here for the exact meaning of boundaries.
Trait Implementations§
Source§impl Clone for HistogramBucketOverrides
impl Clone for HistogramBucketOverrides
Source§fn clone(&self) -> HistogramBucketOverrides
fn clone(&self) -> HistogramBucketOverrides
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 HistogramBucketOverrides
impl Debug for HistogramBucketOverrides
Source§impl Default for HistogramBucketOverrides
impl Default for HistogramBucketOverrides
Source§fn default() -> HistogramBucketOverrides
fn default() -> HistogramBucketOverrides
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HistogramBucketOverrides
impl RefUnwindSafe for HistogramBucketOverrides
impl Send for HistogramBucketOverrides
impl Sync for HistogramBucketOverrides
impl Unpin for HistogramBucketOverrides
impl UnwindSafe for HistogramBucketOverrides
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
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request