Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bonniernews/bn-tracing
https://github.com/bonniernews/bn-tracing
Last synced: about 8 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/bonniernews/bn-tracing
- Owner: BonnierNews
- License: mit
- Created: 2024-02-23T12:50:51.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-19T14:00:46.000Z (7 months ago)
- Last Synced: 2024-04-23T03:38:25.173Z (7 months ago)
- Language: JavaScript
- Size: 113 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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(),
]
});
```