Using APM with Linux / Docker Agent
Case 1 : Application Running natively on VM / Host
If you are running your application on a VM / host natively, where the host agent is running. Then APM will communicate to Host Agent without any effort!Case 2 : Application Running as a container
If you are running your application as a container, then you might have to forward data generated by Middleware APM to Middleware Host Agent. You simply have to set this environment variable in your container:Shell
You can learn more about DOCKER_BRIDGE_GATEWAY_ADDRESS from the official docker docs here, but the default value is mostly
172.17.0.1
Using APM with Kubernetes Agent
If your application is running inside Kubernetes, Then you will have to forward data generated by Middleware APM to Middleware Kubernetes AgentYou simply have to set this environment variable in your container:Shell
Shell
Need assistance or want to learn more about Middleware? Contact us at support[at]middleware.io.