diff --git a/compose.yaml b/compose.yaml index cf004a9..e58ff64 100644 --- a/compose.yaml +++ b/compose.yaml @@ -96,6 +96,7 @@ services: command: - '--config.file=/config/prometheus.yml' - '--storage.tsdb.path=/prometheus' + - '--storage.tsdb.retention.time=5y' - '--web.console.libraries=/etc/prometheus/console_libraries' - '--web.console.templates=/etc/prometheus/consoles' - '--web.enable-lifecycle'