Skip to content

Commit 15d59de

Browse files
committed
docs: update README.md about advanced network capture
1 parent 5b4079f commit 15d59de

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

packages/node-opentelemetry/README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -192,13 +192,7 @@ export HDX_NODE_BETA_MODE=1
192192

193193
By enabling advanced network capture, the SDK will additionally capture full HTTP request/response headers
194194
and bodies for all inbound/outbound HTTP requests, to help with more in-depth request debugging.
195-
This can be accomplished by setting `HDX_NODE_ADVANCED_NETWORK_CAPTURE` environment variable to 1.
196-
197-
```sh
198-
export HDX_NODE_ADVANCED_NETWORK_CAPTURE=1
199-
```
200-
201-
If you only want to capture the header or body, we also provide two separate flags for you.
195+
This can be accomplished by setting `HDX_NODE_NETWORK_HEADERS_CAPTURE` and `HDX_NODE_NETWORK_BODY_CAPTURE` environment variables to 1.
202196

203197
```sh
204198
export HDX_NODE_NETWORK_HEADERS_CAPTURE=1

0 commit comments

Comments
 (0)