Skip to content

Commit b9c1c5d

Browse files
Merge pull request #267521 from domainname/domainname-patch-25
[ASA] Avoid using wording `INSTRUMENTATION_KEY`
2 parents d878aa8 + 67ad284 commit b9c1c5d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/spring-apps/enterprise/quickstart-monitor-end-to-end-enterprise.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ You must manually provide the Application Insights connection string to the Orde
4444
1. Use the following commands to retrieve the Application Insights connection string and set it in Key Vault:
4545

4646
```azurecli
47-
export INSTRUMENTATION_KEY=$(az monitor app-insights component show \
47+
export CONNECTION_STRING=$(az monitor app-insights component show \
4848
--resource-group <resource-group-name> \
4949
--app <app-insights-name> \
5050
--query "connectionString" \
@@ -53,7 +53,7 @@ You must manually provide the Application Insights connection string to the Orde
5353
az keyvault secret set \
5454
--vault-name <key-vault-name> \
5555
--name "ApplicationInsights--ConnectionString" \
56-
--value ${INSTRUMENTATION_KEY}
56+
--value ${CONNECTION_STRING}
5757
```
5858

5959
> [!NOTE]
@@ -68,7 +68,7 @@ You must manually provide the Application Insights connection string to the Orde
6868
--builder-name default \
6969
--name default \
7070
--type ApplicationInsights \
71-
--properties sampling-rate=100 connection_string=${INSTRUMENTATION_KEY}
71+
--properties sampling-rate=100 connection_string=${CONNECTION_STRING}
7272
```
7373

7474
1. Use the following commands to restart applications to reload configuration:

0 commit comments

Comments
 (0)