Hemera-zipkin package
This is a plugin to use Zipkin with Hemera.
Tracking level
- Per subscription: Each topic represents a subscription in NATS and therefore handled as own service. The hemera
tag
indentifiy the server instance. - Per hemera instance: Each hemera instance represents the whole service. The service name can be configured by the
tag
option.
Install
npm i hemera-zipkin --save
Getting started
Run zipkin in docker
$ docker-compose up
You can then navigate to http://localhost:9411 to access the Zipkin UI.
Usage
const hemera = nats logLevel: 'debug' childLogger: true tag: 'user-service' hemera
Add contextual data
Look in the documentation to learn more about delegate in hemera.
hemera