[DevOps Adoption] Restore "previous calendar month" perspective
Problem to solve
DevOps Adoption was originally introduced with a perspective of "previous calendar month". At the beginning of each month, the data was processed for the whole previous month. However, at the end of the month the data could feel stale so under #289856 (closed) we modified DevOps Adoption to have a perspective of "current calendar month". Now, however, at the beginning of the month the data could feel misleading (because it might only look at a few days of activity). Under #329708 (closed) we discussed changing to a perspective of "past 30 days" which would be updated daily. But that would be relatively complex, so we decided to revert to a perspective of "previous calendar month".
Proposal
DevOps Adoption (both instance-level and group-level) should display data from the previous calendar month. This data should be generated at the beginning of each new calendar month.
Tech details
- Provide an ability to query snapshots for months in a range, so we can query for "previous" month.
- Adjust cron job to be executed once per month