moleculer-opentracing

1.0.0 • Public • Published

moleculer-opentracing

Build Status Coverage Status Codacy Badge Maintainability David Known Vulnerabilities

Downloads FOSSA Status

How to use it

You have to use it with a compatible opentracing tracer :

const OpentTracingMixin = require('moleculer-opentracing')
const { Tracer } = require('opentracing')
 
module.exports = {
  mixins: [OpentTracingMixin(new Tracer())]
}

Exemple with datadog :

const OpentTracingMixin = require('moleculer-opentracing')
const Tracer = require('dd-trace').init()
 
module.exports = {
  mixins: [OpentTracingMixin(Tracer)]
}

Readme

Keywords

Package Sidebar

Install

npm i moleculer-opentracing

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

6.19 kB

Total Files

5

Last publish

Collaborators

  • hugome