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

Normalize telegraf collection interval on even intervals #301

Closed
sparrc opened this issue Oct 21, 2015 · 2 comments
Closed

Normalize telegraf collection interval on even intervals #301

sparrc opened this issue Oct 21, 2015 · 2 comments

Comments

@sparrc
Copy link
Contributor

sparrc commented Oct 21, 2015

ie, if you specify interval = "10s" then you will get metrics stamped at :00, :10, :20, etc.

This will also introduce a flush_jitter option so that multiple telegraf instances don't all flush at exactly the same time.

@sparrc sparrc closed this as completed in a1067fa Oct 21, 2015
@sparrc
Copy link
Contributor Author

sparrc commented Oct 22, 2015

@daviesalex I wanted to let you know that this is also in HEAD because you mentioned this in case #285. I'm hoping that the jitter is enough to allay your concerns, the default behavior is a jitter of 5s with a flush interval of 10s.

The way that it's implemented, flush_interval is the minimum flush time, and flush_interval + flush_jitter would be the max flush time.

It sounds like you are experienced running Telegraf instances at scale, so I'd like to get your input on this before it ends up in the next release.

@daviesalex
Copy link

Some initial real world data from this can be found at #298 (comment)

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

No branches or pull requests

2 participants