summary refs log tree commit diff
path: root/changelog.d/7730.bugfix
diff options
context:
space:
mode:
authorChristian Svensson <blue@cmd.nu>2020-06-23 19:06:01 +0200
committerGitHub <noreply@github.com>2020-06-23 18:06:01 +0100
commit8bbe87f42d7736b3f11db0fcfb4557b214e0356d (patch)
tree40e1cbcdf20d26fca2d141c41e14c212aa958127 /changelog.d/7730.bugfix
parentSync ignored table names in synapse_port_db to current database schema (#7717) (diff)
downloadsynapse-8bbe87f42d7736b3f11db0fcfb4557b214e0356d.tar.xz
Set Content-Length for Metrics requests (#7730)
HTTP requires the response to contain a Content-Length header unless chunked encoding is being used.
Prometheus metrics endpoint did not set this, causing software such as prometheus-proxy to not be able to scrape synapse for metrics.

Signed-off-by: Christian Svensson <blue@cmd.nu>
Diffstat (limited to '')
-rw-r--r--changelog.d/7730.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/7730.bugfix b/changelog.d/7730.bugfix
new file mode 100644
index 0000000000..9da254b56c
--- /dev/null
+++ b/changelog.d/7730.bugfix
@@ -0,0 +1 @@
+Fix missing `Content-Length` on HTTP responses from the metrics handler.