Skip to content

Add ApplicationContext to pipeline creation logger

Fabio Pitino requested to merge ci-pipeline-log-root-namespace into master

What does this MR do and why?

Related to #383439 (closed)

In the pipeline creation logger we need to be able to aggregate log data for an entire root_namespace. For example: all pipeline creation under gitlab-org namespace.

This MR adds more data to the pipeline creation logger reusing Gitlab::ApplicationContext to add things like correlation_id, meta.project, meta.root_namespace, etc. These fields are already indexed in Kibana so it won't count as additional fields.

Screenshots or screen recordings

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

How to set up and validate locally

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

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports