Skip to content

Is there a way to cleanup older metrics stored? #494

@codingkarthik

Description

@codingkarthik

I am recording Prometheus metrics in my application and would like to clean up the legacy data in the collectors regularly. I need to clean up because my application uses a high-cardinality label and the longer my server runs, the more the memory increases steadily.

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