-
-
Notifications
You must be signed in to change notification settings - Fork 33.6k
Closed
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.httpIssues or PRs related to the http subsystem.Issues or PRs related to the http subsystem.perf_hooksIssues and PRs related to the implementation of the Performance Timing API.Issues 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.Issues and PRs related to V8, Node.js core, and userspace code trace events.
Description
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
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.httpIssues or PRs related to the http subsystem.Issues or PRs related to the http subsystem.perf_hooksIssues and PRs related to the implementation of the Performance Timing API.Issues 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.Issues and PRs related to V8, Node.js core, and userspace code trace events.