-
-
Notifications
You must be signed in to change notification settings - Fork 35.3k
perf_hooks: trace http statistics with trace_events #30790
Copy link
Copy link
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.
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.
Is your feature request related to a problem? Please describe.
We could trace user timings emitted by
perf_hookswithtrace_eventsflag:node --trace-event-categories node.perf.Since
httpalso supports to be observed withperf_hooks(#28486), it might be useful to be traced by--trace-event-categoriestoo.Describe the solution you'd like
node --trace-event-categories node.httpcould export events emitted byhttpmodule.Describe alternatives you've considered
If I got it right, there is no userspace API to record trace events manually.