-
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
Cloudwatch input plugin doesn't work with prometheus output metric_version 2 #6926
Comments
Can you add the output of this command?
|
Telegraf has been updated to version
The outputs seem similar to me, but I'm still not getting any cloudwatch metric in the metric HTTP page nor in prometheus when |
I not able to replicate, here is what I'm doing:
Check the output, this is only showing the first metric but the others are there too though.
|
I tried to do the same, no output at all:
Telegraf is installed via the
Thanks for your help. |
I just tried with 2 different container, a Centos 7 and a Debian 9, same telegraf version, same input file: no output again. |
Can you enable the |
There's the output of the
|
Hitting the same issue, using Telegraf 1.13.3 on Ubuntu 18.04 from Influx repos. InfluxDB output plugin correctly submits the metrics to InfluxDB, but prometheus_client output plugin does not display any at the metrics endpoint. |
I think I figured out the cause of this, in Try setting |
Indeed that seems to work! Thank you! This should be a good holdover until |
Can confirm it works, thanks! |
Since the introduction of the
metric_version = 2
configuration the cloudwatch input plugin doesn't produce any metric.Relevant telegraf.conf:
System info:
Steps to reproduce:
metric_version = 2
in the prometheus output section as recommended since the latest telegraf versionExpected behavior:
The telegraf prometheus output should be the same as with the
metric_version = 1
configuration.Actual behavior:
The telegraf output is entirely missing the cloudwatch input plugin metrics.
Additional info:
No message of any sort is logged by telegraf.
The text was updated successfully, but these errors were encountered: