Send correlation ID in responses to agentk
The following discussion from !171 (merged) should be addressed:
-
@Alexand started a discussion: non-blocking , thought
Wow! Looks like
WithContext
will send to Sentry thecorrelation_id
. That's pretty neat. I wonder if could also send thecorrelation-id
back toagentk
on the error response. Or maybe we already do?This would allow us to better support users getting errors when connecting to
gitlab-kas
on GitLab.com.
We can use ServerStream.SetHeader()
in an interceptor to put correlation id into the response metadata.
Edited by Mikhail Mazurskiy