OpenTelemetry Propagator AWS Xray
OpenTelemetry AWS Xray propagator provides HTTP header propagation for systems that are using AWS Xray HTTP header format.
Example Tracing Header:
X-Amzn-Trace-Id: Root=1-5759e988-bd862e3fe1be46a994272793;Parent=53995c3f42cd8ad8;Sampled=1
Format:
X-Amzn-Trace-Id: Root=1-{trace-id-1}-{trace-id-2};Parent={span-id};Sampled={flags}
- {trace-id-1}
- 32-bit number in base16 format, encoded from time(second) when created.
- Can be referred: AWS Xray Trace ID
- {trace-id-2}
- 96-bit random number in base16 format
- {span-id}
- 64-bit random number in base16 format.
- {flags}
Example of usage (will be added after published):
Useful links
License
Apache 2.0 - See LICENSE for more information.