New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@opentelemetry/propagator-jaeger

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/propagator-jaeger

OpenTelemetry Jaeger propagator provides HTTP header propagation for systems that are using Jaeger HTTP header format.


Version published
Maintainers
4
Created

What is @opentelemetry/propagator-jaeger?

The @opentelemetry/propagator-jaeger npm package is used for propagating trace context using the Jaeger format. This is part of the OpenTelemetry project, which provides a set of APIs, libraries, agents, and instrumentation to create and manage telemetry data (metrics, logs, and traces) for cloud-native software. The Jaeger propagator package specifically deals with the extraction and injection of trace context headers for distributed tracing.

What are @opentelemetry/propagator-jaeger's main functionalities?

Context Propagation

This feature allows the propagation of trace context using the Jaeger format. The code sample demonstrates how to import the JaegerHttpTracePropagator from the package and set it as the global propagator for handling trace context.

{"import { JaegerHttpTracePropagator } from '@opentelemetry/propagator-jaeger';\nimport { propagation } from '@opentelemetry/api';\n\n// Register the Jaeger propagator to handle the trace context\nconst jaegerPropagator = new JaegerHttpTracePropagator();\npropagation.setGlobalPropagator(jaegerPropagator);"}

Other packages similar to @opentelemetry/propagator-jaeger

FAQs

Package last updated on 05 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts