File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727# }
2828#
2929class datadog_agent::integrations::consul (
30- $url = ' http://localhost:8500' ,
31- $catalog_checks = true ,
32- $new_leader_checks = true ,
33- $service_whitelist = []
30+ $url = ' http://localhost:8500' ,
31+ $catalog_checks = true ,
32+ $network_latency_checks = true ,
33+ $new_leader_checks = true ,
34+ $service_whitelist = []
3435) inherits datadog_agent::params {
3536 include datadog_agent
3637
Original file line number Diff line number Diff line change @@ -29,6 +29,12 @@ instances:
2929 # you will receive one event per leader change per agent
3030 new_leader_checks: <%= @new_leader_checks ? 'yes' : 'no' %>
3131
32+ # Whether to enable network latency metrics collection. When enabled
33+ # consul network coordinates will be retrieved and latency calculated for
34+ # each node and between data centers.
35+ # See https://www.consul.io/docs/internals/coordinates.html
36+ network_latency_checks: <%= @network_latency_checks ? 'yes' : 'no' %>
37+
3238 # Services to restrict catalog querying to
3339 # The default settings query up to 50 services. So if you have more than
3440 # this many in your Consul service catalog, you will want to fill in the
You can’t perform that action at this time.
0 commit comments