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:49:36 +0100 |
commit | 8df7bad839f04cbcabf066fe549df14879639ef5 (patch) | |
tree | 49b9b11fe70fc8a1956de164395ff6143584f174 /synapse | |
parent | disable CPUMetrics if no /proc/self/stat (diff) | |
download | synapse-8df7bad839f04cbcabf066fe549df14879639ef5.tar.xz |
pep8
Diffstat (limited to 'synapse')
-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): |