Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lightstep-tracer

Package Overview
Dependencies
Maintainers
1
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lightstep-tracer

LightStep implementation of the [OpenTracing API](http://opentracing.io/).

  • 0.5.35
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
53K
decreased by-39.92%
Maintainers
1
Weekly downloads
 
Created
Source

lightstep-tracer

LightStep implementation of the OpenTracing API.

Current build status: Circle CI

Installation

npm install --save lightstep-tracer opentracing

Getting Started


var Tracer = require('opentracing');
var LightStep = require('lightstep-tracer');

Tracer.initialize({
    backend      : LightStep.createOpenTracingAdapter(),
    group_name   : "my_server",
    access_token : "{your_access_token}"
});

// Send a regular global log along with a data payload
Tracer.info('Hello Tracer', { "now" : Date.now() });

// Send a span record for a given operation
var span = Tracer.span('trivial/sample_span');
span.tags({ 'end_user_id', 'john_smith' });
span.info('User data', {
    favorite_number : 42,
});
span.end();

See example/hello_world for a longer example.

Supported Platforms

  • Node: Node versions >= 0.12 are supported.

License

The MIT License.

Copyright (c) 2015, Resonance Labs.

FAQs

Package last updated on 12 Jan 2016

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc