Skip to content

Commit 1fc2d10

Browse files
authored
Correct histogram bucket values in metrics.mdx (#1282)
1 parent 6e7bfd6 commit 1fc2d10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/src/content/docs/docs/observability/metrics.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,8 @@ HistogramState {
352352
buckets: [
353353
[ 0, 0 ], // No values in the 0-10 range
354354
[ 10, 7 ], // 7 values in the 10-20 range
355-
[ 20, 11 ], // 11 values in the 20-30 range
356-
[ 30, 20 ], // 20 values in the 30-40 range
355+
[ 20, 11 ], // 4 values in the 20-30 range
356+
[ 30, 20 ], // 9 values in the 30-40 range
357357
[ 40, 27 ], // and so on...
358358
[ 50, 38 ],
359359
[ 60, 53 ],
@@ -408,7 +408,7 @@ Example Output:
408408
HistogramState {
409409
buckets: [
410410
[ 1, 3 ], // 3 tasks completed in <= 1 ms
411-
[ 2, 13 ], // 13 tasks completed in <= 2 ms
411+
[ 2, 13 ], // 10 tasks completed in <= 2 ms
412412
[ 3, 17 ], // and so on...
413413
[ 4, 26 ],
414414
[ 5, 35 ],

0 commit comments

Comments
 (0)