Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adds a help flag ```console ❯ ./vault_pki_exporter -h vault-pki-exporter/git/master ! Usage: [flags] [command] Available Commands: version Print the version. Flags: --batch-size-percent float loadCerts batch size percentage, supports floats (e.g 0.0 - 100.0) (default 1) --fetch-interval duration How many sec between fetch certs on vault (default 1m0s) -h, --help Show help message --influx Enable InfluxDB Line Protocol --log-level string Set log level (options: info, warn, error, debug) (default "info") --port int Prometheus exporter HTTP port (default 9333) --prometheus Enable prometheus exporter, default if nothing else --refresh-interval duration How many sec between metrics update (default 1m0s) --request-limit float Token-bucket limiter for number of requests per second to Vault when fetching certs (0 = disabled) --request-limit-burst int Token-bucket burst limit for number of requests per second to Vault when fetching certs (0 = match 'request-limit' value) -v, --verbose Enable verbose Use " [command] --help" for more information about a command. ```
- Loading branch information