diff options
author | Erik Johnston <erik@matrix.org> | 2023-07-12 15:32:17 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2023-07-12 15:32:17 +0100 |
commit | 8cd0a81f251efb06671d435b58a122445b02adb9 (patch) | |
tree | bda85bd9e94f512f037cac2dbae11fa8b1e7430f | |
parent | Fixup3 (diff) | |
download | synapse-erikj/exemplars.tar.xz |
Set right content type header github/erikj/exemplars erikj/exemplars
-rw-r--r-- | synapse/metrics/_twisted_exposition.py | 2 |
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): |