feat(op): Add handler op - #554
Conversation
Semver Impact of This PR🟡 Minor (new features) 📋 Changelog PreviewThis is how your changes will appear in the changelog. New Features ✨Op
Internal Changes 🔧Deps
Other
🤖 This preview updates automatically when you update the PR. |
b8ac46a to
cafc13a
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit cafc13a. Configure here.
Lms24
left a comment
There was a problem hiding this comment.
Thanks! I think we'll also need description and name rules for this op. I think we can use the following templates for these spans from checking the use cases in the SDK:
Description:
{http.route}{url.path}
Name:
{http.route}"Request handler
Does that sound reasonable to you?
cafc13a to
f23927c
Compare
|
sound reasonable yes! added in f23927c |
f23927c to
e17ce57
Compare

Description
Add
handlerop to theweb_servercategory for spans that instrument http request handlers in server frameworks like express, fastify, etc.PR Checklist
yarn testand verified that the tests pass.yarn generateto generate and format code and docs.If an attribute was added:
nextjs.function_id, notfunction_id)apply_scrubbing(i.e.manualorauto. Useneveronly for values that should never be scrubbed such as IDs)If an attribute was deprecated: