Report history should be configurable.
|Branch:||Affected Dashboard version:||1.1.0|
With one of my small 400 node environments, the reports table grows to 300k+ reports in close to 7 days. I have had to disable reporting for all of my environments with more than 1000 nodes due to performance issues but this seems to be problematic. It would be nice to add configuration options for how many successful and/or failed reports per-node to keep. I wrote a rake task to to run through all nodes and delete any reports over a specified limit but it runs just as fast as reports come in.
#3 Updated by Nigel Kersten almost 2 years ago
- Status changed from Accepted to Closed
Since this ticket we’ve improved the
rake prune task with Dashboard to let you configure thresholds for pruning, and a cron job to use that is the suggested path forward.
Ultimately we’ll end up moving to building a ReportService that Dashboard talks to, rather than Dashboard owning the report storage, and this will ultimately be configurable there.