diff options
author | Erik Johnston <erik@matrix.org> | 2018-05-03 16:25:05 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-05-03 16:25:05 +0100 |
commit | 6d8ec3462d33daa5d390fca206ec2e281c27c38f (patch) | |
tree | dce04f454951d4aa0786589fe863cc3fa21b087d /synapse/metrics | |
parent | Fix metrics that have integer value labels (diff) | |
download | synapse-6d8ec3462d33daa5d390fca206ec2e281c27c38f.tar.xz |
Note that label values can be anything
Diffstat (limited to 'synapse/metrics')
-rw-r--r-- | synapse/metrics/metric.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/metrics/metric.py b/synapse/metrics/metric.py index 98d5ca7b6c..f421e7a93f 100644 --- a/synapse/metrics/metric.py +++ b/synapse/metrics/metric.py @@ -71,7 +71,8 @@ class BaseMetric(object): """Render this metric for a single set of labels Args: - label_values (list[str]): values for each of the labels + label_values (list[object]): values for each of the labels, + (which get stringified). value: value of the metric at with these labels Returns: |