PoC for efficient querying of ci_build wait time per group from ClickHouse
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
POC for ci analytics on ClickHouse (!126863 - closed) were centered around instance-wide view of ci_builds wait times, we want to implement similar views/queries on the group level.
This is challenging and requires some more research.
Potential approaches:
- just filtering by
project_id IN ()(this may read large amount of data and require optimization, needs testing) - adding a separate table for project hierarchy using the
CollapsingMergeTree/VersionedCollapsingMergeTree enginesand creating special materialized views based on joiningfinished_ci_buildsand thatheirarchytable
Edited by 🤖 GitLab Bot 🤖