@@ -4,6 +4,7 @@ init_config:
44
55instances:
66 - collect_connection_state: <%= @collect_connection_state %>
7+ collect_connection_queues: <%= @collect_connection_queues %>
78<% if !@excluded_interfaces.empty? -%>
89 excluded_interfaces:
910<%- (@excluded_interfaces.each do |interface| -%>
@@ -14,3 +15,48 @@ instances:
1415 excluded_interface_re: <%= @excluded_interface_re %>
1516<% end -%>
1617 combine_connection_states: <%= @combine_connection_states %>
18+ collect_rate_metrics: <%= @collect_rate_metrics %>
19+ collect_count_metrics: <%= @collect_count_metrics %>
20+ <% if !@conntrack_path.empty? -%>
21+ conntrack_path: <%= @conntrack_path %>
22+ <% end -%>
23+ use_sudo_conntrack: <%= @use_sudo_conntrack %>
24+ <% if !@whitelist_conntrack_metrics.empty? -%>
25+ whitelist_conntrack_metrics:
26+ <%- (@whitelist_conntrack_metrics.each do |metric| -%>
27+ - <%= metric %>
28+ <% end ) -%>
29+ <% end -%>
30+ <% if !@blacklist_conntrack_metrics.empty? -%>
31+ blacklist_conntrack_metrics:
32+ <%- (@blacklist_conntrack_metrics.each do |metric| -%>
33+ - <%= metric %>
34+ <% end ) -%>
35+ <% end -%>
36+ collect_aws_ena_metrics: <%= @collect_aws_ena_metrics %>
37+ <% if !@tags.empty? -%>
38+ tags:
39+ <%- (@tags.each do |tag| -%>
40+ - <%= tag %>
41+ <% end ) -%>
42+ <% end -%>
43+ <% if !@service.empty? -%>
44+ service: <%= @service %>
45+ <% end -%>
46+ min_collection_interval: <%= @min_collection_interval %>
47+ empty_default_hostname: <%= @empty_default_hostname %>
48+ <% if !@metric_patterns_include.empty? or !@metric_patterns_exclude.empty? -%>
49+ metric_patterns:
50+ <% if !@metric_patterns_include.empty? -%>
51+ include:
52+ <%- (@metric_patterns_include.each do |include_pattern| -%>
53+ - <%= include_pattern %>
54+ <% end ) -%>
55+ <% end -%>
56+ <% if !@metric_patterns_exclude.empty? -%>
57+ exclude:
58+ <%- (@metric_patterns_exclude.each do |exclude_pattern| -%>
59+ - <%= exclude_pattern %>
60+ <% end ) -%>
61+ <% end -%>
62+ <% end -%>
0 commit comments