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:
- Open a terminal on your personal computer and pull the Grafana container:
docker pull --platform linux/arm64 gcr.io/datadoghq/agent:7
- Log in to the Sixfab Connect platform, navigate to the Sixfab Registry page
- 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
-
Go to the Application section of your asset on Sixfab Connect.
-
Click the + Deploy button to configure and deploy the container.
-
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:
Key Value DD_SITE YOUR_DATADOG_REGION DD_API_KEY YOUR_DATADOG_TOKEN DD_DOGSTATSD_NON_LOCAL_TRAFFIC true
-
Volumes: Click "+ Add More" in the Volumes section and configure the following volumes:
Read/Write Local Path Target 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.
Updated about 17 hours ago