pub struct MetricExtractionGroup {
pub is_enabled: bool,
pub metrics: Vec<MetricSpec>,
pub tags: Vec<TagMapping>,
}
Expand description
Group of metrics & tags that can be enabled or disabled as a group.
Fields§
§is_enabled: bool
Whether the set is enabled by default.
Project configs can overwrite this flag to opt-in or out of a set.
metrics: Vec<MetricSpec>
A list of metric specifications to extract.
A list of tags to add to previously extracted metrics.
These tags add further tags to a range of metrics. If some metrics already have a matching tag extracted, the existing tag is left unchanged.
Trait Implementations§
source§impl Clone for MetricExtractionGroup
impl Clone for MetricExtractionGroup
source§fn clone(&self) -> MetricExtractionGroup
fn clone(&self) -> MetricExtractionGroup
Returns a copy 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 MetricExtractionGroup
impl Debug for MetricExtractionGroup
source§impl<'de> Deserialize<'de> for MetricExtractionGroup
impl<'de> Deserialize<'de> for MetricExtractionGroup
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MetricExtractionGroup
impl RefUnwindSafe for MetricExtractionGroup
impl Send for MetricExtractionGroup
impl Sync for MetricExtractionGroup
impl Unpin for MetricExtractionGroup
impl UnwindSafe for MetricExtractionGroup
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)