diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2018-05-23 13:08:59 -0500 |
---|---|---|
committer | Amber Brown <hawkowl@atleastfornow.net> | 2018-05-23 13:08:59 -0500 |
commit | 389dac2c153f440d7ad6e9aee137ef40970b1394 (patch) | |
tree | 6244b53aec83d639ed7be19b9c3b7cdd9d731c09 | |
parent | add back CPU metrics (diff) | |
download | synapse-389dac2c153f440d7ad6e9aee137ef40970b1394.tar.xz |
pepeightttt
-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 64ad762ff1..e33ed6c9be 100644 --- a/synapse/metrics/__init__.py +++ b/synapse/metrics/__init__.py @@ -112,6 +112,7 @@ class CPUMetrics(object): sys.add_metric([], float(raw_stats[12]) / self.ticks_per_sec) yield sys + REGISTRY.register(CPUMetrics()) # |