Rename the correlation field from correlation_id
to x-gitlab-correlation-id
This commit is contained in:
parent
a27ba8edfa
commit
6c426c0e39
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ module Gitlab
|
||||||
feature = feature_stack && feature_stack[0]
|
feature = feature_stack && feature_stack[0]
|
||||||
metadata['call_site'] = feature.to_s if feature
|
metadata['call_site'] = feature.to_s if feature
|
||||||
metadata['gitaly-servers'] = address_metadata(remote_storage) if remote_storage
|
metadata['gitaly-servers'] = address_metadata(remote_storage) if remote_storage
|
||||||
metadata['correlation_id'] = Gitlab::CorrelationId.current_id if Gitlab::CorrelationId.current_id
|
metadata['x-gitlab-correlation-id'] = Gitlab::CorrelationId.current_id if Gitlab::CorrelationId.current_id
|
||||||
|
|
||||||
metadata.merge!(server_feature_flags)
|
metadata.merge!(server_feature_flags)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue