Skip to content

Implement service to compute pipeline analytics

Pedro Pombeiro requested to merge pedropombeiro/479285/1-create-service into master

What does this MR do and why?

This MR implements the Ci::CollectPipelineAnalyticsService which will be used in !165549 (merged) to expose the aggregate analytics for pipeline, by status. For example, the pipeline count for all failed pipelines in a given period. This data is pulled from the ci_finished_pipelines_hourly ClickHouse table.

Part of #479285 (closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

This logic will be tested in the follow-up MR, !165549 (merged).

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

n/a

Edited by Pedro Pombeiro

Merge request reports

Loading