Skip to content

Instantly share code, notes, and snippets.

@phwelo
Last active August 22, 2019 20:00
Show Gist options
  • Save phwelo/565b48b582c10b4e09b118a6331a6e86 to your computer and use it in GitHub Desktop.
Save phwelo/565b48b582c10b4e09b118a6331a6e86 to your computer and use it in GitHub Desktop.
ECS Datadog Agent Yaml Config (For dev)
#########################
## Basic Configuration ##
#########################
site: datadoghq.com
skip_ssl_validation: false
# force_tls_12: false
tags:
- environment:dev
- dd_agent:true
- os_type:amazon
collect_ec2_tags: false
collect_gce_tags: true
############################
## Advanced Configuration ##
############################
health_port: 5555
enable_metadata_collection: true
enable_gohai: true
disable_py3_validation: false
##################################
## Log collection Configuration ##
##################################
logs_enabled: true
logs_config:
container_collect_all: true
# logs_no_ssl: false
######################################
## Process Collection Configuration ##
######################################
process_config:
enabled: "true"
############################
## DogStatsD Configuration ##
############################
use_dogstatsd: true
dogstatsd_port: 8125
dogstatsd_origin_detection: true
dogstatsd_stats_enable: true
dogstatsd_metrics_stats_enable: true
###########################
## Logging Configuration ##
###########################
log_level: info
##############################
## Autoconfig Configuration ##
##############################
config_providers:
- name: docker
polling: true
###########################################
## Container Autodiscovery Configuration ##
###########################################
listeners:
- name: docker
exclude_pause_container: false
###################################
## ECS integration Configuration ##
###################################
ecs_agent_container_name: ecs-agent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment