Skip to content

Commit d6551d7

Browse files
committed
clarify instrumentation key environment variable usage further
1 parent da67d3d commit d6551d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ The [Application Insights SDK for ASP.NET Core](https://nuget.org/packages/Micro
105105

106106
* `SET APPINSIGHTS_INSTRUMENTATIONKEY=putinstrumentationkeyhere`
107107

108-
* `APPINSIGHTS_INSTRUMENTATIONKEY` specifies the instrumentation key for applications deployed to [Azure Web Apps](https://docs.microsoft.com/azure/azure-monitor/app/azure-web-apps?tabs=net).
108+
* `APPINSIGHTS_INSTRUMENTATIONKEY` is typically used in [Azure Web Apps](https://docs.microsoft.com/azure/azure-monitor/app/azure-web-apps?tabs=net), but can also be used in all places where this SDK is supported. (If you are doing codeless web app monitoring, this format is required if you aren't using connection strings.)
109109

110-
In lieu of setting instrumentation keys you can now also use [Connection Strings](https://docs.microsoft.com/azure/azure-monitor/app/sdk-connection-string?tabs=net)
110+
In lieu of setting instrumentation keys you can now also use [Connection Strings](https://docs.microsoft.com/azure/azure-monitor/app/sdk-connection-string?tabs=net).
111111

112112
> [!NOTE]
113113
> An instrumentation key specified in code wins over the environment variable `APPINSIGHTS_INSTRUMENTATIONKEY`, which wins over other options.

0 commit comments

Comments
 (0)