diff options
author | Erik Johnston <erik@matrix.org> | 2019-06-19 11:49:39 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-06-19 11:49:39 +0100 |
commit | 65787b0f7c8b1c1725da63ceeca4d3e25607af1f (patch) | |
tree | d078f290c078bced29e560322c564599ed8bbc6b /synapse/state/__init__.py | |
parent | Only count non-cache state resolution (diff) | |
download | synapse-65787b0f7c8b1c1725da63ceeca4d3e25607af1f.tar.xz |
Add descriptions and remove redundant set(..)
Diffstat (limited to 'synapse/state/__init__.py')
-rw-r--r-- | synapse/state/__init__.py | 3 |
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"), ) |