An open API service indexing awesome lists of open source software.

https://github.com/zalando-zmon/opentracing-javascript-utils

Utilities to Instrument Web Applications with OpenTracing
https://github.com/zalando-zmon/opentracing-javascript-utils

distributed-tracing javascript library opentracing utilities

Last synced: 6 months ago
JSON representation

Utilities to Instrument Web Applications with OpenTracing

Awesome Lists containing this project

README

          

# OpenTracing JavaScript Utils

Utilities to Instrument JavaScript Web Applications with OpenTracing.

### Early stage

## Features
* Dynamically loads dependencies depending on chosen Tracing library
* Promises to return an OpenTracing globalTracer
* Defaults to no-op
* Currently supports: lightstep.

## Example

```html

opentracingJavascriptUtils.initOpenTracing({
name: 'lightstep',
config: {
xhr_instrumentation: true,
access_token: '123456',
component_name: 'myApp',
collector_host: 'localhost',
collector_port: 443,
collector_encryption: 'tls',
verbosity: 1,
}})
.then((globalTracer) => {
// bootstrap myApp
})

```