From 69eeba07267a449c5522a67cb0c31c995bb6908d Mon Sep 17 00:00:00 2001 From: Radoslaw Zarzynski Date: Mon, 16 Aug 2021 16:00:54 +0000 Subject: [PATCH] crimson/osd: disable Prometheous by default. As we lack the machinery for distributed port allocation, spawning multiple instances of crimson on the same node is impossible. This makes almost all Teuthology jobs red very early. Signed-off-by: Radoslaw Zarzynski --- src/crimson/osd/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crimson/osd/main.cc b/src/crimson/osd/main.cc index 169c2f4540b09..4d7323db66f12 100644 --- a/src/crimson/osd/main.cc +++ b/src/crimson/osd/main.cc @@ -195,7 +195,7 @@ int main(int argc, char* argv[]) ("mkfs", "create a [new] data directory") ("debug", "enable debug output on all loggers") ("no-mon-config", "do not retrieve configuration from monitors on boot") - ("prometheus_port", bpo::value()->default_value(9180), + ("prometheus_port", bpo::value()->default_value(0), "Prometheus port. Set to zero to disable") ("prometheus_address", bpo::value()->default_value("0.0.0.0"), "Prometheus listening address") -- 2.39.5