mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2026-09-19 21:18:56 +02:00
The command line argument is deprecated, therefore we migrate the setting to the config file instead: > --storage.tsdb.retention.time: > This flag has been deprecated, use the storage.tsdb.retention.time field in the config file instead. Link: https://prometheus.io/docs/prometheus/latest/command-line/prometheus/ Link: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#tsdb Signed-off-by: Christian Heusel <christian@heusel.eu>
6 lines
297 B
Django/Jinja
6 lines
297 B
Django/Jinja
{% if prometheus_receive_only %}
|
|
PROMETHEUS_ARGS="--web.enable-remote-write-receiver --web.config.file=/etc/prometheus/web-config.yml --web.listen-address={{ wireguard_address }}:9090"
|
|
{% else %}
|
|
PROMETHEUS_ARGS="--web.enable-remote-write-receiver --web.listen-address=127.0.0.1:9090"
|
|
{% endif %}
|