summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2018-05-29 02:32:15 +0100
committerMatthew Hodgson <matthew@matrix.org>2018-05-29 02:32:15 +0100
commitff1bc0a2796b07558f252f3bd2645c2b5c5088f4 (patch)
tree318658739803c6b6a1d176a508e6ae8673881e4c
parentdisable CPUMetrics if no /proc/self/stat (diff)
downloadsynapse-ff1bc0a2796b07558f252f3bd2645c2b5c5088f4.tar.xz
pep8
-rw-r--r--synapse/metrics/__init__.py1
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):