@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;
      },
    });

    Keywords

    none

    Install

    npm i @sentry/opentracing

    DownloadsWeekly Downloads

    2

    Version

    5.1.2

    License

    BSD-3-Clause

    Unpacked Size

    75.9 kB

    Total Files

    43

    Last publish

    Collaborators

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