Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(new transform): Aggregate transform to reduce metric volume main…
…taining data (#7846) * WIP: exploration of aggregate transform Signed-off-by: Ross McFarland <[email protected]> * Rework plumbing based on Reduce to allow async/timer generation Signed-off-by: Ross McFarland <[email protected]> * Working a/b maps for Aggregate Signed-off-by: Ross McFarland <[email protected]> * Working statsd style aggregation Signed-off-by: Ross McFarland <[email protected]> * Add tests for aggregate and rework/fix bits found Signed-off-by: Ross McFarland <[email protected]> * Use MetricData::update, we already know it's incremental Signed-off-by: Ross McFarland <[email protected]> * Documentation for aggregate transform Signed-off-by: Ross McFarland <[email protected]> * cue fixes Signed-off-by: Ross McFarland <[email protected]> * Remove , and fix tab/spaces in aggregate cue doc Signed-off-by: Ross McFarland <[email protected]> * Fix aggregate/add_tags copy-n-paste error Signed-off-by: Ross McFarland <[email protected]> * More aggregate cue fixes, this time from CI=true make check-docs Signed-off-by: Ross McFarland <[email protected]> * Use tokio::time::advance to force interval in aggregate test Signed-off-by: Ross McFarland <[email protected]> * aggregate single map Signed-off-by: Ross McFarland <[email protected]> * Full testing of aggregate flushing via shutdown and tick Signed-off-by: Ross McFarland <[email protected]> * aggregate: remove local map ref vars Signed-off-by: Ross McFarland <[email protected]> * guage -> gauge Signed-off-by: Ross McFarland <[email protected]> * Remove note about build vim var Signed-off-by: Ross McFarland <[email protected]> * Remove yield_now's and other small tweaks to aggregate interval test Signed-off-by: Ross McFarland <[email protected]> * aggregate: rework of transform stream loop Signed-off-by: Ross McFarland <[email protected]> * Provide serde default for aggregate interval_ms Signed-off-by: Ross McFarland <[email protected]> * aggregate use into_metric and into_parts to avoid clones Signed-off-by: Ross McFarland <[email protected]> * Rework aggregate description and add how_it_works section with details. Fix internal events. Signed-off-by: Ross McFarland <[email protected]> * Remove count return from flush_into Signed-off-by: Ross McFarland <[email protected]> * Ditch me = mut self pattern Signed-off-by: Ross McFarland <[email protected]> * Remove tags from tests Signed-off-by: Ross McFarland <[email protected]> * Use panic\!(message) rather than assert\!(false) in unexpected test situations Signed-off-by: Ross McFarland <[email protected]> * Switch to map entry api and emit metric for failed updates Signed-off-by: Ross McFarland <[email protected]> * Store and use event metadata Signed-off-by: Ross McFarland <[email protected]> * Wording updates and corrections for aggregate doc Signed-off-by: Ross McFarland <[email protected]> * Avoid clone in update or insert logic for aggregate Signed-off-by: Ross McFarland <[email protected]> * Move unused import Also rustfmt Signed-off-by: Jesse Szwedko <[email protected]> * clippy suggested cleanup for aggregate Signed-off-by: Ross McFarland <[email protected]> * Correctly handle mis-matching kind's and explicitly test conflicting kind and value types Signed-off-by: Ross McFarland <[email protected]> * make clippy happy Signed-off-by: Ross McFarland <[email protected]> * More clippy fodder Signed-off-by: Ross McFarland <[email protected]> Co-authored-by: Jesse Szwedko <[email protected]>
- Loading branch information