Skip to content

Commit 2a00a6f

Browse files
Merge pull request #276293 from jeanbisutti/proxy
Define user and password in proxy
2 parents 8101b6e + 1cde0af commit 2a00a6f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -836,6 +836,8 @@ To work around this issue, you can configure Application Insights Java 3.x to us
836836

837837
You can also set the http proxy using the environment variable `APPLICATIONINSIGHTS_PROXY`, which takes the format `https://<host>:<port>`. It then takes precedence over the proxy specified in the JSON configuration.
838838

839+
You can provide a user and a password for your proxy with the `APPLICATIONINSIGHTS_PROXY` environment variable: `https://<user>:<password>@<host>:<port>`.
840+
839841
Application Insights Java 3.x also respects the global `https.proxyHost` and `https.proxyPort` system properties if they're set, and `http.nonProxyHosts`, if needed.
840842

841843
## Recovery from ingestion failures

0 commit comments

Comments
 (0)