aboutsummaryrefslogtreecommitdiff
path: root/os/config/roles/nomad/templates
diff options
context:
space:
mode:
authorQuentin <quentin@deuxfleurs.fr>2020-11-30 08:31:17 +0100
committerQuentin <quentin@deuxfleurs.fr>2020-11-30 08:31:17 +0100
commit365849760df9a70be5d3dd9d4c477226610c5aee (patch)
tree88d408abdb604f069f28bbf26da4f6072495a367 /os/config/roles/nomad/templates
parentde3e21101dfcb6e7c4f293a23e0ced33ed2fa5a9 (diff)
downloadinfrastructure-365849760df9a70be5d3dd9d4c477226610c5aee.tar.gz
infrastructure-365849760df9a70be5d3dd9d4c477226610c5aee.zip
Upgrade Nomad and expose telemetry
Diffstat (limited to 'os/config/roles/nomad/templates')
-rw-r--r--os/config/roles/nomad/templates/nomad.hcl.j27
1 files changed, 7 insertions, 0 deletions
diff --git a/os/config/roles/nomad/templates/nomad.hcl.j2 b/os/config/roles/nomad/templates/nomad.hcl.j2
index b5d5d46..d1c0720 100644
--- a/os/config/roles/nomad/templates/nomad.hcl.j2
+++ b/os/config/roles/nomad/templates/nomad.hcl.j2
@@ -32,3 +32,10 @@ client {
}
}
+telemetry {
+ collection_interval = "1s"
+ disable_hostname = false
+ prometheus_metrics = true
+ publish_allocation_metrics = true
+ publish_node_metrics = true
+}