Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adding Koa plugin #1

Merged
merged 48 commits into from
Jul 17, 2020
Merged

feat: adding Koa plugin #1

merged 48 commits into from
Jul 17, 2020

Conversation

carolinee21
Copy link
Owner

@carolinee21 carolinee21 commented Jul 14, 2020

Which problem is this PR solving?

Short description of the changes

  • This instrumentation adds traces to middleware for both the Koa core and Koa Router modules.

  • Some example traces are shown here: Example Koa Instrumentation in Zipkin

  • User friendly example code is also added under examples/koa

examples/koa/client.js Show resolved Hide resolved
examples/koa/client.js Show resolved Hide resolved
examples/koa/server.js Outdated Show resolved Hide resolved
examples/koa/server.js Outdated Show resolved Hide resolved
examples/koa/server.js Show resolved Hide resolved
plugins/node/opentelemetry-plugin-koa/test/koa.test.ts Outdated Show resolved Hide resolved
plugins/node/opentelemetry-plugin-koa/test/koa.test.ts Outdated Show resolved Hide resolved
plugins/node/opentelemetry-plugin-koa/test/koa.test.ts Outdated Show resolved Hide resolved
Copy link

@yozora yozora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the async update. Looks good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plugin for Koa
3 participants