Enable nomad metrics.

This commit is contained in:
2023-08-14 14:58:03 +01:00
parent 3fc47a6fa3
commit 97f29680fd

View File

@@ -29,6 +29,14 @@ in
bootstrap_expect = (builtins.length servers + 2) / 2;
server_join.retry_join = servers;
};
telemetry = {
collection_interval = "1s";
disable_hostname = true;
prometheus_metrics = true;
publish_allocation_metrics = true;
publish_node_metrics = true;
};
};
extraSettingsPaths = [ "/etc/nomad-alo.json" ];