element-hq / element-hq/synapse

Change response time histogram bucket sizes

Open
#6,804 0 comments 0 reactions 0 assignees View on GitHub
A-Metrics T-Enhancement z-feature z-p2
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

This issue has been migrated from [#6804](https://github.com/matrix-org/synapse/issues/6804).

---

**Description:**

The `synapse_http_server_response_time_seconds` histogram metric uses the default bucket sizes of `.005, .01, .025, .05, .075, .1, .25, .5, .75, 1.0, 2.5, 5.0, 7.5, 10.0, _INF`.

Considering that this also contains the sync endpoint which is expected to be in the 30s range quite often (and sometimes more for complex responses) it would be useful to change the bucket sizes to better reflect the actual values.

Another option would be to split out the sync endpoint response time into its own metric.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.