From: Radoslaw Zarzynski Date: Mon, 16 Aug 2021 16:00:54 +0000 (+0000) Subject: crimson/osd: disable Prometheous by default. X-Git-Tag: v17.1.0~1105^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F42797%2Fhead;p=ceph.git 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 --- diff --git a/src/crimson/osd/main.cc b/src/crimson/osd/main.cc index 169c2f4540b0..4d7323db66f1 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")