Skip to content

Commit

Permalink
Update OpenMetrics Content Type to 1.0.0 (#997)
Browse files Browse the repository at this point in the history
OpenMetrics has been released and we support 1.0.0 not 0.0.1.

Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
  • Loading branch information
csmarchbanks committed Feb 1, 2024
1 parent 998d8af commit 9dd6b0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prometheus_client/openmetrics/exposition.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from ..utils import floatToGoString

CONTENT_TYPE_LATEST = 'application/openmetrics-text; version=0.0.1; charset=utf-8'
CONTENT_TYPE_LATEST = 'application/openmetrics-text; version=1.0.0; charset=utf-8'
"""Content type of the latest OpenMetrics text format"""


Expand Down

0 comments on commit 9dd6b0d

Please sign in to comment.