Compare commits

...

6 Commits

2 changed files with 19 additions and 0 deletions

1
changelog.d/13478.misc Normal file
View File

@@ -0,0 +1 @@
Fix the `synapse_http_server_response_time_seconds` metric not having buckets big enough for requests that take more than 10s.

View File

@@ -43,6 +43,24 @@ response_timer = Histogram(
"synapse_http_server_response_time_seconds",
"sec",
["method", "servlet", "tag", "code"],
buckets=(
0.005,
0.01,
0.025,
0.05,
0.1,
0.25,
0.5,
1.0,
2.5,
5.0,
10.0,
30.0,
60.0,
120.0,
180.0,
"+Inf",
),
)
response_ru_utime = Counter(