We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0e89fd5 + 9714b54 commit 5741167Copy full SHA for 5741167
tests/test_summary.py
@@ -23,7 +23,7 @@ def test_random_observations(num_observations, summary, registry):
23
labels = {"key": "value"}
24
sum_observations = 0
25
for _ in range(num_observations):
26
- value = random.randint(1, 1000) / 100
+ value = random.uniform(0, 10)
27
summary.labels(**labels).observe(value)
28
sum_observations += value
29
0 commit comments