]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
src/exporter: improve usage message 61331/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>
Fri, 10 Jan 2025 21:33:11 +0000 (07:33 +1000)
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 725b4e184798dc38ec60ab81766577b39fd6e488)

src/exporter/ceph_exporter.cc

index 70650ff87c677faa979b71bb7d991f4534bb91af..8909e30c3b4d46fcffd3d3c0781ca00d971ac923 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"
+               "  --cert-file:    Path to the certificate file when using HTTPS\n"
+               "  --key-file:     Path to the certificate key file when using HTTPS\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();
 }