Skip to content

feat(aggregators.basicstats): Add "last" field #15030

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

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

mstrandboge
Copy link
Member

Summary

Adds a last field to the basic stats aggregator to track the last aggregated value of a metric.

Checklist

  • No AI generated code was used in this PR

Related issues

resolves #6263

@telegraf-tiger telegraf-tiger bot added feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/aggregator 1. Request for new aggregator plugins 2. Issues/PRs that are related to aggregator plugins labels Mar 20, 2024
Copy link
Contributor

@powersj powersj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@powersj powersj added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Mar 21, 2024
@powersj powersj removed their assignment Mar 21, 2024
Copy link
Member

@srebhan srebhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. If someone want the last value timewise, we can still add a latest field. ;-)

@srebhan srebhan merged commit 9f085f6 into influxdata:master Mar 21, 2024
@github-actions github-actions bot added this to the v1.31.0 milestone Mar 21, 2024
@mstrandboge mstrandboge deleted the fix/6263 branch October 11, 2024 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/aggregator 1. Request for new aggregator plugins 2. Issues/PRs that are related to aggregator plugins ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.
3 participants