@medipass/propagator-aws-xray
v0.9.0
Published
OpenTelemetry AWS Xray propagator provides HTTP header propagation for systems that are using AWS Xray HTTP header format.
Downloads
24
Readme
OpenTelemetry Propagator AWS Xray
OpenTelemetry AWS Xray propagator provides HTTP header propagation for systems that are using AWS Xray HTTP header format.
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}
- One byte bitmap, as two hex digits.
- Can be referred: JavaScript TraceFlags
Example of usage (will be added after published):
Useful links
- For more information on OpenTelemetry, visit: https://opentelemetry.io/
- For more about OpenTelemetry JavaScript: https://github.com/open-telemetry/opentelemetry-js
- For help or feedback on this project, join us on gitter
License
Apache 2.0 - See LICENSE for more information.