jazzband/django-silk

Add command to clear profiling data

Open

#137 opened on Aug 26, 2016

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Python (319 forks)batch import
featurehelp wanted

Repository metrics

Stars
 (3,958 stars)
PR merge metrics
 (Avg merge 14d) (2 merged PRs in 30d)

Description

It would be great to have a way to sunset old profiling data (whether by simply clearing it or archiving it some way). It's not ideal to clear the entire data set regularly. Ideally this isn't something I need to micromanage manually.

Best could be a line I can throw into a cron that will call a manage.py command to clear records older than N days.

Contributor guide