Add include_tags/vmid docs

This commit is contained in:
Mathias Petermann 2022-03-28 22:03:52 +02:00
parent 7e466a81d1
commit e0af3e45e0
No known key found for this signature in database
GPG Key ID: DADC3DF6E81B66C1
2 changed files with 8 additions and 0 deletions

View File

@ -26,9 +26,11 @@ service: true
exclude_state: []
# needs to be a list of strings
exclude_vmid: []
include_vmid: []
# can be used to exclude vms by tags (proxmox 6+)
exclude_tags: []
include_tags: []
pve:
server:
@ -45,3 +47,7 @@ pve:
# auth_timeout: 5
# verify_ssl: true
```
If `include_tags` and `exclude_tags` are set at the same time, the `exclude_tags` option takes presedence.
If `include_tags` is set, and you VM don't have any tags set, they will not show up!

View File

@ -26,6 +26,8 @@ PROMETHEUS_PVE_SD_SERVICE=true
PROMETHEUS_PVE_SD_EXCLUDE_STATE=
PROMETHEUS_PVE_SD_EXCLUDE_VMID=
PROMETHEUS_PVE_SD_INCLUDE_VMID=
PROMETHEUS_PVE_SD_PVE_SERVER=
PROMETHEUS_PVE_SD_PVE_USER=
PROMETHEUS_PVE_SD_PVE_PASSWORD=