synapse/synapse/metrics
Eric Eastwood bff4a11b3f
Re-introduce: Fix LaterGauge metrics to collect from all servers (#18791)
Re-introduce: https://github.com/element-hq/synapse/pull/18751 that was
reverted in https://github.com/element-hq/synapse/pull/18789 (explains
why the PR was reverted in the first place).

- Adds a `cleanup` pattern that cleans up metrics from each homeserver
in the tests. Previously, the list of hooks built up until our CI
machines couldn't operate properly, see
https://github.com/element-hq/synapse/pull/18789
- Fix long-standing issue with `synapse_background_update_status`
metrics only tracking the last database listed in the config (see
https://github.com/element-hq/synapse/pull/18791#discussion_r2261706749)
2025-09-02 12:14:27 -05:00
..
__init__.py Re-introduce: Fix LaterGauge metrics to collect from all servers (#18791) 2025-09-02 12:14:27 -05:00
_gc.py Update metrics linting to be able to handle custom metrics (#18733) 2025-08-01 15:34:11 -05:00
_reactor_metrics.py Update metrics linting to be able to handle custom metrics (#18733) 2025-08-01 15:34:11 -05:00
_types.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
background_process_metrics.py Update metrics linting to be able to handle custom metrics (#18733) 2025-08-01 15:34:11 -05:00
common_usage_metrics.py Refactor Gauge metrics to be homeserver-scoped (#18725) 2025-07-29 10:37:59 -05:00
jemalloc.py Update metrics linting to be able to handle custom metrics (#18733) 2025-08-01 15:34:11 -05:00