Datadog is an observability service for cloud-scale applications, providing monitoring of servers, databases, tools, and services, through a SaaS-based data analytics platform. It provides cloud-scale monitoring and security for metrics, traces and logs in one unified platform.
There are 3 ways in offical docs for installing the Datadog Agent on Kubernetes, but here I tried another way with Terraform Helm Provider.
- Kubernetes 1.22
- Terraform 1.2.9
- Terraform Helm Provider 2.6.0
My example setup DD agent and test in GCP. Similar way if you use AWS/Azure.
- Get Datadog API and application keys first.
- Upload keys to GCP Secret Manager
- Execution
cd datadog_agent_install
terraform init
terraform plan
terraform apply
MaC examples as below:
- Availability level
- availability_gke_demo_pods_monitor
- availability_gke_deploy_replicas_monitor
- availability_process_down_monitor
- availability_synthetics_api_test
- availability_synthetics_ssl_test
- availability_vm_instance_monitor
- Infrastructure level
- infra_cpu_high_load_monitor
- infra_disk_low_space_monitor
- System level
- system_log_monitor
- system_process_high_cpu_monitor
- Dashboard
- datadog_dashboard_example
cd monitoring_as_code
terraform init
terraform plan
terraform apply
Datadog Application Performance Monitoring APM
s