summary refs log tree commit diff
path: root/synapse/handlers/appservice.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-07-01 15:23:58 +0100
committerGitHub <noreply@github.com>2020-07-01 15:23:58 +0100
commit1e03513f9aa0b266a4bd4a7bcd1c26b22c43a2eb (patch)
tree5d102644202d2353909ceb89b745408e1ebe75e5 /synapse/handlers/appservice.py
parentPin link in CHANGES.md (diff)
downloadsynapse-1e03513f9aa0b266a4bd4a7bcd1c26b22c43a2eb.tar.xz
Fix new metric where we used ms instead of seconds (#7771)
Introduced in #7755, not yet released.
Diffstat (limited to 'synapse/handlers/appservice.py')
-rw-r--r--synapse/handlers/appservice.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/appservice.py b/synapse/handlers/appservice.py
index f7d9fd621e..904c96eeec 100644
--- a/synapse/handlers/appservice.py
+++ b/synapse/handlers/appservice.py
@@ -118,7 +118,7 @@ class ApplicationServicesHandler(object):
                         ts = yield self.store.get_received_ts(event.event_id)
                         synapse.metrics.event_processing_lag_by_event.labels(
                             "appservice_sender"
-                        ).observe(now - ts)
+                        ).observe((now - ts) / 1000)
 
                     @defer.inlineCallbacks
                     def handle_room_events(events):