mirror of
https://github.com/thegeeklab/prometheus-pve-sd.git
synced 2024-11-23 18:00:39 +00:00
32 lines
1.1 KiB
Markdown
32 lines
1.1 KiB
Markdown
|
---
|
||
|
title: CLI options
|
||
|
---
|
||
|
|
||
|
You can get all available CLI options by running `prometheus-pve-sd --help`:
|
||
|
|
||
|
<!-- prettier-ignore-start -->
|
||
|
<!-- spellchecker-disable -->
|
||
|
{{< highlight Shell "linenos=table" >}}
|
||
|
$ prometheus-pve-sd --help
|
||
|
usage: prometheus-pve-sd [-h] [-c CONFIG_FILE] [-o OUTPUT_FILE] [-d LOOP_DELAY] [--no-service] [-f LOG_FORMAT] [-v] [-q] [--version]
|
||
|
|
||
|
Prometheus Service Discovery for Proxmox VE
|
||
|
|
||
|
optional arguments:
|
||
|
-h, --help show this help message and exit
|
||
|
-c CONFIG_FILE, --config CONFIG_FILE
|
||
|
location of configuration file
|
||
|
-o OUTPUT_FILE, --output OUTPUT_FILE
|
||
|
output file
|
||
|
-d LOOP_DELAY, --loop-delay LOOP_DELAY
|
||
|
delay between discovery runs
|
||
|
--no-service run discovery only once
|
||
|
-f LOG_FORMAT, --log-format LOG_FORMAT
|
||
|
used log format
|
||
|
-v increase log level
|
||
|
-q decrease log level
|
||
|
--version show program's version number and exit
|
||
|
{{< /highlight >}}
|
||
|
<!-- spellchecker-enable -->
|
||
|
<!-- prettier-ignore-end -->
|