Skip to content

Add correlation_id to request logs

Steve Xuereb requested to merge add-correlation-id into master

What does this MR do?

Add correlation_id to trace logs

Why was this MR needed?

Log the X-Request-Id better known as correlation_id when we send a patch request to the coordinator. This will allow administrators use the correlation_id and use distributed tracing to find out the strack trace in rails, and other applications involved. More information can be found in https://docs.gitlab.com/ee/development/distributed_tracing.html#using-jaeger-in-the-gitlab-development-kit, this can also be used to filter in sentry.

Screen_Shot_2019-06-24_at_11.02.11

Are there points in the code the reviewer needs to double check?

Does this MR meet the acceptance criteria?

  • Documentation created/updated
  • Added tests for this feature/bug
  • In case of conflicts with master - branch was rebased
Edited by Steve Xuereb

Merge request reports