Skip to content

Commit

Permalink
add 'dd.enable_remote_configuration' property'
Browse files Browse the repository at this point in the history
  • Loading branch information
NouemanKHAL committed Aug 31, 2023
1 parent fa36d6d commit 201bdb1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jobs/dd-agent/spec
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,9 @@ properties:
dd.cluster_agent_poll_interval:
default: 10
description: How often to poll the Cluster Agent for new config checks (in seconds).
dd.enable_remote_configuration:
default: false
description: Enable Remote Configuration
container_tagger.retry_count:
default: 10
description: How many attempts the Agent tries to inject tags in a Container.
Expand All @@ -305,4 +308,3 @@ properties:
cluster_agent.port:
default: 5005
description: Port to connect to the cluster agent.

5 changes: 5 additions & 0 deletions jobs/dd-agent/templates/config/datadog.yaml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ dd_url: <%= p("dd.url") %>
<%# run_path needs to be set for remote config to work %>
run_path: /var/vcap/jobs/dd-agent/packages/dd-agent/run

<% if p("dd.enable_remote_configuration") %>
remote_configuration:
enabled: <%= p("dd.enable_remote_configuration") %>
<% end %>

# Logs agent
#
# Logs agent is disabled by default
Expand Down

0 comments on commit 201bdb1

Please sign in to comment.