const serviceName = 'backend'
const {KoaInstrumentation} = require('zipkin-instrumentation-koa')
const tracer = require('zipkin-instrumentation-koa/src/recorder')({
endpoint: 'http://127.0.0.1:9411',
serviceName
});
const Koa = require('koa')
const app = new Koa()
app.use(KoaInstrumentation({tracer, serviceName}))
-
Notifications
You must be signed in to change notification settings - Fork 1
uswitch/zipkin-instrumentation-koa
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published