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 skipCounterRates functionality to reduce metric volume #671

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sbonebrake
Copy link

This adds a configuration option for skipping the calculation of counter rates. This can save a lot of metric volume if the user uses a consistent flushInterval and would rather calculate rate at query time.

@sbonebrake
Copy link
Author

This is similar to #670 by @ttstarck but for counters instead of timers.

@sbonebrake
Copy link
Author

After thinking about this some more, i probably reverse this and only send the rates. Rate is always per second while the meaning of the count depends on the flushInterval, so it would make more sense to multiply the rate * 60 at query time if you wanted the count. Thoughts?

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.

None yet

1 participant