elastic / elastic/apm-agent-nodejs

Automatically get body from koa-bodyparser

Open
#409 14 comments 5 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.