Skip to content

Commit 941cf82

Browse files
Merge pull request #284505 from AaronMaxwell/aaronmax-disable-corr
Info to disable telemetry correlation
2 parents de63335 + fbf33e9 commit 941cf82

File tree

4 files changed

+26
-0
lines changed

4 files changed

+26
-0
lines changed

articles/azure-monitor/app/asp-net-core.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -854,6 +854,10 @@ When you add Application Insights Telemetry to a Visual Studio ASP.NET Core temp
854854
}
855855
```
856856

857+
### How can I disable telemetry correlation?
858+
859+
To disable telemetry correlation in code, see `<ExcludeComponentCorrelationHttpHeadersOnDomains>` in [Application Insights for console applications](/previous-versions/azure/azure-monitor/app/console).
860+
857861
## Troubleshooting
858862

859863
See the dedicated [troubleshooting article](/troubleshoot/azure/azure-monitor/app-insights/asp-net-troubleshoot-no-data).

articles/azure-monitor/app/asp-net.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,10 @@ The following pieces of code are automatically added:
533533
}
534534
```
535535

536+
### How can I disable telemetry correlation?
537+
538+
To disable telemetry correlation in configuration, see `<ExcludeComponentCorrelationHttpHeadersOnDomains>` in [Application Insights for console applications](/previous-versions/azure/azure-monitor/app/console).
539+
536540
## Troubleshooting
537541

538542
See the dedicated [troubleshooting article](/troubleshoot/azure/azure-monitor/app-insights/asp-net-troubleshoot-no-data).

articles/azure-monitor/app/java-standalone-config.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -909,6 +909,18 @@ Starting from version 3.0.2, you can also set the self-diagnostics `level` by us
909909

910910
Starting from version 3.0.3, you can also set the self-diagnostics file location by using the environment variable `APPLICATIONINSIGHTS_SELF_DIAGNOSTICS_FILE_PATH`. It then takes precedence over the self-diagnostics file path specified in the JSON configuration.
911911

912+
## Telemetry correlation
913+
914+
Telemetry correlation is enabled by default, but you may disable it in configuration.
915+
916+
```json
917+
{
918+
"preview": {
919+
"disablePropagation": true
920+
}
921+
}
922+
```
923+
912924
## An example
913925

914926
This example shows what a configuration file looks like with multiple components. Configure specific options based on your needs.

articles/azure-monitor/app/nodejs.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,12 @@ These properties are client specific, so you can configure `appInsights.defaultC
459459
| correlationIdRetryIntervalMs | The time to wait before retrying to retrieve the ID for cross-component correlation. (Default is `30000`.) |
460460
| correlationHeaderExcludedDomains| A list of domains to exclude from cross-component correlation header injection. (Default. See [Config.ts](https://github.com/Microsoft/ApplicationInsights-node.js/blob/develop/Library/Config.ts).)|
461461

462+
## Frequently asked questions
463+
464+
#### How can I disable telemetry correlation?
465+
466+
To disable telemetry correlation, use the `correlationHeaderExcludedDomains` property in configuration. For more information, see [ApplicationInsights-node.js](https://github.com/microsoft/ApplicationInsights-node.js#configuration).
467+
462468
## Troubleshooting
463469

464470
For troubleshooting information, including "no data" scenarios and customizing logs, see [Troubleshoot Application Insights monitoring of Node.js apps and services](/troubleshoot/azure/azure-monitor/app-insights/troubleshoot-app-insights-nodejs).

0 commit comments

Comments
 (0)