Closed marceldegraaf closed 8 years ago
Thanks for the report, that's a silly bug. I've put it on our list for the Digital Ocean Hacktoberfest as it's a nice starter project.
Hi @brian-brazil, any news on this? Because of this limitation we can currently not export some data to Prometheus, because the export file contains multiple identical help strings which is invalid syntax.
the export file contains multiple identical help strings which is invalid syntax.
That should be valid syntax, only if they're different will you get an error last time I checked.
This was fixed in #12
Great, thanks!
According to the code it's possible to add a
help
tag to a JSON metrics object, which – I guess – should then be used in the metrics output for Prometheus. For example:However, when compiling the final help text for Prometheus, this override is ignored. Instead of returning
rule.help
, a generated help string is always returned.