pub struct OriginDetection {
pub detection: bool,
pub detection_client: bool,
pub unified: bool,
pub optout_enabled: bool,
pub entity_id_precedence: bool,
pub tag_cardinality: OriginTagCardinality,
}Expand description
Origin detection and tag cardinality.
Fields§
§detection: boolWhether origin detection tags metrics with their source workload.
detection_client: boolWhether client-supplied origin information is honored.
unified: boolWhether the unified origin-detection scheme is used.
optout_enabled: boolWhether a client may opt out of origin detection per metric.
entity_id_precedence: boolWhether a client-supplied entity ID takes precedence over the detected origin.
tag_cardinality: OriginTagCardinalityTag cardinality applied to origin-detected tags.
Trait Implementations§
Source§impl Clone for OriginDetection
impl Clone for OriginDetection
Source§fn clone(&self) -> OriginDetection
fn clone(&self) -> OriginDetection
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 OriginDetection
impl Debug for OriginDetection
Source§impl Default for OriginDetection
impl Default for OriginDetection
Source§fn default() -> OriginDetection
fn default() -> OriginDetection
Returns the “default value” for a type. Read more
Source§impl PartialEq for OriginDetection
impl PartialEq for OriginDetection
Source§impl Serialize for OriginDetection
impl Serialize for OriginDetection
impl StructuralPartialEq for OriginDetection
Auto Trait Implementations§
impl Freeze for OriginDetection
impl RefUnwindSafe for OriginDetection
impl Send for OriginDetection
impl Sync for OriginDetection
impl Unpin for OriginDetection
impl UnwindSafe for OriginDetection
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