Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 2.62 KB

File metadata and controls

54 lines (36 loc) · 2.62 KB

OpenTelemetry Meta Package for Propagators Configuration

NPM Published Version Apache License

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.