Skip to content

Commit 5d97919

Browse files
bengladuh95
authored andcommitted
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: #62995 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
1 parent 2a9ccc9 commit 5d97919

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

doc/api/diagnostics_channel.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1303,23 +1303,23 @@ closing the stream can be retrieved using the `stream.rstCode` property.
13031303

13041304
> Stability: 1 - Experimental
13051305
1306-
##### Event: `'module.require.start'`
1306+
##### Event: `'tracing:module.require:start'`
13071307

13081308
* `event` {Object} containing the following properties
13091309
* `id` Argument passed to `require()`. Module name.
13101310
* `parentFilename` Name of the module that attempted to require(id).
13111311

13121312
Emitted when `require()` is executed. See [`start` event][].
13131313

1314-
##### Event: `'module.require.end'`
1314+
##### Event: `'tracing:module.require:end'`
13151315

13161316
* `event` {Object} containing the following properties
13171317
* `id` Argument passed to `require()`. Module name.
13181318
* `parentFilename` Name of the module that attempted to require(id).
13191319

13201320
Emitted when a `require()` call returns. See [`end` event][].
13211321

1322-
##### Event: `'module.require.error'`
1322+
##### Event: `'tracing:module.require:error'`
13231323

13241324
* `event` {Object} containing the following properties
13251325
* `id` Argument passed to `require()`. Module name.
@@ -1328,23 +1328,23 @@ Emitted when a `require()` call returns. See [`end` event][].
13281328

13291329
Emitted when a `require()` throws an error. See [`error` event][].
13301330

1331-
##### Event: `'module.import.asyncStart'`
1331+
##### Event: `'tracing:module.import:asyncStart'`
13321332

13331333
* `event` {Object} containing the following properties
13341334
* `id` Argument passed to `import()`. Module name.
13351335
* `parentURL` URL object of the module that attempted to import(id).
13361336

13371337
Emitted when `import()` is invoked. See [`asyncStart` event][].
13381338

1339-
##### Event: `'module.import.asyncEnd'`
1339+
##### Event: `'tracing:module.import:asyncEnd'`
13401340

13411341
* `event` {Object} containing the following properties
13421342
* `id` Argument passed to `import()`. Module name.
13431343
* `parentURL` URL object of the module that attempted to import(id).
13441344

13451345
Emitted when `import()` has completed. See [`asyncEnd` event][].
13461346

1347-
##### Event: `'module.import.error'`
1347+
##### Event: `'tracing:module.import:error'`
13481348

13491349
* `event` {Object} containing the following properties
13501350
* `id` Argument passed to `import()`. Module name.
@@ -1435,7 +1435,7 @@ process has been created.
14351435

14361436
Emitted when [`child_process.spawn()`][] encounters an error.
14371437

1438-
##### Event: `'execve'`
1438+
##### Event: `'process.execve'`
14391439

14401440
* `execPath` {string}
14411441
* `args` {string\[]}

0 commit comments

Comments
 (0)