diff options
author | Eric Eastwood <erice@element.io> | 2022-08-08 22:06:13 -0500 |
---|---|---|
committer | Eric Eastwood <erice@element.io> | 2022-08-08 22:06:13 -0500 |
commit | ecd5a0d75fc8072bfb90e885cdb0d503783c2477 (patch) | |
tree | d6e83b2d5c3a9a630020ca50763f915e3b34cf4c | |
parent | Fix `@tag_args` being off-by-one (ahead) (#13452) (diff) | |
download | synapse-ecd5a0d75fc8072bfb90e885cdb0d503783c2477.tar.xz |
Allow grafana histogram quantiles to show values bigger than 10s
-rw-r--r-- | synapse/http/request_metrics.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/synapse/http/request_metrics.py b/synapse/http/request_metrics.py index 2b6d113544..9ff39b0833 100644 --- a/synapse/http/request_metrics.py +++ b/synapse/http/request_metrics.py @@ -43,6 +43,28 @@ response_timer = Histogram( "synapse_http_server_response_time_seconds", "sec", ["method", "servlet", "tag", "code"], + buckets=( + 0.005, + 0.01, + 0.025, + 0.05, + 0.075, + 0.1, + 0.25, + 0.5, + 0.75, + 1.0, + 2.5, + 5.0, + 7.5, + 10.0, + 30.0, + 60.0, + 120.0, + 180.0, + 200.0, + "+Inf", + ), ) response_ru_utime = Counter( |