summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-10-10 09:24:39 +0100
committerErik Johnston <erik@matrix.org>2018-10-10 09:24:39 +0100
commit395276b4051123d369aab5deab020f816479c63b (patch)
tree1553ea4847cd90f917ac4636150762df91054a6c /synapse/handlers
parentNewsfile (diff)
downloadsynapse-395276b4051123d369aab5deab020f816479c63b.tar.xz
Append _total to metric and fix up spelling
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/sync.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py
index 58edf21472..41daa1d888 100644
--- a/synapse/handlers/sync.py
+++ b/synapse/handlers/sync.py
@@ -40,9 +40,9 @@ logger = logging.getLogger(__name__)
 
 
 # Counts the number of times we got asked for a lazy loaded sync. Type is one of
-# initial_sync, full_sate_sync or incremental_sync
+# initial_sync, full_state_sync or incremental_sync
 lazy_member_sync_counter = Counter(
-    "synapse_handlers_sync_lazy_member_sync", "", ["type"],
+    "synapse_handlers_sync_lazy_member_sync_total", "", ["type"],
 )
 
 # Store the cache that tracks which lazy-loaded members have been sent to a given