mirror of
https://github.com/thegeeklab/prometheus-pve-sd.git
synced 2024-11-16 06:30:39 +00:00
feat: add loop delay option as cli flag
This commit is contained in:
parent
3a527bf6a9
commit
9bdfc9930e
@ -41,6 +41,13 @@ class PrometheusSD:
|
||||
parser.add_argument(
|
||||
"-o", "--output", dest="output_file", action="store", help="output file"
|
||||
)
|
||||
parser.add_argument(
|
||||
"-d",
|
||||
"--loop-delay",
|
||||
dest="loop_delay",
|
||||
action="store",
|
||||
help="delay between discovery runs"
|
||||
)
|
||||
parser.add_argument(
|
||||
"-v", dest="logging.level", action="append_const", const=-1, help="increase log level"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user