Skip to content
Snippets Groups Projects
Commit 4e653bfa authored by asymmetric's avatar asymmetric Committed by GitHub
Browse files

Clarify Prometheus exporter options (#9427)

The 'data source' term does not represent a Prometheus concept. What we are exposing here is an exporter.
parent ade667f9
No related merge requests found
......@@ -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")]
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment