Skip to content

Commit 0bba478

Browse files
authored
fix: enfore the aggregation_temporality as sym for exponential_histogram (#1858)
1 parent 1598d5c commit 0bba478

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

metrics_sdk/lib/opentelemetry/sdk/metrics/aggregation/exponential_bucket_histogram.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def initialize(
3131
record_min_max: true,
3232
zero_threshold: 0
3333
)
34-
@aggregation_temporality = aggregation_temporality
34+
@aggregation_temporality = aggregation_temporality.to_sym
3535
@record_min_max = record_min_max
3636
@min = Float::INFINITY
3737
@max = -Float::INFINITY

0 commit comments

Comments
 (0)