From ecb963dd44b6c7ede54133a054b9db7262ab357c Mon Sep 17 00:00:00 2001 From: vmarchaud Date: Thu, 6 Jun 2019 14:45:02 +0200 Subject: [PATCH] doc: document trace-events category for dns requests As implemented in https://github.com/nodejs/node/pull/21840, dns can emit trace events when the category is enabled. This PR just add it to the documentation. PR-URL: https://github.com/nodejs/node/pull/28100 Reviewed-By: Colin Ihrig Reviewed-By: Rich Trott Reviewed-By: James M Snell --- doc/api/tracing.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/api/tracing.md b/doc/api/tracing.md index e09455d6437b73..64622d6b503a56 100644 --- a/doc/api/tracing.md +++ b/doc/api/tracing.md @@ -20,6 +20,7 @@ The available categories are: * `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.