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

field corresponding to `flush_jitter' is not defined in cloudwatch.CloudWatch #6698

Closed
adisharoon opened this issue Nov 21, 2019 · 2 comments

Comments

@adisharoon
Copy link

Relevant telegraf.conf:

[[outputs.cloudwatch]]
 region = "us-west-2"
 namespace = "Telegraf"
 flush_interval = "30s"
 flush_jitter = "30s"
 tagexclude = ["host"]

System info:

Telegraf 1.12.6 (git: HEAD 6c7f2d6)
Ubuntu 16.04.6 LTS

Steps to reproduce:

Added flush_jitter config to previously working cloudwatch output. A default flush_jitter is already defined at the agent level; this is intended to be an override, as described in the documentation (https://github.com/influxdata/telegraf/blob/master/docs/CONFIGURATION.md#output-plugins)

Expected behavior:

flush_jitter configuration for this output applied to just this output

Actual behavior:

telegraf fails to start with the following error:

telegraf[6248]: 2019-11-21T19:49:43Z E! [telegraf] Error running agent: Error parsing /etc/telegraf/telegraf.d/cloudwatch.conf, line 5: field corresponding to `flush_jitter' is not defined in cloudwatch.CloudWatch

@adisharoon
Copy link
Author

adisharoon commented Nov 21, 2019

So digging around in the issues here, it looks like this is a new feature that was added as part of #6603. I can't tell from the commit history if it should have gone into 1.12.6 or will be in a later version. It's just luck that we happened to need this for the first time today.

@danielnelson
Copy link
Contributor

That's correct, this feature is not released yet. When reading through the GitHub documentation, it will help to set the branch to the release branch of your version, release-1.12 in this case. You can also try out the nightly builds, any testing is appreciated.

You can't easily tell the version from the commit history, only bug fixes are added to the release branch.

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