Skip to content

Use sentinel value for truncated param logging

What does this MR do?

Our Elasticsearch mapping on GitLab.com requires params to be an array of hashes, each hash with a key and value key. This does not apply to our Sidekiq arguments logging, as Sidekiq arguments can be of different types anyway, and do not have keys.

This is a follow-up to fix !25158 (merged).

See https://gitlab.com/gitlab-org/gitlab/issues/205237#note_290885684.

Edited by Sean McGivern

Merge request reports