Skip to content

Introduce max bucket count limit for native histograms #6092

Closed
@yeya24

Description

@yeya24

Part of #6052

Is your feature request related to a problem? Please describe.

At ingestion path, the native histograms data ingested might have very high resolution and contains a large amount of buckets. Ingesting such kind of histogram may easily overload Cortex Ingester and cause potential outage.

Describe the solution you'd like

We can follow the same behavior as what Prometheus does during scrape time.

Introduce a native_histogram_bucket_limit config to be set at Distributor/Ingester. If the input histogram exceeds this limit, we can keep reducing its resolution until bucket count within the limit or invalid schema.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions