Skip to content
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

Add cumulative to delta conversion for JMX metrics. #1264

Merged
merged 1 commit into from
Jul 30, 2024
Merged

Conversation

jefchien
Copy link
Contributor

Description of the issue

There are quite a few JMX metrics (e.g. kafka.message.count, kafka.network.io, etc.) that are reported as cumulative sums/histograms. In CloudWatch, these metrics are more useful as deltas, which will allow for easier alarming and anomaly detection. We've made the decision to convert all applicable JMX metrics to deltas.

Description of changes

Adds the cumulativetodelta processor to all JMX pipelines.

License

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Tests

Added unit tests.

Requirements

Before commit the code, please do the following steps.

  1. Run make fmt and make fmt-sh
  2. Run make lint

@jefchien jefchien requested a review from a team as a code owner July 30, 2024 17:46
@JayPolanco JayPolanco self-requested a review July 30, 2024 19:21
@jefchien jefchien merged commit 91b71a7 into main Jul 30, 2024
6 checks passed
@jefchien jefchien deleted the jmx-delta branch July 30, 2024 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants