synapse/tests/metrics
Eric Eastwood cda922830e
Clean up MetricsResource and Prometheus hacks (#18687)
Clean up `MetricsResource`, Prometheus hacks
(`_set_prometheus_client_use_created_metrics`), and better document why
we care about having a separate `metrics` listener type.

These clean-up changes have been split out from
https://github.com/element-hq/synapse/pull/18584 since that PR was
closed.
2025-07-17 11:57:19 -05:00
..
__init__.py Avoid incrementing bg process utime/stime counters by negative durations (#14323) 2022-10-31 13:02:07 +00:00
test_background_process_metrics.py Avoid incrementing bg process utime/stime counters by negative durations (#14323) 2022-10-31 13:02:07 +00:00
test_metrics.py Clean up MetricsResource and Prometheus hacks (#18687) 2025-07-17 11:57:19 -05:00
test_phone_home_stats.py Add a unit test for the phone home stats (#18463) 2025-05-20 16:26:45 +01:00