Skip to content

Commit 6d88221

Browse files
authored
Merge pull request #110194 from ggailey777/zuber
Add documentation for new APPLICATIONINSIGHTS_CONNECTIONSTRING setting
2 parents 81a7ce4 + c8aab09 commit 6d88221

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

articles/azure-functions/functions-app-settings.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,19 @@ There are other global configuration options in the [host.json](functions-host-j
1515

1616
## APPINSIGHTS_INSTRUMENTATIONKEY
1717

18-
The Application Insights instrumentation key if you're using Application Insights. See [Monitor Azure Functions](functions-monitoring.md).
18+
The instrumentation key for Application Insights. Only use one of `APPINSIGHTS_INSTRUMENTATIONKEY` or `APPLICATIONINSIGHTS_CONNECTIONSTRING`. For more information, see [Monitor Azure Functions](functions-monitoring.md).
1919

2020
|Key|Sample value|
2121
|---|------------|
22-
|APPINSIGHTS_INSTRUMENTATIONKEY|5dbdd5e9-af77-484b-9032-64f83bb83bb|
22+
|APPINSIGHTS_INSTRUMENTATIONKEY|55555555-af77-484b-9032-64f83bb83bb|
23+
24+
## APPLICATIONINSIGHTS_CONNECTIONSTRING
25+
26+
The connection string for Application Insights. Use `APPLICATIONINSIGHTS_CONNECTIONSTRING` instead of `APPINSIGHTS_INSTRUMENTATIONKEY` when your function app requires the added customizations supported by using the connection string. For more information, see [Connection strings](../azure-monitor/app/sdk-connection-string.md).
27+
28+
|Key|Sample value|
29+
|---|------------|
30+
|APPLICATIONINSIGHTS_CONNECTIONSTRING|InstrumentationKey=[key];IngestionEndpoint=[url];LiveEndpoint=[url];ProfilerEndpoint=[url];SnapshotEndpoint=[url];|
2331

2432
## AZURE_FUNCTIONS_ENVIRONMENT
2533

0 commit comments

Comments
 (0)