From 99f4eccb6bef444f86e6d6cbf579dc3ba975af98 Mon Sep 17 00:00:00 2001 From: Anthony D'Atri Date: Tue, 1 Oct 2024 12:21:56 -0400 Subject: [PATCH] src/exporter: improve usage message Signed-off-by: Anthony D'Atri (cherry picked from commit 725b4e184798dc38ec60ab81766577b39fd6e488) --- src/exporter/ceph_exporter.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/exporter/ceph_exporter.cc b/src/exporter/ceph_exporter.cc index 70650ff87c677..8909e30c3b4d4 100644 --- a/src/exporter/ceph_exporter.cc +++ b/src/exporter/ceph_exporter.cc @@ -15,11 +15,13 @@ 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(); } -- 2.39.5