Struct relay_dynamic_config::Metrics
source · pub struct Metrics {
pub cardinality_limits: Vec<CardinalityLimit>,
pub denied_names: TypedPatterns,
pub denied_tags: Vec<TagBlock>,
}
Expand description
Configuration for metrics filtering.
Fields§
§cardinality_limits: Vec<CardinalityLimit>
List of cardinality limits to enforce for this project.
denied_names: TypedPatterns
List of patterns for blocking metrics based on their name.
Configuration for removing tags from a bucket.
Note that removing tags does not drop the overall metric bucket.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Metrics
impl<'de> Deserialize<'de> for Metrics
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
impl StructuralPartialEq for Metrics
Auto Trait Implementations§
impl Freeze for Metrics
impl RefUnwindSafe for Metrics
impl Send for Metrics
impl Sync for Metrics
impl Unpin for Metrics
impl UnwindSafe for Metrics
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
)