-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aggregate metrics transform(s) #3668
Comments
This could be a follow-up, but I think it'd be useful to be able to aggregate histogram statistics as well to reduce the samples down to just p50, p95. p99, etc. This would reduce the amount of data being sent with the trade-off of less granularity downstream. |
I would also be interested in this kind of transform. High level use case: detection of log stoppages based on metrics. We use an enterprise log platform which imposes license limits. Therefore, we filter logs based on use cases instead of sending all of the logs. It is possible that a system sent its logs, but due to the filtering it may seem like it hasn't sent anything leading to false positives. I would like to use metrics based on the event stream before filtering to overcome this issue. Unfortunately, metric events are also impacting the license volume, so aggregating the metrics per host over fixed time intervals seems like the way to go. |
Noting, per #8628, this should also permit aggregating across metric tags. |
Adds more functions to `aggregate` transform. Closes: vectordotdev#3668
Would love to see this implemented. +1 |
…rm (#20836) * feat(aggregate transform): add more aggregations to aggregate transform Adds more functions to `aggregate` transform. Closes: #3668 * Add changelog entry * Add implementation for more aggregation functions * Add test for min and max mode * Implement Diff aggregation * Add mean and stdev aggregations * Update aggregate component docs * Clean up mean calculation in metrics aggregation Co-authored-by: Pavlos Rontidis <[email protected]> * Remove `metric::` prefix in aggregate transform tests * Emit errors when conflicting types are found during flush * reduce code dulpication for MIN and MAX * Clean up `record_count` in aggregate transform Co-authored-by: Pavlos Rontidis <[email protected]> * Remove unnecessary metric prefix in aggregate transform --------- Co-authored-by: Pavlos Rontidis <[email protected]>
…rm (vectordotdev#20836) * feat(aggregate transform): add more aggregations to aggregate transform Adds more functions to `aggregate` transform. Closes: vectordotdev#3668 * Add changelog entry * Add implementation for more aggregation functions * Add test for min and max mode * Implement Diff aggregation * Add mean and stdev aggregations * Update aggregate component docs * Clean up mean calculation in metrics aggregation Co-authored-by: Pavlos Rontidis <[email protected]> * Remove `metric::` prefix in aggregate transform tests * Emit errors when conflicting types are found during flush * reduce code dulpication for MIN and MAX * Clean up `record_count` in aggregate transform Co-authored-by: Pavlos Rontidis <[email protected]> * Remove unnecessary metric prefix in aggregate transform --------- Co-authored-by: Pavlos Rontidis <[email protected]>
Aggregate Vector's metric types into coarser metrics across a configurable time interval.
Proposed 1.0 aggregations
Ref:
The text was updated successfully, but these errors were encountered: