pub struct Aggregation {
pub window_duration_seconds: u64,
pub context_limit: usize,
pub flush_interval: Duration,
pub flush_open_windows: bool,
pub passthrough_idle_flush_timeout: Duration,
pub counter_expiry_seconds: Option<u64>,
pub context_expiry_seconds: u64,
pub flush_incomplete_buckets: bool,
pub no_aggregation_pipeline: bool,
pub aggregator_tag_filter_cache_capacity: usize,
}Expand description
Metric aggregation window and flush behavior.
Fields§
§window_duration_seconds: u64Length, in seconds, of each aggregation window; must be non-zero. (not in Datadog Agent config schema)
context_limit: usizeMaximum number of contexts held per aggregation window. (not in Datadog Agent config schema)
flush_interval: DurationHow often aggregated metrics are flushed. (not in Datadog Agent config schema)
flush_open_windows: boolWhether windows that are still open are flushed on shutdown. (not in Datadog Agent config schema)
passthrough_idle_flush_timeout: DurationHow long the no-aggregation passthrough waits before flushing while idle. (not in Datadog Agent config schema)
counter_expiry_seconds: Option<u64>How long, in seconds, a counter value is retained after its last update before expiring.
context_expiry_seconds: u64How long, in seconds, a context is retained after its last update before expiring.
flush_incomplete_buckets: boolWhether incomplete aggregation buckets are flushed rather than discarded.
no_aggregation_pipeline: boolWhether metrics bypass aggregation and are forwarded directly.
aggregator_tag_filter_cache_capacity: usizeCapacity of the aggregator’s tag-filter result cache.
Trait Implementations§
Source§impl Clone for Aggregation
impl Clone for Aggregation
Source§fn clone(&self) -> Aggregation
fn clone(&self) -> Aggregation
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more