Use cases
The standalone agent Docker image is designed for receiving data from other containers in your infrastructure. It is a good choice for:- Receiving StatsD metrics from your applications (port 8125)
- Receiving OpenTelemetry data from your applications (port 8099)
- Collecting NGINX metrics (port 27649)
Host metrics
If you need host metrics monitoring (CPU, memory, disk, network), use one of these approaches instead:- Docker host machine: install the Linux package directly on the host machine that runs your Docker containers.
- Kubernetes: use the Kubernetes integration to monitor host metrics across your cluster.
- Individual containers: if you’re not using Kubernetes and need to monitor host metrics of specific containers, install the Linux package inside each container that you want to monitor.
Docker image
Add a container/service using the appsignal/agent Docker image to your application’s infrastructure. If you want any apps to report data to it, like StatsD metrics, OpenTelemetry data and NGINX metrics, point them to the container’s name in the application.Supported platforms
The Docker image supports the following platforms. This list can also be viewed per Docker image tag on Docker Hub page for this image.- x86 64-bit
- ARM 64-bit
Configuration
The agent can be configured with environment variables specified in the Docker run command, Docker compose options or Kubernetes configuration. In the examples below, replaceYOUR_PUSH_API_KEY with your actual AppSignal Push API key and configure it with your application details.
A full list of all configuration options can be found in the configuration section.
Docker run
Docker compose
That’s it! Once you’ve completed these steps, you should have the AppSignal standalone agent’s Docker image up and running and receiving data from other apps, if configured.