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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_background_process_metrics.py | ||
| test_metrics.py | ||
| test_phone_home_stats.py | ||