aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/nomad/templates/telemetry.hcl.j2
blob: 4ad5330d1bdd85856e17734e0331555a3c551491 (plain)
1
2
3
4
5
6
7
8
9
10
{% if nomad_telemetry | bool == True %}
telemetry {
    disable_hostname = "{{ nomad_telemetry_disable_hostname | default(false) | bool | lower }}"
    collection_interval = "{{ nomad_telemetry_collection_interval | default("1s") }}"
    use_node_name = "{{ nomad_telemetry_use_node_name | default(false) | bool | lower }}"
    publish_allocation_metrics = "{{ nomad_telemetry_publish_allocation_metrics | default(false) | bool | lower }}"
    publish_node_metrics = "{{ nomad_telemetry_publish_node_metrics | default(false) | bool | lower }}"
    prometheus_metrics = "{{ nomad_telemetry_prometheus_metrics | default(false) | bool | lower }}"
}
{% endif %}