Skip to content

perf_hooks: trace http statistics with trace_events #30790

@legendecas

Description

@legendecas

Is your feature request related to a problem? Please describe.
We could trace user timings emitted by perf_hooks with trace_events flag: node --trace-event-categories node.perf.
Since http also supports to be observed with perf_hooks (#28486), it might be useful to be traced by --trace-event-categories too.

Describe the solution you'd like
node --trace-event-categories node.http could export events emitted by http module.

Describe alternatives you've considered
If I got it right, there is no userspace API to record trace events manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues that request new features to be added to Node.js.httpIssues or PRs related to the http subsystem.perf_hooksIssues and PRs related to the implementation of the Performance Timing API.staletrace_eventsIssues and PRs related to V8, Node.js core, and userspace code trace events.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions