opentelemetry-js/examples/opentracing-shim
Daniel Dyla 0ef1fc28d3
chore: release proposal 0.25.0 (#2415)
* chore: release proposal 0.25.0

* chore: changelog
2021-08-18 16:13:38 -04:00
..
images feat: add OpenTracing example (#581) 2019-12-17 16:52:08 -08:00
README.md chore: rename sdks to better represent what they are [#2146] (#2340) 2021-08-05 21:13:18 +02:00
client.js Use instrumentation loader to load plugins and instrumentations (#1855) 2021-02-05 19:02:29 +01:00
package.json chore: release proposal 0.25.0 (#2415) 2021-08-18 16:13:38 -04:00
server.js feat(shim-opentracing): update logging based on new spec (#2282) 2021-06-30 11:40:14 -04:00
shim.js chore: rename sdks to better represent what they are [#2146] (#2340) 2021-08-05 21:13:18 +02:00
utils.js feat: lint examples (#649) 2020-01-24 08:03:04 -05:00

README.md

Overview

OpenTracing shim allows existing OpenTracing instrumentation to report to OpenTelemetry.

This is a simple example that demonstrates how existing OpenTracing instrumentation can be integrated with OpenTelemetry.

The example shows key aspects of tracing such as

  • Root Span (on client)
  • Child Span from a remote parent (on server)
  • Span Tag
  • Span Log
  • Make a shim between OpenTracing and OpenTelemetry tracers

Installation

# from this directory
$ npm install

Run the Application

Zipkin

# from this directory
$ npm run zipkin:server
  • Run the client
# from this directory
$ npm run zipkin:client

Jaeger

# from this directory
$ npm run jaeger:server
  • Run the client
# from this directory
$ npm run jaeger:client

LICENSE

Apache License 2.0