diff --git a/README.md b/README.md new file mode 100644 index 0000000..81e217b --- /dev/null +++ b/README.md @@ -0,0 +1,26 @@ +# clickhouse-exporter + +A fork of https://github.com/Altinity/clickhouse-operator/tree/master/cmd/metrics_exporter + +``` +usage: clickhouse-exporter [] + +Flags: + -h, --help Show context-sensitive help (also try --help-long and --help-man). + --chi-name="localhost" + Clickhouse cluster name. + --namespace="default" The namespace label for metrics. + --metrics-endpoint=":8888" + The Prometheus exporter endpoint. + --chi-list-endpoint=":8888" + The CHI list endpoint. + --scheme=http Clickhouse HTTP scheme. + --username="default" Clickhouse username. + --password="" Clickhouse user password. + --port=8123 Clickhouse HTTP port number. + --address=127.0.0.1 ... A list of Clickhouse hosts + --log-level=info Only log messages with the given severity or above. Valid levels: [debug, info, warn, + error, fatal] + --log-format=json Set the log format. Valid formats: [json, text] + --version Show application version. +```