You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/java-standalone-config.md
+1-11Lines changed: 1 addition & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,7 @@ you can also set the connectiong string by loading it from a file.
73
73
}
74
74
```
75
75
76
-
`connection-string-file.txt` only contains the connection string:
76
+
`connection-string-file.txt`can be an absolute or relative path to the the agent jar location. It only contains the connection string:
77
77
78
78
```
79
79
InstrumentationKey=...;IngestionEndpoint=...
@@ -596,16 +596,6 @@ and the console, corresponding to this configuration:
596
596
Starting from version 3.0.2, you can also set the self-diagnostics `level` using the environment variable `APPLICATIONINSIGHTS_SELF_DIAGNOSTICS_LEVEL`
597
597
(which will then take precedence over self-diagnostics level specified in the json configuration).
598
598
599
-
600
-
## Thread dump
601
-
602
-
We use thread dump to troubleshoot Java Codeless Agent's startup performance.
603
-
If you experience that the agent startup takes longer than usual, you can submit the thread dump to us and we can help you investigate the cause of the slowness.
604
-
605
-
If you use a JVM arg `-Dapplicationinsights.debug.startupProfiling=true`, it will automatically generate a thread dump file under the default temp folder `applicationinsights/stacktrace.txt`.
606
-
607
-
`applicationinsights.log` will have the file path. It has something like `Writing startup profiler to C:\Users\${USER_NAME}\AppData\Local\Temp\applicationinsights\stacktrace.txt`.
608
-
609
599
## An example
610
600
611
601
This is just an example to show what a configuration file looks like with multiple components.
0 commit comments