As an admin I want to see historical insights from before I installed control center
Currently lmcc, when installed, analyses all available historical logs and calculates stats for graphing, but only generates insights going forward in time from the point at which lmcc was first installed.
It would be useful for lmcc to be able to also generate insights for the past, based on logs, for comparison with current events and problems, and also for providing information immediately following installation.
One compromise would be, by default, to generate insights for 1 month before the date at which lmcc is installed, during initial log import. That would mean that relevant insights would be immediately displayed to users upon the first login, without taking a long time or as much system resources to process eg. years of logs.
Ideally, the admin could also choose to generate insights for a specific historical time period, on-demand, as well.
Requirements:
- When the application is importing historical data on the first execution, generate insights for it.
- Don't generate notifications for such such insights.
- The introduction and welcome insights should be created with a time after the historical insights.
- The process should be done as parallel as possible to the logs import for performance reason.