-
Notifications
You must be signed in to change notification settings - Fork 191
Feature request: Add Event Handler Tracer Middleware #4821
Copy link
Copy link
Closed
Labels
confirmedThe scope is clear, ready for implementationThe scope is clear, ready for implementationevent-handlerThis item relates to the Event Handler UtilityThis item relates to the Event Handler Utilityfeature-requestThis item refers to a feature request for an existing or new utilityThis item refers to a feature request for an existing or new utility
Metadata
Metadata
Assignees
Labels
confirmedThe scope is clear, ready for implementationThe scope is clear, ready for implementationevent-handlerThis item relates to the Event Handler UtilityThis item relates to the Event Handler Utilityfeature-requestThis item refers to a feature request for an existing or new utilityThis item refers to a feature request for an existing or new utility
Type
Projects
Status
Shipped
Use case
We should have a way of getting traces from HTTP routes in event handler so that the customer does not have to manually instrument their routes.
Solution/User Experience
We could create a middleware that behaves similarly to the Middy tracer middlware we currently have. A sample implementation could look like this:
Open questions:
reqCtxto indicate when we are in HTTP streaming mode.Alternative solutions
Acknowledgment
Future readers
Please react with 👍 and your use case to help us understand customer demand.