Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/bonniernews/bn-tracing


https://github.com/bonniernews/bn-tracing

Last synced: about 8 hours ago
JSON representation

Awesome Lists containing this project

README

        

# bn-tracing
Tracing with Opentelemetry and Google Trace Exporter

# Usage
Install the npm-package and import it before express is required.

`require(bn-tracing)(options)`

# Options
```
{
serviceName: String (Default: default)
debug: Bool (default: false)
instrumentations: Array (Default: [])
}
```

# Usage example
```js
require('bn-tracing')({
serviceName: process.env.K_SERVICE,
instrumentations: [
new IORedisInstrumentation(),
]
});
```