2021-06-14 07:45:19 +00:00
|
|
|
---
|
|
|
|
title: Environment Variables
|
|
|
|
---
|
|
|
|
|
2022-03-11 12:37:19 +00:00
|
|
|
```Shell
|
2021-06-14 07:45:19 +00:00
|
|
|
PROMETHEUS_PVE_SD_CONFIG_FILE=
|
2021-06-15 20:48:11 +00:00
|
|
|
|
2021-06-14 07:45:19 +00:00
|
|
|
# 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
|
2021-06-15 20:48:11 +00:00
|
|
|
|
2021-07-25 14:01:23 +00:00
|
|
|
PROMETHEUS_PVE_SD_METRICS_ENABLED=true
|
|
|
|
PROMETHEUS_PVE_SD_METRICS_ADDRESS=127.0.01
|
|
|
|
PROMETHEUS_PVE_SD_METRICS_PORT=8000
|
2021-06-15 20:48:11 +00:00
|
|
|
|
2021-06-14 07:45:19 +00:00
|
|
|
PROMETHEUS_PVE_SD_OUTPUT_FILE=
|
2022-03-27 11:36:26 +00:00
|
|
|
PROMETHEUS_PVE_SD_OUTPUT_FILE_MODE=0640
|
|
|
|
|
2021-06-14 07:45:19 +00:00
|
|
|
PROMETHEUS_PVE_SD_LOOP_DELAY=300
|
2021-06-15 20:48:11 +00:00
|
|
|
|
2021-07-25 14:01:23 +00:00
|
|
|
# Run PVE SD in a loop and discover hosts every n seconds (as defined in PROMETHEUS_PVE_SD_LOOP_DELAY).
|
2021-06-14 07:45:19 +00:00
|
|
|
# Can be disabled to run disovery only once.
|
|
|
|
PROMETHEUS_PVE_SD_SERVICE=true
|
2021-06-15 20:48:11 +00:00
|
|
|
|
2021-06-14 07:45:19 +00:00
|
|
|
PROMETHEUS_PVE_SD_EXCLUDE_STATE=
|
2021-06-15 20:48:11 +00:00
|
|
|
|
2022-03-30 19:28:17 +00:00
|
|
|
# comma-separated list
|
|
|
|
PROMETHEUS_PVE_SD_EXCLUDE_VMID=
|
2022-03-30 18:48:39 +00:00
|
|
|
PROMETHEUS_PVE_SD_INCLUDE_VMID=
|
|
|
|
|
2022-03-30 19:28:17 +00:00
|
|
|
# comma-separated list
|
|
|
|
PROMETHEUS_PVE_SD_EXCLUDE_TAGS=
|
|
|
|
PROMETHEUS_PVE_SD_INCLUDE_TAGS=
|
|
|
|
|
2021-06-14 07:45:19 +00:00
|
|
|
PROMETHEUS_PVE_SD_PVE_SERVER=
|
|
|
|
PROMETHEUS_PVE_SD_PVE_USER=
|
|
|
|
PROMETHEUS_PVE_SD_PVE_PASSWORD=
|
2023-09-19 07:00:30 +00:00
|
|
|
PROMETHEUS_PVE_SD_PVE_TOKEN_NAME=
|
|
|
|
PROMETHEUS_PVE_SD_PVE_TOKEN_VALUE=
|
2021-06-14 07:45:19 +00:00
|
|
|
PROMETHEUS_PVE_SD_PVE_AUTH_TIMEOUT=5
|
|
|
|
PROMETHEUS_PVE_SD_PVE_VERIFY_SSL=true
|
2022-03-11 12:37:19 +00:00
|
|
|
```
|