Skip to content

Commit

Permalink
CLDR-17699 DataDog update
Browse files Browse the repository at this point in the history
- set the environment for apm
  • Loading branch information
srl295 committed Jun 10, 2024
1 parent a1667b2 commit 9026f74
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tools/scripts/ansible/monitoring-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,13 @@
datadog_api_key: "{{ dd_key }}"
datadog_site: "{{ dd_site }}"
datadog_apm_instrumentation_enabled: "host" # docker not installed else 'all'

tasks:
- name: Update datadog.yaml for apm/env
blockinfile:
path: /etc/datadog-agent/datadog.yaml
block: |
# enable apm and set the env
enabled: true
env: {{ ddenv }}
marker: '# {mark} ANSIBLE MANAGED BLOCK'
insertafter: '^apm_config:'

0 comments on commit 9026f74

Please sign in to comment.