feat(ipsec): Use strings instead of enums in Robot
[csit.git] / fdio.infra.ansible / roles / nomad / templates / telemetry.hcl.j2
1 {% if nomad_use_telemetry | bool == True %}
2 telemetry {
3     # Specifies if gauge values should be prefixed with the local hostname.
4     disable_hostname = {{ nomad_telemetry_disable_hostname | bool | lower }}
5
6     # Specifies the time interval at which the Nomad agent collects telemetry
7     # data.
8     collection_interval = "{{ nomad_telemetry_collection_interval }}"
9
10     # Specifies if gauge values should be prefixed with the name of the node,
11     # instead of the hostname. If set it will override disable_hostname value.
12     use_node_name = {{ nomad_telemetry_use_node_name | bool | lower }}
13
14     # Specifies if Nomad should publish runtime metrics of allocations.
15     publish_allocation_metrics = {{ nomad_telemetry_publish_allocation_metrics | bool | lower }}
16
17     # Specifies if Nomad should publish runtime metrics of nodes.
18     publish_node_metrics = {{ nomad_telemetry_publish_node_metrics | bool | lower }}
19
20     # Specifies whether the agent should make Prometheus formatted metrics
21     # available at /v1/metrics?format=prometheus.Specifies whether the agent
22     # should make Prometheus formatted metrics available at
23     # /v1/metrics?format=prometheus.
24     prometheus_metrics = {{ nomad_telemetry_prometheus_metrics | bool | lower }}
25 }
26 {% endif %}