blob: 256c6999e903b1dce5d81c928d7c67f7aa6b0e71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
telemetry {
# Telemetry provider parameters
{% for key, value in nomad_telemetry_provider_parameters.items() -%}
{% if value|bool -%}
{{ key }} = {{ value | bool | lower }}
{% elif value|string or value == "" -%}
{{ key }} = "{{ value }}"
{% else %}
{{ key }} = {{ value }}
{% endif -%}
{% endfor -%}
# Common parameters
disable_hostname = {{ nomad_disable_hostname | bool | lower }}
collection_interval = "{{ nomad_collection_interval }}"
use_node_name = {{ nomad_use_node_name | bool | lower }}
publish_allocation_metrics = {{ nomad_publish_allocation_metrics | bool | lower }}
publish_node_metrics = {{ nomad_publish_node_metrics | bool | lower }}
backwards_compatible_metrics = {{ nomad_backwards_compatible_metrics | bool | lower }}
}
|