Skip to content

Support for other frameworks that not expose raw request at req.raw.req #78

Open
@nicomf1982

Description

@nicomf1982

Hello guys:

After jump from previous version (0.1...0.2) to 1.0 i found that my REQ object isn't logged anymore...
Digger into the code, i found that the expected shape of the req object (IncomingMessage) is now: req -> raw-> req , and other frameworks, like fastify, expose that at req -> raw directly.

I have a fix to support this (and possibly others (?) frameworks), let me know to send PR.

thx

Metadata

Metadata

Assignees

Labels

agent-nodejsMake available for APM Agents project planning.bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions