Commit Graph

18 Commits

Author SHA1 Message Date
0ceb550fae
chore: reset singletons in pytest to avoid data leaks between tests (#160) 2022-03-03 11:16:02 +01:00
Mathias Petermann
b5d362417d
feat: add filter option exclude_tags (#159) 2022-03-03 09:08:27 +01:00
c7c92dc0fb
chore: add unit tests for ip address gathering (#157) 2022-02-27 17:56:08 +01:00
573384e6dc
fix: stop ip address gathering after first found (#156) 2022-02-27 16:04:01 +01:00
f22d5e41e4
fix exclude_vmid test 2022-02-27 12:33:16 +01:00
Mathias Petermann
d15a01fd6a
fix: add proper discovery of IPv6 and IPv4 addresses (#155)
BREAKING CHANGE: The label `__meta_pve_ip` was removed in favor of `__meta_pve_ipv4` and `__meta_pve_ipv6`.
2022-02-27 12:31:46 +01:00
Mathias Petermann
4f4e1950ab
fix: ensure vmid exclude compares the same datatypes (#152) 2022-02-26 18:05:18 +01:00
ab7b7d285a
chore: add basic pytest setup (#153) 2022-02-26 16:45:02 +01:00
c6b1d3b9fa
fix: set service argparse default to None to respect anyconfig map (#31) 2021-07-25 16:01:23 +02:00
b03a7be2c8
feat: add service discovery metrics (#12) 2021-06-15 22:48:11 +02:00
5892717729
fix: convert list items to strings before exclude check is performed (#9) 2021-06-13 17:34:30 +02:00
91ce466e04
feat: add json and simple log formatter (#8) 2021-06-12 16:59:46 +02:00
831fad522f fix: fix API client creation loop 2021-06-09 23:18:14 +02:00
1df0c9ed39 feat: improve error handling 2021-06-09 22:57:48 +02:00
fdc41dcdef feat: add option service to run sd in a loop (default: true) 2021-06-09 21:38:06 +02:00
c40eac65f4 feat: add loop delay option as cli flag 2021-06-09 21:10:51 +02:00
796225c8f1 write env vars uppercase 2021-06-09 21:10:18 +02:00
b566f81a6b inital commit 2021-06-09 20:44:10 +02:00