Commit Graph

44 Commits

Author SHA1 Message Date
Bruno MATEU
9fa6b825b0
fix validation rules issues 2023-09-18 21:09:13 +02:00
Bruno MATEU
1ca7e9b640
validation rules for api token 2023-09-18 21:09:12 +02:00
Bruno MATEU
2cc3b68e49
fix client.py 2023-09-18 21:09:11 +02:00
Bruno MATEU
907f4cb6fb
client.py token login 2023-09-18 21:09:10 +02:00
Bruno MATEU
27628c5cf0
add tokens to config 2023-09-18 21:09:09 +02:00
renovate[bot]
37440e080c
chore(deps): update dependency ruff to v0.0.285 (#452)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2023-08-24 22:27:14 +02:00
c6b1734ad1
chore: drop support for python 3.7 (#441)
BREAKING CHANGE: The support for Python 3.7 was removed.
2023-07-23 12:42:41 +02:00
renovate[bot]
63da0a31c4
chore(deps): update devdeps non-major (#430)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2023-06-28 09:54:46 +02:00
renovate[bot]
6e118aa4f9
chore(deps): update devdeps non-major (#408) 2023-05-28 23:07:37 +02:00
etfeet
8dad3ae9dd
feat: add node hostname info to discovery info logging (#388)
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
2023-05-14 19:55:03 +02:00
renovate[bot]
a7cfd6d520
chore(deps): update dependency ruff to v0.0.257 (#378) 2023-03-20 10:34:12 +01:00
renovate[bot]
4c15718b7e
chore(deps): update dependency ruff to v0.0.247 (#367) 2023-02-20 10:49:59 +01:00
a3fa0ef215
refctor: migrate flake8 to ruff python linter (#363) 2023-02-12 15:11:15 +01:00
renovate[bot]
c4aa50c45a
chore(deps): update devdependencies (non-major) (#275) 2022-08-22 00:08:36 +02:00
Jan Tomsa
fb1f93b19c
fix: fix error for interfaces without ip addresses (#200) 2022-04-06 10:10:29 +02:00
Mathias Petermann
9179fa29b0
refactor: add ProxmoxClient to handle pve api interactions (#196) 2022-04-04 22:43:00 +02:00
99e20663a7
chore: use parametrized tests for input and output tests (#194) 2022-03-30 21:34:35 +02:00
d5d00e849b
docs: add missing env vars to docs and adjust formatting (#193) 2022-03-30 21:28:17 +02:00
Mathias Petermann
9c89d4e922
feat: add options include_tags and include_vmid (#189) 2022-03-30 20:48:39 +02:00
ba2da53540
fix: convert file mode string to ocal (#186) 2022-03-28 23:10:38 +02:00
3ccb789bdd
feat: add option to set output file mode (#184) 2022-03-27 13:36:26 +02:00
e4fef71442
docs: add documentation for prometheus-operator usage (#171) 2022-03-11 13:37:19 +01:00
Mathias Petermann
a2f7422591
feat: add new label __meta_pve_tags to expose proxmox tags (#168) 2022-03-11 10:41:22 +01:00
264976c2e4
fix: ensure that label values are strings (#166) 2022-03-08 23:56:38 +01:00
5963668dfa
fix: replace deprecated ruamel.yaml.safe_load (#161) 2022-03-06 23:18:55 +01:00
c6b63909d0
chore: add unit tests for PrometheusSD class (#162) 2022-03-06 13:48:40 +01:00
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