-
Notifications
You must be signed in to change notification settings - Fork 162
Open
Labels
discussingThe issue needs to be discussed, elaborated, or refinedThe issue needs to be discussed, elaborated, or refinedfeature-requestThis item refers to a feature request for an existing or new utilityThis item refers to a feature request for an existing or new utilityneed-customer-feedbackRequires more customers feedback before making or revisiting a decisionRequires more customers feedback before making or revisiting a decisionneed-more-informationRequires more information before making any callsRequires more information before making any callstracerThis item relates to the Tracer UtilityThis item relates to the Tracer Utility
Description
Use case
I have a nextjs CDK construct with a simple APIGW lambda wrapper around nextjs. I want to annotate my traces with HTTP request and response metadata, e.g. "URL" and "method" and "status code"
I would like to use it here: https://github.com/jetbridge/cdk-nextjs/blob/main/assets/lambda/NextJsHandler.ts#L45
I'd like to see the status code, path, method, etc in xray:
Solution/User Experience
Perhaps something like traceRequestResponseCycle
in https://docs.aws.amazon.com/xray-sdk-for-nodejs/latest/reference/AWSXRay.html
Alternative solutions
Discussed on discord: https://discord.com/channels/1006478942305263677/1006527385409179678/1042309163818168380
Acknowledgment
- This feature request meets Lambda Powertools Tenets
- Should this be considered in other Lambda Powertools languages? i.e. Python, Java
ppold, khuezy, kennethwkz-mm, jaska120, luisgrases and 3 more
Metadata
Metadata
Assignees
Labels
discussingThe issue needs to be discussed, elaborated, or refinedThe issue needs to be discussed, elaborated, or refinedfeature-requestThis item refers to a feature request for an existing or new utilityThis item refers to a feature request for an existing or new utilityneed-customer-feedbackRequires more customers feedback before making or revisiting a decisionRequires more customers feedback before making or revisiting a decisionneed-more-informationRequires more information before making any callsRequires more information before making any callstracerThis item relates to the Tracer UtilityThis item relates to the Tracer Utility
Type
Projects
Status
Backlog