diff options
Diffstat (limited to 'doc/api/tracing.md')
-rw-r--r-- | doc/api/tracing.md | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/api/tracing.md b/doc/api/tracing.md index 999c7d72301..596f624be54 100644 --- a/doc/api/tracing.md +++ b/doc/api/tracing.md @@ -13,26 +13,26 @@ accepts a list of comma-separated category names. The available categories are: -* `node` - An empty placeholder. -* `node.async_hooks` - Enables capture of detailed [`async_hooks`][] trace data. +* `node`: An empty placeholder. +* `node.async_hooks`: Enables capture of detailed [`async_hooks`][] trace data. The [`async_hooks`][] events have a unique `asyncId` and a special `triggerId` `triggerAsyncId` property. -* `node.bootstrap` - Enables capture of Node.js bootstrap milestones. -* `node.console` - Enables capture of `console.time()` and `console.count()` +* `node.bootstrap`: Enables capture of Node.js bootstrap milestones. +* `node.console`: Enables capture of `console.time()` and `console.count()` output. -* `node.dns.native` - Enables capture of trace data for DNS queries. -* `node.environment` - Enables capture of Node.js Environment milestones. -* `node.fs.sync` - Enables capture of trace data for file system sync methods. -* `node.perf` - Enables capture of [Performance API][] measurements. - * `node.perf.usertiming` - Enables capture of only Performance API User Timing +* `node.dns.native`: Enables capture of trace data for DNS queries. +* `node.environment`: Enables capture of Node.js Environment milestones. +* `node.fs.sync`: Enables capture of trace data for file system sync methods. +* `node.perf`: Enables capture of [Performance API][] measurements. + * `node.perf.usertiming`: Enables capture of only Performance API User Timing measures and marks. - * `node.perf.timerify` - Enables capture of only Performance API timerify + * `node.perf.timerify`: Enables capture of only Performance API timerify measurements. -* `node.promises.rejections` - Enables capture of trace data tracking the number +* `node.promises.rejections`: Enables capture of trace data tracking the number of unhandled Promise rejections and handled-after-rejections. -* `node.vm.script` - Enables capture of trace data for the `vm` module's +* `node.vm.script`: Enables capture of trace data for the `vm` module's `runInNewContext()`, `runInContext()`, and `runInThisContext()` methods. -* `v8` - The [V8][] events are GC, compiling, and execution related. +* `v8`: The [V8][] events are GC, compiling, and execution related. By default the `node`, `node.async_hooks`, and `v8` categories are enabled. |