Skip to content

Commit

Permalink
Merge pull request #595 from wolf31o2/support-209172
Browse files Browse the repository at this point in the history
Support jmx_custom_jars datadog.conf option
  • Loading branch information
remeh authored Mar 27, 2019
2 parents 284ecdd + 6e209d1 commit 44e1ebd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/default/datadog.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ sd_template_dir: <%= node['datadog']['sd_template_dir'] %>

# Enable JMX checks for service discovery
sd_jmx_enable: <%= node['datadog']['sd_jmx_enable'] %>
<% if node['datadog']['jmx_custom_jars'] %>
# If you require custom jars to be loaded for JMX checks, you can set their paths here
# instead of setting them in the checks' custom_jar_paths option
jmx_custom_jars: <%= node['datadog']['jmx_custom_jars'] %>
<% end -%>
<% end -%>
<% if node['datadog']['dogstatsd'] -%>
Expand Down

0 comments on commit 44e1ebd

Please sign in to comment.