pub struct Mapper {
pub profiles: Vec<MapperProfile>,
pub cache_size: usize,
pub string_interner_size_bytes: NonZeroUsize,
}Expand description
DogStatsD metric mapper.
Fields§
§profiles: Vec<MapperProfile>Mapper profiles that rewrite matching metric names and tags.
cache_size: usizeNumber of mapper match results cached.
string_interner_size_bytes: NonZeroUsizeByte capacity of the mapper’s string interner. (not in Datadog Agent config schema)
Trait Implementations§
impl StructuralPartialEq for Mapper
Auto Trait Implementations§
impl Freeze for Mapper
impl RefUnwindSafe for Mapper
impl Send for Mapper
impl Sync for Mapper
impl Unpin for Mapper
impl UnwindSafe for Mapper
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