summary refs log tree commit diff
path: root/synapse/metrics/_twisted_exposition.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2023-07-12 15:32:17 +0100
committerErik Johnston <erik@matrix.org>2023-07-12 15:32:17 +0100
commit8cd0a81f251efb06671d435b58a122445b02adb9 (patch)
treebda85bd9e94f512f037cac2dbae11fa8b1e7430f /synapse/metrics/_twisted_exposition.py
parentFixup3 (diff)
downloadsynapse-erikj/exemplars.tar.xz
Set right content type header github/erikj/exemplars erikj/exemplars
Diffstat (limited to 'synapse/metrics/_twisted_exposition.py')
-rw-r--r--synapse/metrics/_twisted_exposition.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/metrics/_twisted_exposition.py b/synapse/metrics/_twisted_exposition.py
index 98ed3deb6a..14db036100 100644
--- a/synapse/metrics/_twisted_exposition.py
+++ b/synapse/metrics/_twisted_exposition.py
@@ -19,7 +19,7 @@ from prometheus_client.openmetrics.exposition import generate_latest
 from twisted.web.resource import Resource
 from twisted.web.server import Request
 
-CONTENT_TYPE_LATEST = "text/plain; version=0.0.4; charset=utf-8"
+CONTENT_TYPE_LATEST = "application/openmetrics-text; version=1.0.0; charset=utf-8"
 
 
 class MetricsResource(Resource):