Skip to content

Commit 54e54a6

Browse files
authored
Merge pull request #8256 from trask/request-id
AB#4031: Add capturing request-id to troubleshooting steps
2 parents fb3a879 + 42cd2b9 commit 54e54a6

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Troubleshoot Azure Monitor Application Insights for Java
33
description: This article presents troubleshooting information for the Java agent for Azure Monitor Application Insights.
44
ms.topic: conceptual
5-
ms.date: 01/15/2025
5+
ms.date: 02/20/2025
66
editor: v-jsitser
77
ms.reviewer: aaronmax, jeanbisutti, trstalna, toddfous, heya, v-leedennis
88
ms.service: azure-monitor
@@ -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)