OpenTelemetry Meta Package for Propagators Configuration
About
This module provides a way to get a propagator based on the OTEL_PROPAGATORS environment variable.
Installation
npm install --save @opentelemetry/auto-configuration-propagators
Usage
Here is an example of how to retrieve a propagator:
import { getPropagator } from '@opentelemetry/auto-configuration-propagators';
const propagator = getPropagator();
Please see the Supported propagators section for more information.
Supported propagators
The specification defines a list of known propagators for the OTEL_PROPAGATORS
env variable. Only these propagators are supported.
Useful links
License
APACHE 2.0 - See LICENSE for more information.