Skip to content
Snippets Groups Projects
Commit d7bf3a68 authored by Erik Johnston's avatar Erik Johnston
Browse files

s/list/tuple

parent f67e906e
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,7 @@ class CounterMetric(BaseMetric):
# dict[list[str]]: value for each set of label values. the keys are the
# label values, in the same order as the labels in self.labels.
#
# (if the metric is a scalar, the (single) key is the empty list).
# (if the metric is a scalar, the (single) key is the empty tuple).
self.counts = {}
# Scalar metrics are never empty
......@@ -155,7 +155,7 @@ class GaugeMetric(BaseMetric):
# dict[list[str]]: value for each set of label values. the keys are the
# label values, in the same order as the labels in self.labels.
#
# (if the metric is a scalar, the (single) key is the empty list).
# (if the metric is a scalar, the (single) key is the empty tuple).
self.guages = {}
def set(self, v, *values):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment