Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
@opentelemetry/propagator-jaeger
Advanced tools
OpenTelemetry Jaeger propagator provides HTTP header propagation for systems that are using Jaeger HTTP header format.
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.
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);"}
This package provides B3 propagation for OpenTelemetry. B3 propagation is used by Zipkin tracing. It is similar to the Jaeger propagator in that it handles the injection and extraction of trace context headers for distributed tracing, but it uses the B3 format instead of the Jaeger format.
This package is designed for AWS X-Ray tracing support. It propagates trace context using the AWS X-Ray format. Like the Jaeger propagator, it is used for distributed tracing, but it is specifically tailored to integrate with AWS X-Ray.
The OpenTracing propagator for OpenTelemetry provides context propagation using the OpenTracing format. It is another alternative for distributed tracing context propagation, similar to the Jaeger propagator, but adheres to the OpenTracing standard.
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}
{span-id}
{parent-span-id}
{flags}
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()
});
Apache 2.0 - See LICENSE for more information.
0.13.0
opentelemetry-api
, opentelemetry-exporter-collector-grpc
, opentelemetry-exporter-collector-proto
, opentelemetry-exporter-collector
, opentelemetry-exporter-prometheus
, opentelemetry-metrics
, opentelemetry-sdk-node
opentelemetry-api
, opentelemetry-exporter-collector-grpc
, opentelemetry-exporter-collector-proto
, opentelemetry-exporter-collector
, opentelemetry-exporter-jaeger
, opentelemetry-exporter-zipkin
, opentelemetry-grpc-utils
, opentelemetry-plugin-grpc-js
, opentelemetry-plugin-grpc
, opentelemetry-plugin-http
, opentelemetry-plugin-https
, opentelemetry-shim-opentracing
, opentelemetry-tracing
opentelemetry-core
, opentelemetry-exporter-collector-proto
, opentelemetry-exporter-collector
, opentelemetry-exporter-jaeger
, opentelemetry-exporter-prometheus
, opentelemetry-exporter-zipkin
, opentelemetry-metrics
, opentelemetry-tracing
opentelemetry-api
, opentelemetry-core
, opentelemetry-plugin-fetch
, opentelemetry-plugin-xml-http-request
, opentelemetry-propagator-b3
, opentelemetry-web
opentelemetry-api
, opentelemetry-core
, opentelemetry-plugin-fetch
, opentelemetry-plugin-grpc-js
, opentelemetry-plugin-grpc
, opentelemetry-shim-opentracing
opentelemetry-resource-detector-aws
opentelemetry-api
, opentelemetry-exporter-collector-grpc
, opentelemetry-exporter-collector-proto
, opentelemetry-exporter-collector
, opentelemetry-exporter-prometheus
, opentelemetry-metrics
, opentelemetry-sdk-node
opentelemetry-tracing
opentelemetry-semantic-conventions
opentelemetry-exporter-collector-grpc
, opentelemetry-exporter-collector-proto
, opentelemetry-exporter-collector
, opentelemetry-exporter-prometheus
, opentelemetry-metrics
opentelemetry-exporter-collector-proto
, opentelemetry-exporter-collector
opentelemetry-instrumentation-xml-http-request
opentelemetry-instrumentation-xml-http-request
, opentelemetry-instrumentation
, opentelemetry-web
opentelemetry-core
, opentelemetry-tracing
opentelemetry-exporter-zipkin
opentelemetry-api
, opentelemetry-node
, opentelemetry-plugin-fetch
, opentelemetry-tracing
opentelemetry-exporter-zipkin
, opentelemetry-plugin-http
, opentelemetry-tracing
opentelemetry-api
, opentelemetry-core
, opentelemetry-tracing
opentelemetry-api
, opentelemetry-core
, opentelemetry-plugin-http
, opentelemetry-plugin-https
, opentelemetry-propagator-b3
opentelemetry-plugin-xml-http-request
, opentelemetry-tracing
opentelemetry-api
, opentelemetry-core
opentelemetry-tracing
opentelemetry-exporter-collector-grpc
, opentelemetry-exporter-collector-proto
, opentelemetry-exporter-collector
opentelemetry-context-zone-peer-dep
, opentelemetry-context-zone
, opentelemetry-instrumentation-xml-http-request
opentelemetry-api
opentelemetry-context-zone-peer-dep
, opentelemetry-web
FAQs
OpenTelemetry Jaeger propagator provides HTTP header propagation for systems that are using Jaeger HTTP header format.
The npm package @opentelemetry/propagator-jaeger receives a total of 2,585,999 weekly downloads. As such, @opentelemetry/propagator-jaeger popularity was classified as popular.
We found that @opentelemetry/propagator-jaeger demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
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.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.