opentracing-javascript

0.1.0 • Public • Published

OpenTracing API for JavaScript

This library is a JavaScript implementation of Open Tracing API intended for use both on the server and in the browser.

Objectives

Distributed tracing and context propagation have become important analysis tools for today's multi-layer distributed systems comprised of numerous micro-services implemented in different languages. The success of these tools is dependent on pervasive instrumentation of applications and libraries with trace context propagation support.

The OpenTracing project (http://opentracing.github.io) provides a multi-lingual standard for application-level instrumentation that's loosely coupled to any particular downstream tracing or monitoring system. In this way, adding or switching tracing implementations becomes a single-step code change.

Status

In the current version, opentracing-javascript provides the core API and a default no-op implementation.

A reference implementation and a set of simple examples are planned.

See DEV.md for further development status and notes.

Quick Start

// TBD.

Concepts

Trace is a virtual representation of the path a request takes through the layers and services of a (potentially distributed) system.

Span is a representation of any logical unit of work in the system. Spans can be nested and ordered to model parent-child and casual relationships. A Trace is tree of Spans.

API

TBD.

Usage Examples

TBD.

Development

Publish

npm publish

See DEV.md for additional detail.

Readme

Keywords

none

Package Sidebar

Install

npm i opentracing-javascript

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • opentracing