This PR fixes the tracing context propagation between tracetest cloud and the tracetest agent. By adding a new Metadata field in the relevant gRPC messages, we can send arbitrary data back and forth, like pseudo headers.
The original implementation relied on sending gRPC headers, but the implementation didn't work because those headers are only sent when the stream is stablished, and all successive calls are ignored.
This PR fixes the tracing context propagation between tracetest cloud and the tracetest agent. By adding a new
Metadata
field in the relevant gRPC messages, we can send arbitrary data back and forth, like pseudo headers.The original implementation relied on sending gRPC headers, but the implementation didn't work because those headers are only sent when the stream is stablished, and all successive calls are ignored.