Skip to content

Commit c34c74e

Browse files
committed
Connection string updates
1 parent 21404b5 commit c34c74e

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

articles/azure-monitor/app/java-standalone-config.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Connection string and role name are the most common settings needed to get start
1818

1919
```json
2020
{
21-
"connectionString": "InstrumentationKey=...",
21+
"connectionString": "...",
2222
"role": {
2323
"name": "my cloud role name"
2424
}
@@ -53,7 +53,7 @@ Connection string is required. You can find your connection string in your Appli
5353

5454
```json
5555
{
56-
"connectionString": "InstrumentationKey=..."
56+
"connectionString": "..."
5757
}
5858
```
5959

@@ -70,11 +70,7 @@ If you specify a relative path, it will be resolved relative to the directory wh
7070
}
7171
```
7272

73-
The file should contain only the connection string, for example:
74-
75-
```
76-
InstrumentationKey=...;IngestionEndpoint=...;LiveEndpoint=...
77-
```
73+
The file should contain only the connection string and nothing else.
7874

7975
Not setting the connection string will disable the Java agent.
8076

@@ -280,11 +276,11 @@ Connection string overrides allow you to override the [default connection string
280276
"connectionStringOverrides": [
281277
{
282278
"httpPathPrefix": "/myapp1",
283-
"connectionString": "12345678-0000-0000-0000-0FEEDDADBEEF"
279+
"connectionString": "..."
284280
},
285281
{
286282
"httpPathPrefix": "/myapp2",
287-
"connectionString": "87654321-0000-0000-0000-0FEEDDADBEEF"
283+
"connectionString": "..."
288284
}
289285
]
290286
}
@@ -797,7 +793,7 @@ Please configure specific options based on your needs.
797793

798794
```json
799795
{
800-
"connectionString": "InstrumentationKey=...",
796+
"connectionString": "...",
801797
"role": {
802798
"name": "my cloud role name"
803799
},

0 commit comments

Comments
 (0)