Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to clean out old/stale Graphite data #3221

Open
lunkwill42 opened this issue Nov 19, 2024 · 0 comments
Open

Document how to clean out old/stale Graphite data #3221

lunkwill42 opened this issue Nov 19, 2024 · 0 comments
Labels
documentation Related to documentation of NAV enhancement graphite nav-ref Fronted by the NAV user reference committee

Comments

@lunkwill42
Copy link
Member

Is your feature request related to a problem? Please describe.

When a device or component is removed from NAV, NAV will (of course) stop dispatching metrics to Graphite for this component.

Graphite never removes metrics, and (as far as we know) has no API to remove obsolete metrics. These will remain on-disk "forever", despite never being used again.

Describe the solution you'd like

Internally, Sikt uses a cronjob to automatically deletes Whisper files from a Graphite server when they have not been updated in over a year. It has been suggested by the NAV reference committee that this cron job be included either as a source code contrib or as a documented (Sphinx docs) example of how to do it.

@lunkwill42 lunkwill42 added enhancement nav-ref Fronted by the NAV user reference committee graphite documentation Related to documentation of NAV labels Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Related to documentation of NAV enhancement graphite nav-ref Fronted by the NAV user reference committee
Projects
None yet
Development

No branches or pull requests

1 participant