run-as-root / magento2-prometheus-exporter

Simple Magento 2 Prometheus Exporter.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiline comment breaks Prometheus format

schmengler opened this issue · comments

If activating `magento_cronjob_broken_count', Prometheus cannot parse these lines:

# HELP magento_cronjob_broken_count_total Magento 2 CronJob Broken Count. 
Broken CronJobs occur when when status is pending but execution_time is set.

For multiline help texts, we should probably add # before each line

Resolved by #11 (did not see that one)

Thanks for reporting this Fabian! Merged the PR.