Skip to content

Handle X-GitLab-Trace-Update-Interval header from GitLab

See gitlab#325970 (closed) for detailed proposal and explanation. Copy paste from there at time of issue creation:

  1. Add X-GitLab-Trace-Ping-Interval to Rails that is a value higher than X-GitLab-Trace-Update-Interval
  2. Likely a default should be 5 mins (it is enough) that would configure TraceForceSendInterval
  3. Extend Runner to parse header in a similar way as X-GitLab-Trace-Update-Interval and apply this as TraceForceSendInterval
  4. Update the common.MaxUpdateInterval to be higher than 3 * time.Minute, likely to be 15 * time.Minute (for future proofing)
  5. Define the common.MaxTraceForceSendInterval to be a value of at least 30 * time.Minute (for future proofing)

This issue is to capture the work in the Runner code base.