Deploying Datadog

This guide provides clear, step-by-step instructions for deploying the Datadog Agent on ALPON X4 to enable robust device and container monitoring.

Welcome to this step-by-step guide for deploying the Datadog Agent on your ALPON X4 device using ALPON Cloud. The Datadog Agent is a powerful tool for monitoring your device and containers, providing real-time insights into performance metrics and system health. This guide will help you set up the agent seamlessly to start collecting data for your Datadog dashboard.

🚧

Important First Step

Before proceeding with the deployment on ALPON Cloud, ensure you have enabled the Docker integration within your Datadog account by starting the Datadog Agent installation process.

For advanced configuration details, refer to the Datadog Agent documentation.


Deployment

Ensure the gcr.io/datadoghq/agent:7 container is available in your Sixfab registry. If it is not, follow these steps to add it:

  1. Open a terminal on your personal computer and pull the Grafana container:

    docker pull --platform linux/arm64 gcr.io/datadoghq/agent:7
    
  2. Log in to the Sixfab Connect platform, navigate to the Sixfab Registry page
  3. Click on + Add Container and follow the prompts to push container to Sixfab registry.

    📘

    Manage and Deploy Applications

    Visit the Manage & Deploy Applications page for all the necessary details on pushing your container image to the Sixfab Registry.

Alternative Deployment Option:

If you prefer not to use the Sixfab registry, select the I would like to use my own container path option during deployment and enter: gcr.io/datadoghq/agent:7

This will deploy the container directly from Docker Hub.


Configuration

  1. Go to the Application section of your asset on Sixfab Connect.

  2. Click the + Deploy button to configure and deploy the container.

  3. In the Deploy Container window, use the following settings:

    • Container Name: datadog

    • Image: Select the Datadog image and tag pushed to the Sixfab Registry, or follow the steps mentioned in the 'Alternative Deployment Option'.

    • Environment: Click "+ Add More" in the environment section and add the following values:

      KeyValue
      DD_SITEYOUR_DATADOG_REGION
      DD_API_KEYYOUR_DATADOG_TOKEN
      DD_DOGSTATSD_NON_LOCAL_TRAFFICtrue

    • Volumes: Click "+ Add More" in the Volumes section and configure the following volumes:

      Read/WriteLocal PathTarget Path
      Read/Write/var/run/docker.sock/var/run/docker.sock
      Read/Write/proc//host/proc/
      Read/Write/sys/fs/cgroup//host/sys/fs/cgroup/
      Read/Write/var/lib/docker/containers/var/lib/docker/containers

  • Click the "+ Deploy" button to deploy Grafana.


Final Steps: Launch and Monitor

Once you’ve configured the settings, click Deploy and wait a few moments for the process to complete. Congratulations! The Datadog Agent is now successfully deployed on your ALPON X4 device. Within a short time, you should start seeing data from your device and its containers flowing into your Datadog dashboard.