Reliable Insights

The Python client can be used to check if a given metrics output is valid OpenMetrics format.

The OpenMetrics format is near completion with the last few details still being determined, but if you're working on an implementation you can check if what you have is valid as the draft spec currently stands. The Prometheus Python client contains the reference implementation of the OpenMetrics text format, and it's parser can be used to check that a given output is valid.

Install the latest version of the Python client if you don't already have it: