How do I record http method and response code from lambda
Open
enhancement
- Dominant language
- JavaScript
- Stars
- 280
- Forks
- 157
- PR merge metrics
- No merged PRs in 30d
Description
"The other difference between instrumenting Lambda functions and web applications is that the segment that Lambda creates and sends to X-Ray cannot be modified by your function code. You can create subsegments and record annotations and metadata on them, but you can't add annotations and metadata to the parent segment."
--- from AWS doc
I found whatever statusSode return from lambda, the tracing information always wrote 200 and mark as correct request. And the request path and method are all missing. what should I do to fix it?


Contributor guide
Assessment
This issue has not been assessed yet.