Skip to content

Commit e22a488

Browse files
fix(traceloop-sdk): redefine histogram bucket boundaries (#3129)
Co-authored-by: Nir Gazit <[email protected]>
1 parent c284db2 commit e22a488

File tree

1 file changed

+0
-21
lines changed
  • packages/traceloop-sdk/traceloop/sdk/metrics

1 file changed

+0
-21
lines changed

packages/traceloop-sdk/traceloop/sdk/metrics/metrics.py

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -88,27 +88,6 @@ def metric_views() -> Sequence[View]:
8888
return [
8989
View(
9090
instrument_name=Meters.LLM_TOKEN_USAGE,
91-
aggregation=ExplicitBucketHistogramAggregation(
92-
[
93-
0.01,
94-
0.02,
95-
0.04,
96-
0.08,
97-
0.16,
98-
0.32,
99-
0.64,
100-
1.28,
101-
2.56,
102-
5.12,
103-
10.24,
104-
20.48,
105-
40.96,
106-
81.92,
107-
]
108-
),
109-
),
110-
View(
111-
instrument_name=Meters.LLM_OPERATION_DURATION,
11291
aggregation=ExplicitBucketHistogramAggregation(
11392
[
11493
1,

0 commit comments

Comments
 (0)