]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd: disable Prometheous by default. 42797/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 16 Aug 2021 16:00:54 +0000 (16:00 +0000)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 16 Aug 2021 16:20:22 +0000 (16:20 +0000)
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 <rzarzyns@redhat.com>
src/crimson/osd/main.cc

index 169c2f4540b096a06d149e23f1df6a621a202820..4d7323db66f12765fd6b92ad919a86257512489a 100644 (file)
@@ -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<uint16_t>()->default_value(9180),
+    ("prometheus_port", bpo::value<uint16_t>()->default_value(0),
      "Prometheus port. Set to zero to disable")
     ("prometheus_address", bpo::value<string>()->default_value("0.0.0.0"),
      "Prometheus listening address")