egg-jaeger-tracing
![NPM version](https://img.shields.io/npm/v/egg-jaeger-tracing.svg?style=flat-square)
![npm download](https://img.shields.io/npm/dm/egg-jaeger-tracing.svg?style=flat-square)
Install
$ npm i egg-jaeger-tracing --save
Usage
exports.jaegerTracing = {
enable: true,
package: 'egg-jaeger-tracing',
};
Configuration
exports.jaegerTracing = {
config: {
serviceName: 'egg-server-a',
sampler: {
type: 'const',
param: 1,
},
reporter: {
logSpans: true,
agentHost: 'localhost',
agentPort: 6832
},
},
options: {
logger: {
info(msg) {
console.log('INFO ', msg);
},
error(msg) {
console.log('ERROR ', msg);
},
}
}
};
see config/config.default.js for more detail.
Example
Questions & Suggestions
Please open an issue here.
License
MIT