-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x-cloud-trace-context pattern was changed by google when setup gRPC http2.0 on Cloud RUN #167
Comments
Which google services do you mean here? A Google service is calling your gRPC service?
Regardless of the cause, I think you're right that the |
@paralelocslucasmagalhaes, is this problem still relevant to you? |
It seems clear that there should be agreement across Google's libraries. I think the single character code change + related tests is the correct thing to do here? |
Hi guys.. I tested the Cloud Trace Propagator on Cloud Run running a gRPC service with HTTP 2.0 enabled and figure out a problem.
On my tests I notice the pattern of x-cloud-trace-context the Google's Services send was different than "trace_id/span_id;o=Flag". On my test I've received just "trace_id/span_id" without the ";o=Flag".
So.. the actual code implemented at Cloud Trace Propagator Class does "match = re.fullmatch(_TRACE_CONTEXT_HEADER_RE, header)" The re expression wasn't fullfiled and return None.
I have a suspicion that the change could be part of HTTP2.0 setup, cause others "REST Service" running on HTTP1.0 the x-cloud-trace-context pattern is the way we expected.
Originally posted by @paralelocslucasmagalhaes in #109 (comment)
The text was updated successfully, but these errors were encountered: