elastic / elastic/apm-agent-nodejs
`addPatch` with handler path is poorly defined
Open
agent-nodejs
docs
- Dominant language
- JavaScript
- Stars
- 594
- Forks
- 244
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 16
Description
The [`addPatch` documentation](https://www.elastic.co/guide/en/apm/agent/nodejs/current/agent-api.html#apm-add-patch) says that the `handler` argument must be:
>handler - function or string Must be a patch function or a path to a module exporting a patch function
But exactly what "a path to a module exporting a patch function" means is ambiguous as it's unclear what a relative module path would be relative to.
Contributor guide
Assessment
This issue has not been assessed yet.