Using an HTTP Proxy - microsoft/ApplicationInsights-Java GitHub Wiki
In Order to configure the SDK to use a proxy, configure the following JVM options for the core jar:
-Dhttp.proxyHost=<proxy hostname or address>
-Dhttp.proxyPort=<proxy port>
See the Apache Http client documentation for a full list of proxy options.