mirror of
https://github.com/thegeeklab/prometheus-pve-sd.git
synced 2024-11-09 19:40:40 +00:00
Robert Kaussow
35bfa8bc6a
Co-authored-by: Bruno MATEU <pro+github@brunomat.eu> Co-authored-by: Bruno MATEU <mateubruno@gmail.com>
44 lines
1.1 KiB
Markdown
44 lines
1.1 KiB
Markdown
---
|
|
title: Environment Variables
|
|
---
|
|
|
|
```Shell
|
|
PROMETHEUS_PVE_SD_CONFIG_FILE=
|
|
|
|
# supported log levels: debug|info|warning|error|critical
|
|
PROMETHEUS_PVE_SD_LOG_LEVEL=warning
|
|
# supported log formats: console|json|simple
|
|
PROMETHEUS_PVE_SD_LOG_FORMAT=console
|
|
|
|
PROMETHEUS_PVE_SD_METRICS_ENABLED=true
|
|
PROMETHEUS_PVE_SD_METRICS_ADDRESS=127.0.01
|
|
PROMETHEUS_PVE_SD_METRICS_PORT=8000
|
|
|
|
PROMETHEUS_PVE_SD_OUTPUT_FILE=
|
|
PROMETHEUS_PVE_SD_OUTPUT_FILE_MODE=0640
|
|
|
|
PROMETHEUS_PVE_SD_LOOP_DELAY=300
|
|
|
|
# Run PVE SD in a loop and discover hosts every n seconds (as defined in PROMETHEUS_PVE_SD_LOOP_DELAY).
|
|
# Can be disabled to run disovery only once.
|
|
PROMETHEUS_PVE_SD_SERVICE=true
|
|
|
|
PROMETHEUS_PVE_SD_EXCLUDE_STATE=
|
|
|
|
# comma-separated list
|
|
PROMETHEUS_PVE_SD_EXCLUDE_VMID=
|
|
PROMETHEUS_PVE_SD_INCLUDE_VMID=
|
|
|
|
# comma-separated list
|
|
PROMETHEUS_PVE_SD_EXCLUDE_TAGS=
|
|
PROMETHEUS_PVE_SD_INCLUDE_TAGS=
|
|
|
|
PROMETHEUS_PVE_SD_PVE_SERVER=
|
|
PROMETHEUS_PVE_SD_PVE_USER=
|
|
PROMETHEUS_PVE_SD_PVE_PASSWORD=
|
|
PROMETHEUS_PVE_SD_PVE_TOKEN_NAME=
|
|
PROMETHEUS_PVE_SD_PVE_TOKEN_VALUE=
|
|
PROMETHEUS_PVE_SD_PVE_AUTH_TIMEOUT=5
|
|
PROMETHEUS_PVE_SD_PVE_VERIFY_SSL=true
|
|
```
|