elastic / elastic/apm-agent-nodejs
Automatically get body from koa-bodyparser
Open
agent-nodejs
enhancement
- Dominant language
- JavaScript
- Stars
- 594
- Forks
- 244
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 16
Description
If using the popular `koa-bodyparser` module, our `captureBody` config option currently doesn't have any effect. It would be nice if the agent natively supported extracting the body from this module. Either by getting it from `ctx.request.body` where it's stored by the `koa-bodyparser`, or by patching `koa-bodyparser` directly.
Fixes: elastic/apm-agent-nodejs#407
Contributor guide
Assessment
This issue has not been assessed yet.