Skip to content

Commit c4f112b

Browse files
committed
Add capturing request-id to troubleshooting steps
1 parent 294c947 commit c4f112b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

support/azure/azure-monitor/app-insights/telemetry/java-standalone-troubleshoot.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,14 +258,15 @@ You can also try the [monitoring solutions for Java native](/azure/azure-monitor
258258

259259
Application logic can result in an operation ID being reused by multiple telemetry items, as shown in [this example](/azure/azure-monitor/app/distributed-trace-data#example). The duplication might also come from incoming requests. To identify this, do the following operations:
260260

261-
* Enable the capture of the `traceparent` header in the **applicationinsigths.json** file as follows:
261+
* Enable the capture of the `traceparent` and `request-id` headers in the **applicationinsigths.json** file as follows:
262262

263263
```json
264264
{
265265
"preview": {
266266
"captureHttpServerHeaders": {
267267
"requestHeaders": [
268-
"traceparent"
268+
"traceparent",
269+
"request-id"
269270
]
270271
}
271272
}

0 commit comments

Comments
 (0)