pub struct RareSampler {
pub cardinality: usize,
pub cooldown: f64,
pub tps: f64,
}Expand description
Rare-span sampler.
Fields§
§cardinality: usizeMaximum number of distinct span signatures tracked. (not in Datadog Agent config schema)
cooldown: f64Cooldown, in seconds, before a signature may be sampled again. (not in Datadog Agent config schema)
tps: f64Target rare-span traces sampled per second. (not in Datadog Agent config schema)
Trait Implementations§
Source§impl Clone for RareSampler
impl Clone for RareSampler
Source§fn clone(&self) -> RareSampler
fn clone(&self) -> RareSampler
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 RareSampler
impl Debug for RareSampler
Source§impl Default for RareSampler
impl Default for RareSampler
Source§fn default() -> RareSampler
fn default() -> RareSampler
Returns the “default value” for a type. Read more
Source§impl PartialEq for RareSampler
impl PartialEq for RareSampler
Source§impl Serialize for RareSampler
impl Serialize for RareSampler
impl StructuralPartialEq for RareSampler
Auto Trait Implementations§
impl Freeze for RareSampler
impl RefUnwindSafe for RareSampler
impl Send for RareSampler
impl Sync for RareSampler
impl Unpin for RareSampler
impl UnwindSafe for RareSampler
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