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

Second HELP line forMultiple help for metric name "mktxp_system_identity_info" #209

Open
gimli2 opened this issue Dec 19, 2024 · 0 comments

Comments

@gimli2
Copy link

gimli2 commented Dec 19, 2024

When multiple hosts configured, the prometheus export issues duplicate lines with HELP message:
# HELP mktxp_system_identity_info System identity

which confuses the telegraf, when grabbing these metrics:
[inputs.prometheus] Error in plugin: error reading metrics for "http://localhost:49090/metrics": decoding response failed: text format parsing error in line 195: second HELP line for metric name "mktxp_system_identity_info"

Regarding the prometheus docs: Only one HELP line may exist for any given metric name.

Therefore IMHO the mktxp should output only one HELP line in metrics export, when multiple host are configured and the metric line mktxp_system_identity_info differ only by label values.

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

1 participant