summary refs log tree commit diff
path: root/synapse/state
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-06-19 11:49:39 +0100
committerErik Johnston <erik@matrix.org>2019-06-19 11:49:39 +0100
commit65787b0f7c8b1c1725da63ceeca4d3e25607af1f (patch)
treed078f290c078bced29e560322c564599ed8bbc6b /synapse/state
parentOnly count non-cache state resolution (diff)
downloadsynapse-65787b0f7c8b1c1725da63ceeca4d3e25607af1f.tar.xz
Add descriptions and remove redundant set(..)
Diffstat (limited to 'synapse/state')
-rw-r--r--synapse/state/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/state/__init__.py b/synapse/state/__init__.py
index b914a5ba03..4b136b3054 100644
--- a/synapse/state/__init__.py
+++ b/synapse/state/__init__.py
@@ -40,7 +40,8 @@ logger = logging.getLogger(__name__)
 
 # Metrics for number of state groups involved in a resolution.
 state_groups_histogram = Histogram(
-    "synapse_state_number_state_groups", "",
+    "synapse_state_number_state_groups_in_resolution",
+    "Number of state groups used when performing a state resolution",
     buckets=(1, 2, 3, 5, 7, 10, 15, 20, 50, 100, 200, 500, "+Inf"),
 )