Limit size of params array in JSON logs to 10 KiB

What does this MR do?

We did this for Sidekiq arguments, but not for HTTP request params. We now do the same everywhere: Sidekiq arguments, Grape params, and Rails controller params. As the params start life as hashes, the order is defined by whatever's creating the hashes.

Related to https://gitlab.com/gitlab-org/gitlab/issues/205237.

Edited by Mayra Cabrera

Merge request reports

Loading