-
Notifications
You must be signed in to change notification settings - Fork 552
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
fix(express): construct span names correctly with ignored middleware layers #452
Conversation
Codecov Report
@@ Coverage Diff @@
## main #452 +/- ##
==========================================
+ Coverage 95.23% 95.32% +0.09%
==========================================
Files 133 126 -7
Lines 8223 7959 -264
Branches 807 774 -33
==========================================
- Hits 7831 7587 -244
+ Misses 392 372 -20 |
Hmm, suddenly unrelated CI errors after merging 5ecccc9 |
Most likely a side effect of DefinitelyTyped/DefinitelyTyped#52509 |
seems to affect all PRs not just this one edit: just saw your earlier message |
a fix should be included in #455 |
Any idea why it works locally? |
most likely because package-lock.json files are lying around and as a result transitive dependencies are not updated. |
same. i almost regret confirming this because now i can't build locally |
plugins/node/opentelemetry-instrumentation-express/test/custom-config.test.ts
Outdated
Show resolved
Hide resolved
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.
Approving but would like @vmarchaud approval before merge (original plugin author)
@seemk Thanks again for taking the time to do this and being patient with me ahah |
Which problem is this PR solving?
When middlewares are ignored the final span name is constructed from a concatenation of middleware paths. More here: #451