Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luxchanlu/moleculer-opentracing
DataDog APM integration
https://github.com/luxchanlu/moleculer-opentracing
javascript moleculer moleculerjs opentracing
Last synced: 23 days 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 (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T07:51:00.000Z (about 2 years ago)
- Last Synced: 2024-10-23T00:12:15.976Z (3 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
[![Build Status](https://travis-ci.org/YourSoftRun/moleculer-opentracing.svg?branch=master)](https://travis-ci.org/YourSoftRun/moleculer-opentracing)
[![Coverage Status](https://coveralls.io/repos/github/YourSoftRun/moleculer-opentracing/badge.svg?branch=master)](https://coveralls.io/github/YourSoftRun/moleculer-opentracing?branch=master)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/e535fb380a5b4c42ab060f1049c52d20)](https://www.codacy.com/app/Hugome/moleculer-opentracing?utm_source=github.com&utm_medium=referral&utm_content=YourSoftRun/moleculer-opentracing&utm_campaign=Badge_Grade)
[![Maintainability](https://api.codeclimate.com/v1/badges/704fc5230cfe2d6a0a3c/maintainability)](https://codeclimate.com/github/YourSoftRun/moleculer-opentracing/maintainability)
[![David](https://img.shields.io/david/YourSoftRun/moleculer-opentracing.svg)](https://david-dm.org/YourSoftRun/moleculer-opentracing)
[![Known Vulnerabilities](https://snyk.io/test/github/YourSoftRun/moleculer-opentracing/badge.svg)](https://snyk.io/test/github/YourSoftRun/moleculer-opentracing)[![Downloads](https://img.shields.io/npm/dm/moleculer-opentracing.svg)](https://www.npmjs.com/package/moleculer-opentracing)
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FYourSoftRun%2Fmoleculer-opentracing.svg?type=shield)](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)]
}
```