pub struct Contexts {
pub allow_context_heap_allocs: bool,
pub cached_contexts_limit: usize,
pub cached_tagsets_limit: usize,
pub string_interner_size: u64,
}Expand description
OTLP context cache sizing.
Fields§
§allow_context_heap_allocs: boolWhether contexts may be heap-allocated when the interner is full. (not in Datadog Agent config schema)
cached_contexts_limit: usizeMaximum number of metric contexts held in the cache. (not in Datadog Agent config schema)
Maximum number of tagsets held in the cache. (not in Datadog Agent config schema)
string_interner_size: u64Size, in bytes, of the context string interner. (not in Datadog Agent config schema)
Trait Implementations§
impl StructuralPartialEq for Contexts
Auto Trait Implementations§
impl Freeze for Contexts
impl RefUnwindSafe for Contexts
impl Send for Contexts
impl Sync for Contexts
impl Unpin for Contexts
impl UnwindSafe for Contexts
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