doc: correct diagnostics_channel built-in channel names

The names listed under the Modules and Process built-in channel sections
did not match the channel names actually published by the runtime, so
subscribing with the documented names produced no events.

Signed-off-by: Bryan English <bryan@bryanenglish.com>
PR-URL: https://github.com/nodejs/node/pull/62995
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
This commit is contained in:
Bryan English authored and Juan José Arboleda committed 2026-07-19 17:31:12 -05:00
1 parent ffe8635061
commit cac004b65d
1 file changed
+7 -7
+7 -7
View File
@@ -1302,7 +1302,7 @@ closing the stream can be retrieved using the `stream.rstCode` property.
> Stability: 1 - Experimental
##### Event: `'module.require.start'`
##### Event: `'tracing:module.require:start'`
* `event` {Object} containing the following properties
* `id` Argument passed to `require()`. Module name.
@@ -1310,7 +1310,7 @@ closing the stream can be retrieved using the `stream.rstCode` property.
Emitted when `require()` is executed. See [`start` event][].
##### Event: `'module.require.end'`
##### Event: `'tracing:module.require:end'`
* `event` {Object} containing the following properties
* `id` Argument passed to `require()`. Module name.
@@ -1318,7 +1318,7 @@ Emitted when `require()` is executed. See [`start` event][].
Emitted when a `require()` call returns. See [`end` event][].
##### Event: `'module.require.error'`
##### Event: `'tracing:module.require:error'`
* `event` {Object} containing the following properties
* `id` Argument passed to `require()`. Module name.
@@ -1327,7 +1327,7 @@ Emitted when a `require()` call returns. See [`end` event][].
Emitted when a `require()` throws an error. See [`error` event][].
##### Event: `'module.import.asyncStart'`
##### Event: `'tracing:module.import:asyncStart'`
* `event` {Object} containing the following properties
* `id` Argument passed to `import()`. Module name.
@@ -1335,7 +1335,7 @@ Emitted when a `require()` throws an error. See [`error` event][].
Emitted when `import()` is invoked. See [`asyncStart` event][].
##### Event: `'module.import.asyncEnd'`
##### Event: `'tracing:module.import:asyncEnd'`
* `event` {Object} containing the following properties
* `id` Argument passed to `import()`. Module name.
@@ -1343,7 +1343,7 @@ Emitted when `import()` is invoked. See [`asyncStart` event][].
Emitted when `import()` has completed. See [`asyncEnd` event][].
##### Event: `'module.import.error'`
##### Event: `'tracing:module.import:error'`
* `event` {Object} containing the following properties
* `id` Argument passed to `import()`. Module name.
@@ -1434,7 +1434,7 @@ process has been created.
Emitted when [`child_process.spawn()`][] encounters an error.
##### Event: `'execve'`
##### Event: `'process.execve'`
* `execPath` {string}
* `args` {string\[]}