Skip to content

Metrics sucking up disk space and no way to configure a retention policy or limit #104

@duhmojo

Description

@duhmojo

I discovered a couple of VMs we run ongdb on using 15GB of disk space due to the size of the metrics csv files. I had to manually delete them to free up space. I couldn't find much information on how metrics are managed or if a retention policy could be set.

If deleting the files occasionally is what's required, I can deal with that but it would be nice if the system would limit usage like it does with log rotation. More over, is deleting the csv files save?

ONgDB Version: 1.0.4 (currently we intend to move to 1.0.5 soon)
Operating System: Alma Linux 8.something

Expected behavior

Disk usage is limited to a reasonable amount

Actual behavior

Disk usage is outsized for the size of the DB. e.g. 15GB

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