openzipkin/zipkin-gcp

Propagate trace info in X-Cloud-Trace-Context header

meltsufin opened this issue · 4 comments

Currently, we ingest X-B3-* and GCP's X-Cloud-Trace-Context with X-B3-* given higher priority, but we only propagate X-B3-* headers. The proposal is to also propagate the X-Cloud-Trace-Context for full symmetry and full compatibility with GCP.

Follow-up to #96 and #97.

cc/ @elefeint

Actually I didn't know there was even a propagation module here - will start using it :D And yeah having the extra header is not a big deal for me.

Perhaps we could propagate X-Cloud-Trace-Context in this project, but only if it were present upon ingestion?

In the scenario below, the non-GCP-app would then be able to propagate the header even though it itself does not run on GCP:
GCP-app --> non-GCP-app --> another-GCP-app