DevOps Adoption MVC (backend)
This is the data collection backend implementation issue for #247112 (closed)
Proposal
We already have models for storing segments and the boolean flags (collected data), however the data collection part is missing.
- Create a service class that collects the boolean flags (and stores it in the Snapshot model) for a time period (30) day for a given Segment.
- Snapshot model definition with the boolean flags: !47388 (diffs)
- The service should use group level finders to collect info about the following data points: #247112 (comment 425512083)
- Example calculation for merge requests opened:
merge_request_opened = MergeRequestsFinder.new(group: Segment.groups).execute.last.created_at < 30.days.ago
- Define a cron job (monthly) which runs the service and persists the data (in a snapshot)
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.
Edited by 🤖 GitLab Bot 🤖