Skip to content

feat: Add custom keys to our log entries

Alejandro Rodríguez requested to merge log-keys into main

Our logging tooling expects every log entry to have a type and stage field. We normally add these via fluentd rules, but we are not using fluentd for the Code Suggestions deployment (see https://gitlab.com/gitlab-com/gl-infra/reliability/-/issues/23729#note_1402517982).

As an alternative, let's add the labels here at the source.

Closes https://gitlab.com/gitlab-com/gl-infra/reliability/-/issues/23729

Merge request reports