synapse/synapse/util
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
..
caches Update metrics linting to be able to handle custom metrics (#18733) 2025-08-01 15:34:11 -05:00
__init__.py Make .sleep(..) return a coroutine (#18772) 2025-08-05 09:30:52 +01:00
async_helpers.py Cleanup Python 3.8 leftovers (#17967) 2025-02-10 16:53:24 +00:00
batching_queue.py Refactor Gauge metrics to be homeserver-scoped (#18725) 2025-07-29 10:37:59 -05:00
cancellation.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
check_dependencies.py Update latest_deps workflow to migrate poetry --no-dev -> --without dev (#18617) 2025-07-11 12:34:37 +01:00
constants.py Fix typo of Math.pow, ^ -> ** (#18543) 2025-06-13 11:36:21 +00:00
daemonize.py Enable flake8-logging and flake8-logging-format rules in Ruff and fix related issues throughout the codebase (#18542) 2025-06-13 09:44:18 +02:00
distributor.py Refactor background process metrics to be homeserver-scoped (#18670) 2025-07-23 13:28:17 -05:00
events.py Add plain-text handling for rich-text topics as per MSC3765 (#18195) 2025-07-09 14:13:54 -05:00
file_consumer.py Update license headers 2023-11-21 15:29:58 -05:00
frozenutils.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
gai_resolver.py Bump mypy from 1.13.0 to 1.16.1 (#18653) 2025-07-15 14:42:54 +01:00
hash.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
httpresourcetree.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
iterutils.py Bump ruff from 0.7.3 to 0.11.10 (#18451) 2025-05-20 15:23:30 +01:00
linked_list.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
logcontext.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
logformatter.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
macaroons.py Cleanup Python 3.8 leftovers (#17967) 2025-02-10 16:53:24 +00:00
manhole.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
metrics.py Refactor Measure block metrics to be homeserver-scoped (v2) (#18601) 2025-07-15 15:55:23 -05:00
module_loader.py Update license headers 2023-11-21 15:29:58 -05:00
msisdn.py Return specific error code when email / phone not supported (#17578) 2025-05-05 11:08:50 +02:00
patch_inline_callbacks.py Bump mypy from 1.13.0 to 1.16.1 (#18653) 2025-07-15 14:42:54 +01:00
pydantic_models.py Update implementation of MSC4306: Thread Subscriptions to include automatic subscription conflict prevention as introduced in later drafts. (#18756) 2025-08-05 18:22:53 +00:00
ratelimitutils.py Re-introduce: Fix LaterGauge metrics to collect from all servers (#18791) 2025-09-02 12:14:27 -05:00
retryutils.py Refactor background process metrics to be homeserver-scoped (#18670) 2025-07-23 13:28:17 -05:00
rlimit.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
rust.py Fix check for outdated Rust library (#17861) 2024-10-29 17:06:15 +00:00
stringutils.py Implement MSC4133 to support custom profile fields. (#17488) 2025-01-21 11:11:04 +00:00
task_scheduler.py Re-introduce: Fix LaterGauge metrics to collect from all servers (#18791) 2025-09-02 12:14:27 -05:00
templates.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
threepids.py Update license headers 2023-11-21 15:29:58 -05:00
wheel_timer.py Fix WheelTimer implementation that can expired timeout early (#17850) 2024-11-05 12:08:17 -06:00