File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ prometheus_monitor_prometheus: false
3030prometheus_node_exporter_targets :
3131 - ' nodeexp:9100'
3232prometheus_extra_scrape_configs : ' '
33+ prometheus_tsdb_retention_time : 90d
3334
3435# Shelly Plug configuration. (Also requires `monitoring_enable`)
3536shelly_plug_enable : false
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ services:
3535 command:
3636 - '--config.file=/etc/prometheus/prometheus.yml'
3737 - '--storage.tsdb.path=/prometheus'
38- - '--storage.tsdb.retention.time=90d '
38+ - '--storage.tsdb.retention.time={{ prometheus_tsdb_retention_time }} '
3939 - '--web.console.libraries=/usr/share/prometheus/console_libraries'
4040 - '--web.console.templates=/usr/share/prometheus/consoles'
4141 ports:
You can’t perform that action at this time.
0 commit comments