-
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
Prometheus output reports Error: collected metric has label dimensions inconsistent with previously collected metrics in the same metric family #2822
Comments
Seems to be caused by the version change in github.com/prometheus/client_golang |
This happens because ntpq input generates points where the list of tagkeys changes, in particular the
This can be verified by excluding the tag: [[outputs.prometheus_client]]
tagexclude = ["state_prefix"] |
|
@freeseacher Please take a look at #2857 and comment if that fix will work for you. |
@danielnelson, yep. that fixes issue for me. |
@danielnelson, any updates ? |
I'm still getting reports that the fix is not sufficient, I'm trying to get an improved version out today. |
Merged fix; 1.3.2 |
Bug report
Hello,
We have a regression between telegraf 1.2.1 and 1.3.0 (with the same configuration).
Relevant telegraf.conf:
System info:
Telegraf v1.3.0 (git: release-1.3 2bc5594b44145368823d7aa78bfb753ab51e9235)
Ubuntu 16.04.2 LTS
Steps to reproduce:
curl http://localhost:9126/metrics
x5 or moreExpected behavior:
Telegraf should expose collected metrics through
/metrics
endpointActual behavior:
Telegraf fail to display any metrics with this error message.
Additional info:
Use case:
Thanks in advance!
The text was updated successfully, but these errors were encountered: