MatrixSynapse/synapse/metrics
Richard van der Hoff ae01a7edd3
Update type annotations for compatiblity with prometheus_client 0.14 (#12389)
Principally, `prometheus_client.REGISTRY.register` now requires its argument to
extend `prometheus_client.Collector`.

Additionally, `Gauge.set` is now annotated so that passing `Optional[int]`
causes an error.
2022-04-06 12:59:04 +00:00
..
__init__.py Update type annotations for compatiblity with prometheus_client 0.14 (#12389) 2022-04-06 12:59:04 +00:00
_exposition.py Add type annotations to `synapse.metrics` (#10847) 2021-11-17 19:07:02 +00:00
_gc.py Update type annotations for compatiblity with prometheus_client 0.14 (#12389) 2022-04-06 12:59:04 +00:00
_reactor_metrics.py Update type annotations for compatiblity with prometheus_client 0.14 (#12389) 2022-04-06 12:59:04 +00:00
_types.py Update type annotations for compatiblity with prometheus_client 0.14 (#12389) 2022-04-06 12:59:04 +00:00
background_process_metrics.py Update type annotations for compatiblity with prometheus_client 0.14 (#12389) 2022-04-06 12:59:04 +00:00
jemalloc.py Update type annotations for compatiblity with prometheus_client 0.14 (#12389) 2022-04-06 12:59:04 +00:00