Skip to content

Emit metric for labelsSizeBytes #6372

Closed
@anna-tran

Description

@anna-tran

Is your feature request related to a problem? Please describe.
Cortex provides a MaxLabelsSizeBytes limit for the max combined size in bytes of all labels and label values for a given metric name, but does not emit the metric this is compared to. Exposing such a metric would help users to know how close they are to hitting the limit in case they intend to add more labels to a metric name.

Describe the solution you'd like
Expose the labelSizeBytes as a native histogram metric that tenants can monitor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions