openprofiler-client

1.1.2 • Public • Published

openprofiler-client

Client Node.js for OpenProfiler distributed tracing system

How to use

const openprofiler = require("openprofiler-client");
const tracer          = new openprofiler.Tracer(new openprofiler.recorders.WSRecorder('ws://localhost:7755'));
openprofiler.instruments.mysql(tracer,   'appName');
openprofiler.instruments.request(tracer, 'appName');

/openprofiler-client/

    Package Sidebar

    Install

    npm i openprofiler-client

    Weekly Downloads

    0

    Version

    1.1.2

    License

    ISC

    Unpacked Size

    9.9 kB

    Total Files

    14

    Last publish

    Collaborators

    • dchojna