File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
articles/spring-apps/enterprise Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ You must manually provide the Application Insights connection string to the Orde
44
44
1 . Use the following commands to retrieve the Application Insights connection string and set it in Key Vault:
45
45
46
46
``` azurecli
47
- export INSTRUMENTATION_KEY =$(az monitor app-insights component show \
47
+ export CONNECTION_STRING =$(az monitor app-insights component show \
48
48
--resource-group <resource-group-name> \
49
49
--app <app-insights-name> \
50
50
--query "connectionString" \
@@ -53,7 +53,7 @@ You must manually provide the Application Insights connection string to the Orde
53
53
az keyvault secret set \
54
54
--vault-name <key-vault-name> \
55
55
--name "ApplicationInsights--ConnectionString" \
56
- --value ${INSTRUMENTATION_KEY }
56
+ --value ${CONNECTION_STRING }
57
57
```
58
58
59
59
> [ !NOTE]
@@ -68,7 +68,7 @@ You must manually provide the Application Insights connection string to the Orde
68
68
--builder-name default \
69
69
--name default \
70
70
--type ApplicationInsights \
71
- --properties sampling-rate=100 connection_string=${INSTRUMENTATION_KEY }
71
+ --properties sampling-rate=100 connection_string=${CONNECTION_STRING }
72
72
```
73
73
74
74
1 . Use the following commands to restart applications to reload configuration:
You can’t perform that action at this time.
0 commit comments