Skip to content

Commit

Permalink
Change Prometheus retention to 40d
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne committed Sep 14, 2023
1 parent 05f16fb commit 8537c15
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion grafana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ services:
environment:
- CLIENT=${COMPOSE_FILE}
entrypoint: choose-config.sh
command: ["/bin/prometheus", "--storage.tsdb.path=/prometheus", "--web.console.libraries=/usr/share/prometheus/console_libraries", "--web.console.templates=/usr/share/prometheus/consoles"]
command:
- /bin/prometheus
- --storage.tsdb.path=/prometheus
- --storage.tsdb.retention.time=40d
- --web.console.libraries=/usr/share/prometheus/console_libraries
- --web.console.templates=/usr/share/prometheus/consoles
<<: *logging
labels:
- traefik.enable=true
Expand Down

0 comments on commit 8537c15

Please sign in to comment.