OpenTelemetry Jaeger propagator provides HTTP header propagation for systems that are using Jaeger HTTP header format.
Format: {trace-id}:{span-id}:{parent-span-id}:{flags}
-
{trace-id}
- 64-bit or 128-bit random number in base16 format.
- Can be variable length, shorter values are 0-padded on the left.
- Value of 0 is invalid.
-
{span-id}
- 64-bit random number in base16 format.
-
{parent-span-id}
- Set to 0 because this field is deprecated.
-
{flags}
- One byte bitmap, as two hex digits.
Example of usage:
const { NodeTracerProvider } = require('@opentelemetry/node');
const { JaegerHttpTracePropagator } = require('@opentelemetry/propagator-jaeger');
const provider = new NodeTracerProvider();
provider.register({
// Use Jaeger propagator
propagator: new JaegerHttpTracePropagator()
});
- 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
Apache 2.0 - See LICENSE for more information.