SIGN IN SIGN UP

Add record_min_max option to exponential histogram aggregation (#5377)

* opentelemetry-sdk: add record_min_max option to exponential histogram aggregation

The spec defines RecordMinMax as a configuration parameter for both the
explicit bucket and base2 exponential bucket histogram aggregations, but
only the explicit bucket variant exposed it. Exponential histograms always
tracked min/max unconditionally, with no way to opt out.

* changelog: rename fragment to match PR 5377

* test: parameterize record_min_max tests with subTest per review feedback

Addresses PR review nits on #5377: cover explicit True/False and the
default case for record_min_max in a single parameterized test instead
of duplicating setup per case.

* fix(ci): split test_meter_provider.py to satisfy pylint max-module-lines

Root cause: the module reached 1018 lines, above pylint's
max-module-lines=1000 (C0302), causing the lint job (and the alls-green
check gate) to fail. Move the self-contained TestExemplarFilter class
into its own test file with only the imports it needs; no test logic
changed.

---------

Co-authored-by: Lukas Hering <40302054+herin049@users.noreply.github.com>
D
Diego Hurtado committed
e6f2809c521acba68d8f37335c12f8d865265210
Parent: 063809f
Committed by GitHub <noreply@github.com> on 7/10/2026, 9:08:49 AM