api-javascript
Traceguide instrumentation library for JavaScript.
Last updated 4 years ago by traceguide .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install api-javascript 
SYNC missed versions from official npm registry.

api-javascript

Traceguide instrumentation library for JavaScript.

Current build status: Circle CI

Installation

npm install --save api-javascript

Getting Started

var trace = require('api-javascript');
trace.options({
    group_name   : "my_server",
    access_token : "{your_access_token}"
});

// Send a regular global log along with a data payload
trace.infof('Hello Runtime %d!', 42);

// Send a span record for a given operation
span = trace.span('trivial/sample_span');
span.joinIDs('end_user_id', 'john_smith');
span.infof('Hello Span %d!', 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.

Current Tags

  • 0.5.34                                ...           latest (4 years ago)

37 Versions

  • 0.5.34                                ...           4 years ago
  • 0.5.33                                ...           4 years ago
  • 0.5.32                                ...           4 years ago
  • 0.5.31                                ...           4 years ago
  • 0.5.30                                ...           4 years ago
  • 0.5.29                                ...           4 years ago
  • 0.5.28                                ...           4 years ago
  • 0.5.27                                ...           4 years ago
  • 0.5.26                                ...           4 years ago
  • 0.5.25                                ...           4 years ago
  • 0.5.24                                ...           4 years ago
  • 0.5.23                                ...           4 years ago
  • 0.5.22                                ...           4 years ago
  • 0.5.21                                ...           4 years ago
  • 0.5.20                                ...           4 years ago
  • 0.5.19                                ...           4 years ago
  • 0.5.18                                ...           4 years ago
  • 0.5.17                                ...           4 years ago
  • 0.5.16                                ...           4 years ago
  • 0.5.15                                ...           4 years ago
  • 0.5.14                                ...           4 years ago
  • 0.5.13                                ...           5 years ago
  • 0.5.12                                ...           5 years ago
  • 0.5.11                                ...           5 years ago
  • 0.5.10                                ...           5 years ago
  • 0.5.9                                ...           5 years ago
  • 0.5.8                                ...           5 years ago
  • 0.5.7                                ...           5 years ago
  • 0.5.6                                ...           5 years ago
  • 0.5.1                                ...           5 years ago
  • 0.5.0                                ...           5 years ago
  • 0.1.5                                ...           5 years ago
  • 0.1.4                                ...           5 years ago
  • 0.1.3                                ...           5 years ago
  • 0.1.2                                ...           5 years ago
  • 0.1.1                                ...           5 years ago
  • 0.1.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (6)
Dev Dependencies (12)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |