Skip to content

Commit cc10735

Browse files
authored
Merge pull request #113532 from mrbullwinkle/mrb_05_01_2020_netcore
clarify instrumentation key environment variable usage further
2 parents 1e8481d + d6551d7 commit cc10735

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)