Skip to content

Commit 6bec364

Browse files
authored
Merge pull request #1167 from microsoft/littleaj/update-sb-readme-constr
Update README.md
2 parents fce4a5c + c6080f1 commit 6bec364

File tree

1 file changed

+5
-1
lines changed
  • azure-application-insights-spring-boot-starter

1 file changed

+5
-1
lines changed

azure-application-insights-spring-boot-starter/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,13 @@ public class MyApplication {
115115

116116
#### Configure more parameters using `application.properties`
117117
```properties
118-
# Instrumentation key from the Azure Portal. Required.
118+
# Either InstrumentationKey or ConnectionString is required
119+
# Instrumentation key from the Azure Portal.
119120
azure.application-insights.instrumentation-key=00000000-0000-0000-0000-000000000000
120121

122+
# Connection String from the Azure Portal.
123+
azure.application-insights.connection-string=InstrumentationKey=00000000-0000-0000-0000-000000000000
124+
121125
# Enable/Disable tracking. Default value: true.
122126
azure.application-insights.enabled=true
123127

0 commit comments

Comments
 (0)