From 60dd8cd8a38b47918c2f885c7b5237596c6b13bf Mon Sep 17 00:00:00 2001 From: vincent Date: Tue, 10 May 2022 14:22:26 +0200 Subject: [PATCH] add telemetry --- templates/config.hcl.j2 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/templates/config.hcl.j2 b/templates/config.hcl.j2 index 3fccbce..766bad9 100644 --- a/templates/config.hcl.j2 +++ b/templates/config.hcl.j2 @@ -49,6 +49,13 @@ consul { address = "127.0.0.1:8500" } +telemetry { + collection_interval = "5s", + publish_allocation_metrics = true, + publish_node_metrics = true, + prometheus_metrics = true +} + {% if nomad_vault_enabled %} vault { enabled = true