Applications that expose Prometheus metrics are expected to include an HTTP header. The current header looks like this:
'Content-Type: text/plain; version=0.0.4'
artedi already has a global constant for specifying the Prometheus text format version, so we could also allow users to easily retrieve the HTTP header to include when they have their metrics endpoint scraped.
Applications that expose Prometheus metrics are expected to include an HTTP header. The current header looks like this:
artedi already has a global constant for specifying the Prometheus text format version, so we could also allow users to easily retrieve the HTTP header to include when they have their metrics endpoint scraped.