Skip to content

uswitch/zipkin-instrumentation-koa

Repository files navigation

zipkin-instrumentation-koa

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}))

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published