]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
src/exporter: improve usage message 61332/head
authorAnthony D'Atri <anthonyeleven@users.noreply.github.com>
Tue, 1 Oct 2024 16:21:56 +0000 (12:21 -0400)
committerZac Dover <zac.dover@proton.me>
Mon, 20 Jan 2025 05:23:57 +0000 (15:23 +1000)
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 725b4e184798dc38ec60ab81766577b39fd6e488)

src/exporter/ceph_exporter.cc

index 70650ff87c677faa979b71bb7d991f4534bb91af..0013618e891a0544682e35b3751c71c4a99e89ea 100644 (file)
 static void usage() {
   std::cout << "usage: ceph-exporter [options]\n"
             << "options:\n"
-               "  --sock-dir:     The path to ceph daemons socket files dir\n"
-               "  --addrs:        Host ip address where exporter is deployed\n"
-               "  --port:         Port to deploy exporter on. Default is 9926\n"
+               "  --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"
                "  --prio-limit:   Only perf counters greater than or equal to prio-limit are fetched. Default: 5\n"
-               "  --stats-period: Time to wait before sending requests again to exporter server (seconds). Default: 5s"
+               "  --stats-period: Interval between daemon scrapes (seconds). Default: 5s"
             << std::endl;
   generic_server_usage();
 }