the prometheus output plugin renders HELP and TYPE annotations
without the required '#' prefix, which is required according
to the format specification
the problem can be reproduced by running the following command:
ipa-healthcheck --all --output-type prometheus
expected output
# HELP ipa_healthcheck Number of healthchecks with a certain result
# TYPE ipa_healthcheck gauge
ipa_healthcheck{result="SUCCESS"} 1.0
actual output
HELP ipa_healthcheck Number of healthchecks with a certain result
TYPE ipa_healthcheck gauge
ipa_healthcheck{result="SUCCESS"} 1.0
the prometheus output plugin renders HELP and TYPE annotations without the required '#' prefix, which is required according to the format specification
the problem can be reproduced by running the following command:
ipa-healthcheck --all --output-type prometheus
expected output
actual output