@sentry/opentracing
TypeScript icon, indicating that this package has built-in type declarations

5.1.2 • Public • Published


Sentry JavaScript OpenTracing API

npm version npm dm npm dt typedoc

Links

General

This package implements the OpenTracing API and provides an integration that can be used by our other SDKs.

import * as Sentry from '@sentry/browser';
import * as OpenTracing from '@sentry/opentracing';

const ot = new OpenTracing.Integration(ENV.traceId);

Sentry.init({
  debug: true,
  dsn: ENV.sentry.dsn,
  integrations: [ot],
  beforeSend(event) {
    console.log(event);
    return event;
  },
});

Readme

Keywords

none

Package Sidebar

Install

npm i @sentry/opentracing

Weekly Downloads

1

Version

5.1.2

License

BSD-3-Clause

Unpacked Size

75.9 kB

Total Files

43

Last publish

Collaborators

  • benvinegar
  • billyvg
  • mitsuhiko
  • haza
  • jauer
  • sentry-bot
  • evanpurkhiser
  • lynnagara
  • leedongwei
  • markstory
  • zeeg