Skip to content

Use key-value pairs that will be searchable in Kibana later

drew stachon requested to merge structure-the-log into master

What does this MR do and why?

This MR changes a logging statement in our Projects::DestroyService to use key-value pairs that can be parsed out to be searched in Kibana. The current statement is just a plain string that's hard to wrangle and look at in a dashboard.

Screenshots or screen recordings

image

The information here isn't searchable. With this change, we'll be able to search for events with a single fixed message and then see the count attached.

How to set up and validate locally

Being a logging statement that requires a Kibana integration, I don't think local testing is practical for this change.

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

Loading