https://github.com/luxchanlu/moleculer-opentracing
DataDog APM integration
https://github.com/luxchanlu/moleculer-opentracing
javascript moleculer moleculerjs opentracing
Last synced: 3 months ago
JSON representation
DataDog APM integration
- Host: GitHub
- URL: https://github.com/luxchanlu/moleculer-opentracing
- Owner: LuxChanLu
- License: mit
- Created: 2019-08-22T04:11:02.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T07:51:00.000Z (over 2 years ago)
- Last Synced: 2024-10-23T00:12:15.976Z (7 months ago)
- Topics: javascript, moleculer, moleculerjs, opentracing
- Language: JavaScript
- Homepage:
- Size: 683 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# moleculer-opentracing
[](https://travis-ci.org/YourSoftRun/moleculer-opentracing)
[](https://coveralls.io/github/YourSoftRun/moleculer-opentracing?branch=master)
[](https://www.codacy.com/app/Hugome/moleculer-opentracing?utm_source=github.com&utm_medium=referral&utm_content=YourSoftRun/moleculer-opentracing&utm_campaign=Badge_Grade)
[](https://codeclimate.com/github/YourSoftRun/moleculer-opentracing/maintainability)
[](https://david-dm.org/YourSoftRun/moleculer-opentracing)
[](https://snyk.io/test/github/YourSoftRun/moleculer-opentracing)[](https://www.npmjs.com/package/moleculer-opentracing)
[](https://app.fossa.io/projects/git%2Bgithub.com%2FYourSoftRun%2Fmoleculer-opentracing?ref=badge_shield)## How to use it
You have to use it with a compatible opentracing tracer :
```js
const OpenTracingMixin = require('moleculer-opentracing')
const { Tracer } = require('opentracing')module.exports = {
name: 'opentracing',
mixins: [OpenTracingMixin(new Tracer())]
}
```
Exemple with datadog :
```js
const OpenTracingMixin = require('moleculer-opentracing')
const Tracer = require('dd-trace').init()module.exports = {
name: 'datadog',
mixins: [OpenTracingMixin(Tracer)]
}
```