Skip to main content

Akuity Datadog Addon

Datadog is a powerful monitoring platform that integrates seamlessly with Argo CD components argocd-repo-server and argocd-application-controller. When using Datadog for your monitoring, ensure Datadog Agent is installed in your cluster.

Datadog Addons via Akuity Portal

If you’re using the Akuity Portal (UI), enabling Datadog is straightforward:

  1. Navigate to your cluster settings on akuity.cloud.

  2. Click on Add to enable the Datadog option under the Addons section.

  3. Update the cluster and apply your changes.

Datadog Addons via Declarative Specs

To configure Datadog integration declaratively using the Cluster custom resource definition (CRD), you can set the datadogAnnotationsEnabled flag to true. Below is an example configuration for metrics collection of argocd-repo-server and argocd-application-controller in a dev cluster:

apiVersion: argocd.akuity.io/v1alpha1
kind: Cluster
metadata:
labels:
env: dev
name: dev
namespace: akuity
spec:
data:
datadogAnnotationsEnabled: true
appReplication: false
autoUpgradeDisabled: false
multiClusterK8sDashboardEnabled: true
size: large
targetVersion: 0.5.58

Datadog Addons via Akuity Terraform Provider

To integrate using infrastructure-as-code, the Datadog addon can be enabled in your Terraform configuring the akp_cluster resource. Below is the example configuration:

resource "akp_cluster" "example" {
instance_id = data.akp_instance.example.id
name = "test-cluster"
namespace = "akuity"
labels = {
test-label = true
}
annotations = {
test-annotation = false
}
spec = {
namespace_scoped = true
description = "test-description"
data = {
size = "small"
auto_upgrade_disabled = true
target_version = "0.5.58"
managed_cluster_config = {
secret_key = "secret"
secret_name = "secret-name"
}
datadog_annotations_enabled = true
eks_addon_enabled = false
}
}