ansible/templates: Enable Nomad Telemetry
Enable Telemetry with prometheus metrics so that Nomad metrics can be scraped and alerts can be created if there's an issue.
This commit is contained in:
parent
5d75e7287e
commit
ec497ff457
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue