-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Change disk and network metrics to use Sum statistic method #20680
Conversation
Pinging @elastic/integrations-platforms (Team:Platforms) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, there seems to be some linting issues but don't look related to this change 🤔
I have added a couple of questions and suggestions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing the suggestions! I have added some more nitpicking suggestions 😬 but it LGTM.
…20680) * Change disk and network metrics to use Sum statistic method
What does this PR do?
This PR is to change disk and network metrics from
Average
toSum
statistic method. This way, the values are total in the collection period, not an average. For host inventory schema work, we identified several common host metrics and for disk and network, these metrics should be gauges, which is the total value in a period of time.Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.How to test this PR locally
aws
module and change aws.yml to:Start Metricbeat
Check metrics in Kibana and compare with CloudWatch portal with Statistic=Sum and Period=5 Minutes: