+11
−0
+45
−0
Loading
`Labkit::Context#to_headers` works like `#to_h`, but: 1. Excludes the correlation ID (which will already be set in another header). 2. Has keys suitable for use in HTTP headers, prefixed with `Labkit::Context::HEADER_PREFIX`. Because the keys go through `.log_key`, this means it will mostly be `X-Gitlab-Meta-` as a prefix.