Skip to content

Support configuring exponential histograms at the meter level #5459

@shakuzen

Description

@shakuzen

This is a follow up to #3861 and requests from users such as #3959 (comment).

Currently, exponential histograms can only be configured at the registry level for the OTLP registry via OtlpConfig. This is fine for users who want to use exponential histograms for everything that has percentileHistogram enabled. However, more fine grained control gives more flexibility.

As a workaround, configuring any SLO on a meter's DistributionStatisticConfig will cause exponential histograms to not be used (they don't support arbitrary additional buckets).

Another aspect of configuration would be the (max) bucket count, which again is currently controlled by OtlpConfig for all meters in the registry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementA general enhancementmodule: micrometer-coreAn issue that is related to our core moduleregistry: otlpOpenTelemetry Protocol (OTLP) registry-related

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions