-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
plugin entry collection_jitter doesn't take precedence over [agent] collection_jitter #15227
Comments
@iridos actually, the plugin's option has precedence _if and only if it is not zero. :-( So setting the jitter to e.g. one nanosecond will override the agent's setting. This, or defining the jitter per plugin keeping the agent's setting zero, is the only workaround I can offer. Solving this issue would involving a massive restructuring of the configuration handling as we currently instantiate plugins as we load the configs and we cannot guarantee the |
Oh, ok. This might be something to put into the documentation, though. |
I do agree. Would you be willing to submit a PR? |
mh, I can try. But I am not too familiar with git and nor with the documentation structure. |
That would be the primary place to update. Thanks! |
Relevant telegraf.conf
collection_jitter = "10s"
removed from configLogs from Telegraf
System info
Telegraf 1.30.1
Docker
No response
Steps to reproduce
...
Expected behavior
Actual behavior
when [agent] configures jitter 10s and plugin configures jitter 0s, we see jitter in test output (see output "logs" section)
Additional info
No response
The text was updated successfully, but these errors were encountered: