Skip to content

Commit 725b4e1

Browse files
committed
src/exporter: improve usage message
Signed-off-by: Anthony D'Atri <[email protected]>
1 parent 457aa80 commit 725b4e1

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
@@ -15,13 +15,13 @@
1515
static void usage() {
1616
std::cout << "usage: ceph-exporter [options]\n"
1717
<< "options:\n"
18-
" --sock-dir: The path to ceph daemons socket files dir\n"
19-
" --addrs: Host ip address where exporter is deployed\n"
20-
" --port: Port to deploy exporter on. Default is 9926\n"
21-
" --cert-file: Path to the certificate file to use https\n"
22-
" --key-file: Path to the certificate key file to use https\n"
18+
" --sock-dir: The path to Ceph daemon sockets (*.asok)\n"
19+
" --addrs: Host IP address on which the exporter is to listen\n"
20+
" --port: TCP Port on which the exporter is to listen. Default is 9926\n"
21+
" --cert-file: Path to the certificate file when using HTTPS\n"
22+
" --key-file: Path to the certificate key file when using HTTPS\n"
2323
" --prio-limit: Only perf counters greater than or equal to prio-limit are fetched. Default: 5\n"
24-
" --stats-period: Time to wait before sending requests again to exporter server (seconds). Default: 5s"
24+
" --stats-period: Interval between daemon scrapes (seconds). Default: 5s"
2525
<< std::endl;
2626
generic_server_usage();
2727
}

0 commit comments

Comments
 (0)