@medipass/propagator-aws-xray
TypeScript icon, indicating that this package has built-in type declarations

0.9.0 • Public • Published

OpenTelemetry Propagator AWS Xray

Gitter chat Apache License

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.

Package Sidebar

Install

npm i @medipass/propagator-aws-xray

Weekly Downloads

1

Version

0.9.0

License

Apache-2.0

Unpacked Size

25.4 kB

Total Files

9

Last publish

Collaborators

  • ridasattar92
  • malphine
  • eithan1231
  • stephaniepruna
  • medipassbot
  • joshuafsharp
  • joshpiper-medipass
  • rajeshcodes
  • jshsmth
  • kevinvu
  • williape
  • paulwcy
  • kazfukuda
  • richardlay
  • likquid
  • claudia13
  • zl4bv