]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
exporter: repair Squid ceph_exporter.cc 61448/head
authorZac Dover <zac.dover@proton.me>
Mon, 20 Jan 2025 05:33:36 +0000 (15:33 +1000)
committerZac Dover <zac.dover@proton.me>
Mon, 20 Jan 2025 05:33:36 +0000 (15:33 +1000)
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 <zac.dover@proton.me>
src/exporter/ceph_exporter.cc

index 753768c90e21701ebd962bfb341bba3d42f90dbd..157d5a4a58fb2ae24e16f48f1c22f0d011c0e098 100644 (file)
@@ -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();