Security News
CISA Brings KEV Data to GitHub
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
@opentelemetry/shim-opentracing
Advanced tools
OpenTracing shim allows existing OpenTracing instrumentation to report to OpenTelemetry
npm install --save @opentelemetry/shim-opentracing
Use the TracerShim wherever you initialize your OpenTracing tracers.
const opentracing = require('opentracing');
// Old tracer initialization.
const tracer = myOpenTracingTracer(...);
opentracing.initGlobalTracer(tracer);
// New tracer initialization.
import { TracerShim } from '@opentelemetry/shim-opentracing';
const tracer = myOpenTelemetryTracer(...)
opentracing.initGlobalTracer(new TracerShim(tracer));
Optionally, you can specify propagators to be used for the OpenTracing TextMap
and HttpHeaders
formats:
var b3Propagator = new B3Propagator();
new TracerShim(tracer, {
textMapPropagator: b3Propagator,
httpHeadersPropagator: b3Propagator
})
If propagators are not specified, OpenTelemetry's global propagator will be used.
See examples/opentracing-shim for a short example.
Apache 2.0 - See LICENSE for more information.
1.0.1 / Experimental 0.27.0
opentelemetry-core
opentelemetry-core
opentelemetry-semantic-conventions
opentelemetry-core
, opentelemetry-sdk-trace-base
opentelemetry-core
opentelemetry-exporter-zipkin
opentelemetry-core
opentelemetry-sdk-trace-base
, opentelemetry-sdk-trace-node
, opentelemetry-sdk-trace-web
opentelemetry-context-async-hooks
, opentelemetry-context-zone-peer-dep
, opentelemetry-core
, opentelemetry-exporter-jaeger
, opentelemetry-exporter-zipkin
, opentelemetry-propagator-b3
, opentelemetry-propagator-jaeger
, opentelemetry-resources
, opentelemetry-sdk-trace-base
, opentelemetry-sdk-trace-node
, opentelemetry-sdk-trace-web
, opentelemetry-shim-opentracing
opentelemetry-core
FAQs
OpenTracing to OpenTelemetry shim
The npm package @opentelemetry/shim-opentracing receives a total of 3,124 weekly downloads. As such, @opentelemetry/shim-opentracing popularity was classified as popular.
We found that @opentelemetry/shim-opentracing 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
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.