-
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
Consul plugin doesn't work since 1.6.4 with prometheus #5522
Comments
Try using [[inputs.consul]]
tagexclude = ["[0-9]*", "noc"] The situation is slightly different in 1.10, there is an error from Telegraf:
We need to ensure that metric names and labels conform to the naming requirements:
|
on 1.10.0 And on 1.9.5 workaround doesn't work. |
Try adding the empty string to the list of tagexclude:
|
Yes, that works. But only as workaround :) |
@ekbfh Please try the following build. If you still have issues, please provide the relevant sections from your |
@glinton Hello!
It was added in #4155 and i want to have an ability to disable it.
|
We will merge the consul empty tag fix for 1.10.1, but push this over to 1.10.2 for the prometheus fix. |
To help google, if you have this, what you may want is to define the example:
|
System info:
RHEL OS 3.10.0-862.11.6.el7.x86_64
Bug:
Telegraf 1.6.4 works well, any telegraf with greater version(1.7.0+) breaks the scrapping from telegraf with prometheus.
My case overview:
A custom proceses register in consul with their uniq tags.(
Tags: noc, 0193068a-3ddb-44e7-81c1-0528d28419e0
)Steps to reproduce:
On 1.6.4 it looks normal and don't break prometheus :
On 1.9.5 like:
With Prometheus error:
So i have additional info like
Additional info:
Also i have found this discussion:
#4155 (comment)
The text was updated successfully, but these errors were encountered: