Skip to content

Latest commit

 

History

History
 
 

propagators

OpenTelemetry Propagators

Built-in Propagators

OpenTelemetry core package provides many Built-in Propagators such as W3CTraceContextPropagator Propagator, B3 Propagator, Composite Propagator etc.

Click here to see Built-in Propagators.

GRPC Census Propagator

OpenTelemetry gRPC Census propagator provides gRPC header propagation for systems that use the OpenCensus 'grpc-trace-bin' binary header format.

const api = require("@opentelemetry/api");
const { GrpcCensusPropagator } = require("@opentelemetry/propagator-grpc-census-binary");

/* Set Global Propagator */
api.propagation.setGlobalPropagator(new GrpcCensusPropagator());

Click here for more comprehensive examples.

Useful links

License

Apache 2.0 - See LICENSE for more information.