Skip to content

Commit

Permalink
Update metrics_sdk/lib/opentelemetry/sdk/metrics/aggregation/exponent…
Browse files Browse the repository at this point in the history
…ial_bucket_histogram.rb

Co-authored-by: Kayla Reopelle <87386821+kaylareopelle@users.noreply.github.com>
  • Loading branch information
xuan-cao-swi and kaylareopelle authored Jan 10, 2025
1 parent 354649e commit a0d0595
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class ExponentialBucketHistogram # rubocop:disable Metrics/ClassLength
MIN_SCALE = -10
MAX_SIZE = 160

# The default boundaries is calculated based on default max_size and max_scale value
# The default boundaries are calculated based on default max_size and max_scale values
def initialize(
aggregation_temporality: ENV.fetch('OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE', :delta), # TODO: aggregation_temporality should be renamed to collect_aggregation_temporality for clear definition
max_size: MAX_SIZE,
Expand Down

0 comments on commit a0d0595

Please sign in to comment.