dd_agent_major_version: 6 # or 7; determines what URL below should be used
api_key: YOUR_DATADOG_API_KEY
logs_enabled: true
ecs_fargate: true
acs: false
process_agent_enabled: true # add this line for process agent
confd_integration_configs: # begin AWS layer configuraiton
- name: aws
enabled: true
instances:
- role_arn: "arn:aws:iam::YOUR_ACCOUNT:role/YOUR_ROLE" # add role with access to AWS API
region: virtual # don't actually need to specify this; just gets rid of config warning
- role_name: "YOUR_ROLE_NAME"
region: virtual # don't actually need to specify this; just gets rid of config warning
- name: jjb
proxy_http: "xxx"
proxy_https: "xxx"
注意:请记得将 YOUR_DATADOG_API_KEY
、YOUR_ACCOUNT
和 YOUR_ROLE
替换为相应值。
DD_API_KEY
和 AWS_ACCESS_KEY_ID
、`AWS