Nepotistic Pontifex Maximus
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

jaeger-bomb

0.1.2 • Public • Published

Jaeger Plugin for Seneca

This is a Seneca plugin to allow you to use Jaeger for tracing.

Installation

npm install --save jaeger-bomb

Initialization

var Seneca = require('seneca')
 
// See schema https://github.com/jaegertracing/jaeger-client-node/blob/master/src/configuration.js#L37
var config = {
  reporter: {
      logSpans: true,
      flushIntervalMs: 10
  },
};
var options = {
  tags: {
    'my-awesome-service.version': '1.1.2',
  },
  metrics: metrics,
  logger: logger,
};
 
var options = {
    serviceName: 'my-awesome-service',
    serviceVersion: '1.1.2',
    jaeger: {
        config: congig,
        options: options
    }
}

Keywords

none

install

npm i jaeger-bomb

Downloadsweekly downloads

9

version

0.1.2

license

ISC

last publish

collaborators

  • avatar