Skip to content

[Feature]: STREAM_CARDINALITY_LIMIT should be config #1951

@domyway

Description

@domyway

Related Problems?

No response

Describe the solution you'd like:

I got some warning log like :
OpenTelemetry metrics error occurred. Metrics error: Warning: Maximum data points for metric stream exceeded. Entry added to overflow.

I use histogram and it has many labels , I find the log code here:

pub(crate) fn is_under_cardinality_limit(size: usize) -> bool {
    size < STREAM_CARDINALITY_LIMIT as usize - 1
}

it should be config

Considered Alternatives

No response

Additional Context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestpriority:p1Critical issues and bugs. Highest priority.triage:todoNeeds to be traiged.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions