fix prometheus log message terminology (#9256)

A prometheus "server" typically refers to the prometheus process running
on a central server which connects to various prometheus "exporters" and
collects metrics. What is implemented here in substrate is a prometheus
exporter.

This patch fixes the associated log message to avoid confusion for new
users.
This commit is contained in:
George Angelopoulos
2021-07-02 16:31:02 +03:00
committed by GitHub
parent 113ffcae52
commit 3c701ae1ea
+1 -1
View File
@@ -127,7 +127,7 @@ mod known_os {
.await
.map_err(|_| Error::PortInUse(prometheus_addr))?;
log::info!("〽️ Prometheus server started at {}", prometheus_addr);
log::info!("〽️ Prometheus exporter started at {}", prometheus_addr);
let service = make_service_fn(move |_| {
let registry = registry.clone();