prometheus-server-app/env.sh.template
2023-07-11 19:19:24 +05:30

7 lines
272 B
Bash
Executable file

#!/bin/bash
# https://prometheus.io/docs/prometheus/latest/storage/#operational-aspects
export retention_time="15d"
# edit this variable for various startup options
export cli_options="--storage.tsdb.retention.time=$retention_time --storage.tsdb.path=/app/data/storage"