This tool enables you to validate the format of Prometheus metrics, and make sure they can be scraped by a Prometheus server.
Prometheus supports two exposition formats: the Prometheus text-based exposition
format and OpenMetrics. The text-based exposition
format is widespread, and many applications and client libraries supports it.
Additionally, it can be used from scripts, to push metrics to the
Pushgateway or written to
*.prom files, to
be collected by the textfile collectors
(available in both the Node Exporter and the
Our toolkit also provides oy-expose, a standalone tool that can expose the metrics of a file to be consumed by Prometheus.
To use this tool, simply paste the content of your
*.prom file, the body of
your Pushgateway request, or the output of a
/metrics HTTP endpoint in the
following text area.
Then, click on the “Lint” button.
You can click on the following button to load a few metrics:
This tool uses the Prometheus text-based exposition format. OpenMetrics is not supported yet.
Everything is run locally from your browser, we do not receive or collect your metrics.
This utilise behaves like the
promtool check metrics command, which is
downloadable with Prometheus.