From 4e653bfa3ceed61d1bc0062641b301798f02e324 Mon Sep 17 00:00:00 2001 From: asymmetric <lorenzo@mailbox.org> Date: Fri, 23 Jul 2021 22:00:08 +0200 Subject: [PATCH] Clarify Prometheus exporter options (#9427) The 'data source' term does not represent a Prometheus concept. What we are exposing here is an exporter. --- substrate/client/cli/src/commands/run_cmd.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/substrate/client/cli/src/commands/run_cmd.rs b/substrate/client/cli/src/commands/run_cmd.rs index 2b5a3632543..8d4f72a5cc5 100644 --- a/substrate/client/cli/src/commands/run_cmd.rs +++ b/substrate/client/cli/src/commands/run_cmd.rs @@ -105,7 +105,7 @@ pub struct RunCmd { #[structopt(long = "rpc-max-payload")] pub rpc_max_payload: Option<usize>, - /// Listen to all Prometheus data source interfaces. + /// Expose Prometheus exporter on all interfaces. /// /// Default is local. #[structopt(long = "prometheus-external")] @@ -140,11 +140,11 @@ pub struct RunCmd { #[structopt(long = "rpc-cors", value_name = "ORIGINS", parse(try_from_str = parse_cors))] pub rpc_cors: Option<Cors>, - /// Specify Prometheus data source server TCP Port. + /// Specify Prometheus exporter TCP Port. #[structopt(long = "prometheus-port", value_name = "PORT")] pub prometheus_port: Option<u16>, - /// Do not expose a Prometheus metric endpoint. + /// Do not expose a Prometheus exporter endpoint. /// /// Prometheus metric endpoint is enabled by default. #[structopt(long = "no-prometheus")] -- GitLab