pub enum ApmFeature {
ProbabilisticSamplerFullTraceId,
Other(String),
}Expand description
A beta APM feature flag.
The feature inventory is not stable across agent versions: a flag may be promoted to a
dedicated setting or dropped. Unrecognized values are carried as ApmFeature::Other rather
than rejected, so configurations for newer or removed flags load unchanged.
Variants§
ProbabilisticSamplerFullTraceId
Switches the probabilistic sampler from hashing the low 64 bits of the trace ID to hashing the full 128-bit ID.
Other(String)
An unrecognized feature ID, carried verbatim.
Implementations§
Trait Implementations§
Source§impl Clone for ApmFeature
impl Clone for ApmFeature
Source§fn clone(&self) -> ApmFeature
fn clone(&self) -> ApmFeature
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 ApmFeature
impl Debug for ApmFeature
Source§impl From<&str> for ApmFeature
impl From<&str> for ApmFeature
Source§impl Hash for ApmFeature
impl Hash for ApmFeature
Source§impl PartialEq for ApmFeature
impl PartialEq for ApmFeature
Source§impl Serialize for ApmFeature
impl Serialize for ApmFeature
impl Eq for ApmFeature
impl StructuralPartialEq for ApmFeature
Auto Trait Implementations§
impl Freeze for ApmFeature
impl RefUnwindSafe for ApmFeature
impl Send for ApmFeature
impl Sync for ApmFeature
impl Unpin for ApmFeature
impl UnwindSafe for ApmFeature
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