Skip to content

# Feature: Make metrics retention configurable (METRICS_RETENTION_SECS) #2483

Open

Description

@linger000

Current behavior

~/.git-ai/internal/metrics-dband its WAL/SHM files occupy about **5.58 GiB** on my machine, accounting for **98.45%** of theinternal` directory's disk usage. I would like to keep a shorter window of local metrics without deleting the entire database or rebuilding git-ai.

Requested behavior

  • Environment override: `GIT_AI_METRICS_RETENTION_DAYS=7
image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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