This page outlines configurations available for the Atatus Container Agent, which automatically discovers all available containers. Learn how to manage included or excluded containers from data collection and configure specific parameters.

Configurations

Use the following configuration options to customize the agent.

Include & Exclude Options:

Atatus supports the following environment variables for logging and metric inclusion or exclusion based on container and image names. Let’s proceed with configuring them as environment variables. Use the image flag for specifying the image name and the name flag for the container name. Examples:
  • To monitor containers with the name api-server and frontend-server:
  • To exclude containers with the name nginx and auth-service:
  • To exclude containers with their image names apache and mysql:
  • To include logs and metrics for containers by their name or image:
  • To exclude logs and metrics for containers by their name or image:

Setting Up with Docker Compose/Docker Swarm:

Add a service named atatus-infra-agent using the docker image atatus-infra-agent:4.3.0 with the following environment variables:

Running with Docker Command:

Run this container in the background with detached Mode -d: