diff --git a/ansible/templates/nomad-base.hcl.j2 b/ansible/templates/nomad-base.hcl.j2 index 8595771..cba157b 100644 --- a/ansible/templates/nomad-base.hcl.j2 +++ b/ansible/templates/nomad-base.hcl.j2 @@ -8,3 +8,11 @@ advertise { rpc = "{{ ansible_host }}" serf = "{{ ansible_host }}" } + +telemetry { + collection_interval = "1s" + disable_hostname = true + prometheus_metrics = true + publish_allocation_metrics = true + publish_node_metrics = true +}