This topic provides use cases that you can follow to implement the APM Proxy within a network. BMC Application Diagnostics’ end-user experience data collection works with networking equipment as long as it does not manipulate the HTTP payload. Networking equipment, such as load balancers and routers, must intercept the network connection (OSI Layer 4) and forward it as-is to the intended destination with no impact to the HTTP payload (OSI Layer 7). As long as the load balancers are configured to allow the beacons through with no changes to the existing HTTP data, the APM Proxy can process the beacon.
BMC recommends this use case in non-production environments or for internal-user applications only.
In this use case, install the APM Proxy when installing the Diagnostics Server. The host name of the Diagnostics Server becomes the host name portion of the URL injected by the Diagnostics Agent. Before installing the APM Proxy, ensure that you have addressed the following requirements:
BMC recommends this use case when monitoring large-scale production web applications, and includes a router or other network equipment that terminates TCP connections.
BMC tested this use case with a load balancer, the most common type of network equipment that terminates a TCP connection. Any system or device that functions in a similar manner (such as a reverse-proxy) should also work, provided that it does not modify the HTTP payload.
When the APM Proxy is installed behind a load balancer, the following items need to be identified and configured. Details about configuring load balancers varies among vendors. To properly configure your load balancer, refer to your vendor's load balancer documentation.
An OSI Layer-4 load balancer with a dedicated Virtual IP for the host name used for APM Proxy beacons, or a Layer-7 load balancer that can make routing decisions based on the Host header
Because the injection of code that calculates performance metrics must occur at the origin, performance monitoring is not available for web pages that are cached by a Content Delivery Network (CDN), such as Akamai. However, performance monitoring is available for pages whose page container is called from the origin (or proxied), but the static components of the page are cached, and will still work.
APM Proxy server deployment requirements
BMC Application Diagnostics deployment use case
Installing BMC Application Diagnostics
Wikipedia: Open Systems Interconnection model (OSI) model