diff options
author | Matthew Hodgson <matthew@matrix.org> | 2018-05-29 02:32:15 +0100 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2018-05-29 02:32:15 +0100 |
commit | ff1bc0a2796b07558f252f3bd2645c2b5c5088f4 (patch) | |
tree | 318658739803c6b6a1d176a508e6ae8673881e4c | |
parent | disable CPUMetrics if no /proc/self/stat (diff) | |
download | synapse-ff1bc0a2796b07558f252f3bd2645c2b5c5088f4.tar.xz |
pep8
Diffstat (limited to '')
-rw-r--r-- | synapse/metrics/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/metrics/__init__.py b/synapse/metrics/__init__.py index 6b5b0c9471..bfdbbc9a23 100644 --- a/synapse/metrics/__init__.py +++ b/synapse/metrics/__init__.py @@ -36,6 +36,7 @@ all_gauges = {} HAVE_PROC_SELF_STAT = os.path.exists("/proc/self/stat") + class RegistryProxy(object): def collect(self): |