README: Update

This commit is contained in:
Björn Busse 2021-03-05 01:31:31 +01:00
parent 75c23b56dd
commit 355327da3b

View File

@ -70,6 +70,8 @@ Run 'hbase-exporter --help' for all arguments
``` ```
$ hbase-exporter --help $ hbase-exporter --help
usage: hbase-exporter [-h] [--hbase-master HBASE_MASTER] usage: hbase-exporter [-h] [--hbase-master HBASE_MASTER]
[--hbase-pseudo-distributed HBASE_PSEUDO_DISTRIBUTED]
--hbase-table HBASE_TABLE
[--hdfs-namenode HDFS_NAMENODE] [--hdfs-namenode HDFS_NAMENODE]
--zookeeper-server-address ZK_SERVER --zookeeper-server-address ZK_SERVER
[--zookeeper-use-tls ZK_USE_TLS] [--zookeeper-use-tls ZK_USE_TLS]
@ -79,28 +81,40 @@ usage: hbase-exporter [-h] [--hbase-master HBASE_MASTER]
[--relay-jmx RELAY_JMX] [--logfile LOGFILE] [--relay-jmx RELAY_JMX] [--logfile LOGFILE]
[--loglevel LOGLEVEL] [--loglevel LOGLEVEL]
If an arg is specified in more than one place, then commandline values
override environment variables which override defaults.
optional arguments: optional arguments:
-h, --help show this help message and exit -h, --help show this help message and exit
--hbase-master HBASE_MASTER --hbase-master HBASE_MASTER
HBase master address, can be specified multiple times HBase master address, can be specified multiple times
[env var: HBASE_MASTER]
--hbase-pseudo-distributed HBASE_PSEUDO_DISTRIBUTED
Indicated whether HBase is run in pdeudo-distributed
mode [env var: HBASE_PSEUDO_DISTRIBUTED]
--hbase-table HBASE_TABLE
The HBase table for the write test [env var:
HBASE_TABLE]
--hdfs-namenode HDFS_NAMENODE --hdfs-namenode HDFS_NAMENODE
HDFS namenode address, can be specified multiple times HDFS namenode address, can be specified multiple times
[env var: HDFS_NAMENODE]
--zookeeper-server-address ZK_SERVER --zookeeper-server-address ZK_SERVER
ZooKeeper server address, can be specified multiple ZooKeeper server address, can be specified multiple
times times [env var: ZK_SERVER]
--zookeeper-use-tls ZK_USE_TLS --zookeeper-use-tls ZK_USE_TLS
Use TLS when connecting to ZooKeeper Use TLS when connecting to ZooKeeper [env var:
ZK_USE_TLS]
--exporter-port PROM_HTTP_PORT --exporter-port PROM_HTTP_PORT
Listen port for Prometheus export Listen port for Prometheus export [env var:
PROM_HTTP_PORT]
--export-refresh-rate PROM_EXPORT_INTERVAL_S --export-refresh-rate PROM_EXPORT_INTERVAL_S
Time between metrics are gathered in seconds Time between metrics are gathered in seconds [env var:
PROM_EXPORT_INTERVAL_S]
--hbck-refresh-rate HBASE_HBCK_INTERVAL_S --hbck-refresh-rate HBASE_HBCK_INTERVAL_S
Minimum time between two consecutive hbck runs in Minimum time between two consecutive hbck runs in
seconds seconds [env var: HBASE_HBCK_INTERVAL_S]
--relay-jmx RELAY_JMX --relay-jmx RELAY_JMX
Relay complete JMX data Relay complete JMX data [env var: RELAY_JMX]
--logfile LOGFILE Path to optional logfile
--loglevel LOGLEVEL Loglevel, default: INFO
``` ```
### Deploy ### Deploy