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 <rzarzyns@redhat.com>
This commit is contained in:
Radoslaw Zarzynski 2021-08-16 16:00:54 +00:00
parent 7c5848cad9
commit 69eeba0726

View 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")