-
Notifications
You must be signed in to change notification settings - Fork 544
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 instrumentation #144
Conversation
|
Codecov Report
@@ Coverage Diff @@
## master #144 +/- ##
==========================================
+ Coverage 94.31% 94.61% +0.29%
==========================================
Files 77 84 +7
Lines 3836 4124 +288
Branches 415 432 +17
==========================================
+ Hits 3618 3902 +284
- Misses 218 222 +4
|
chore: add tslint chore: add standard license chore: add npmignore chore: initial package config docs: initial README chore: create initial structure chore: adds traces to Application.use method itself (on instantiation) feat: traces for app.use chore: update typescript version chore: return original layer result chore: remove app.use span based on design chore: refactor span attribute assignments into util chore: add router types feat: added tracing for koa-router functions and routes feat: don't create koa spans without root span feat: added base tests for Koa core and Koa router chore: finalizing plugin feat: added kLayerPatched check test: creating example code for Koa plugin chore: cleaning up code chore: update README chore: update README chore: update README chore: add async middleware tests chore: improve sample code Add files via upload Add files via upload Add files via upload chore: add jaeger example Add files via upload chore: add linter to example code chore: rename plugin to instrumentation chore: cleaning tests/examples Add files via upload Add files via upload chore: fix async example code and span timing chore: refine test style docs: add comments to plugin patching operations chore: file cleanup chore: fix code style
Co-authored-by: Daniel Dyla <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please bump all core dependencies to 0.12.2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please bump all core dependencies to 0.12.2
I think @dyladan meant 0.10.2
@dyladan @obecny @michaelgoin Now that the other PR has been merged, this one is unblocked and should be ready to go! |
@dyladan requested changes, wait for him to approve first |
@dyladan Hi Daniel! Please let me know if there's anything else missing from me on this or the Hapi PR. Thanks! :) |
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:
User friendly example code is also added under examples/koa