Currently, if config.WithRequestID == true, a random request ID is generated, added to the context, and set in the request headers (x-header-id).
The x-header-id may already exist (ex: using envoy/istio in a kubernetes cluster), so we should use that if it's available instead of clobbering its value with our own.
Currently, if
config.WithRequestID == true
, a random request ID is generated, added to the context, and set in the request headers (x-header-id
).The
x-header-id
may already exist (ex: using envoy/istio in a kubernetes cluster), so we should use that if it's available instead of clobbering its value with our own.