commit f172ca575bb08a53b5693e8ff7ef65b8c61b9d0c
parent 4737d6f6df01855f28d0e2f9f3e18457c83e9d27
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date: Tue, 22 Aug 2023 00:36:59 +0200
feat(nomad): enable node metrics
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/nomad.sh b/nomad.sh
@@ -47,6 +47,12 @@ $(if [[ "$NOMAD_SERVER" = true ]]; then
# https://developer.hashicorp.com/nomad/docs/configuration/vault#nomad-client
echo -e " create_from_role = \"nomad-cluster\"\n\r"
fi)}
+
+telemetry {
+ # https://developer.hashicorp.com/nomad/docs/configuration/telemetry
+ publish_allocation_metrics = false
+ publish_node_metrics = true
+}
EOF