fixup! hydra-queue-runner: log message before and after exporter is started

This commit is contained in:
Cole Helbling 2022-03-29 08:47:41 -07:00
parent 905a7a7beb
commit 5ddb9a98ca

View file

@ -758,7 +758,7 @@ void State::run(BuildID buildOne)
if (!lock) if (!lock)
throw Error("hydra-queue-runner is already running"); throw Error("hydra-queue-runner is already running");
std::cout << "Starting the Prometheus exporter on port " << exposerPort << std::endl; std::cout << "Starting the Prometheus exporter on port " << metricsPort << std::endl;
/* Set up simple exporter, to show that we're still alive. */ /* Set up simple exporter, to show that we're still alive. */
std::string metricsAddress{"127.0.0.1"}; std::string metricsAddress{"127.0.0.1"};