Proxy Configuration

If your application runs in an environment that restricts outbound network connections and whitelisting IPs is not possible, our agents can be configured to use an explicit HTTP proxy server to forward connections to the AppOptics backend collector.appoptics.com (aka the collector).

The connection between the agent and collector is encrypted via TLS, so the proxy needs to support tunneling HTTPS traffic via HTTP CONNECT. Examples of such proxies include Squid, HAProxy and Apache with mod_proxy_connect. The agents support connecting to the proxy with no authentication, or with Basic authentication.

Note that proxy configuration can be set globally for the application process using environment variables or runtime properties, or set specifically for just the agent outbound connections. If set in both places, the agent-specific configuration takes precedence.

See the links below on how to set proxy configuration for each agent: