Skip to content

Commit bdeee18

Browse files
Merge pull request ceph#60081 from anthonyeleven/anthonyeleven/tweak
src/exporter: improve usage message
2 parents c4730a9 + 725b4e1 commit bdeee18

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/exporter/ceph_exporter.cc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ static void handle_signal(int signum)
3030
static void usage() {
3131
std::cout << "usage: ceph-exporter [options]\n"
3232
<< "options:\n"
33-
" --sock-dir: The path to ceph daemons socket files dir\n"
34-
" --addrs: Host ip address where exporter is deployed\n"
35-
" --port: Port to deploy exporter on. Default is 9926\n"
36-
" --cert-file: Path to the certificate file to use https\n"
37-
" --key-file: Path to the certificate key file to use https\n"
33+
" --sock-dir: The path to Ceph daemon sockets (*.asok)\n"
34+
" --addrs: Host IP address on which the exporter is to listen\n"
35+
" --port: TCP Port on which the exporter is to listen. Default is 9926\n"
36+
" --cert-file: Path to the certificate file when using HTTPS\n"
37+
" --key-file: Path to the certificate key file when using HTTPS\n"
3838
" --prio-limit: Only perf counters greater than or equal to prio-limit are fetched. Default: 5\n"
39-
" --stats-period: Time to wait before sending requests again to exporter server (seconds). Default: 5s"
39+
" --stats-period: Interval between daemon scrapes (seconds). Default: 5s"
4040
<< std::endl;
4141
generic_server_usage();
4242
}

0 commit comments

Comments
 (0)