From 3049768e698e30603e449cec95c3699361599ecb Mon Sep 17 00:00:00 2001 From: Zac Dover Date: Mon, 20 Jan 2025 15:33:36 +1000 Subject: [PATCH] exporter: repair Squid ceph_exporter.cc Restore the documentation of "--prio-limit" in src/exporter/ceph_exporter.cc and remove the documentation of "--cert-file" in src/exporter/ceph_exporter.cc. These two changes are made to repair damage done to this file as a result of a miscommunication in https://github.com/ceph/ceph/pull/61331. Signed-off-by: Zac Dover --- src/exporter/ceph_exporter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/exporter/ceph_exporter.cc b/src/exporter/ceph_exporter.cc index 753768c90e2..157d5a4a58f 100644 --- a/src/exporter/ceph_exporter.cc +++ b/src/exporter/ceph_exporter.cc @@ -18,7 +18,7 @@ static void usage() { " --sock-dir: The path to Ceph daemon sockets (*.asok)\n" " --addrs: Host IP address on which the exporter is to listen\n" " --port: TCP Port on which the exporter is to listen. Default is 9926\n" - " --cert-file: Path to the certificate file when using HTTPS\n" + " --prio-limit: Only perf counters greater than or equal to prio-limit are fetched. Default: 5\n" " --stats-period: Interval between daemon scrapes (seconds). Default: 5s" << std::endl; generic_server_usage(); -- 2.39.5