We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e89fd5 commit 9714b54Copy full SHA for 9714b54
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