observability team mailing list archive
-
observability team
-
Mailing list archive
-
Message #00063
Fwd: [Bug 2100899] [NEW] ubuntu/prometheus not accepting --storage.tsdb.retention.time=60d
fyi
---------- Forwarded message ---------
From: Anthony Ryan <2100899@xxxxxxxxxxxxxxxxxx>
Date: Tue, Mar 4, 2025 at 10:35 PM
Subject: [Bug 2100899] [NEW] ubuntu/prometheus not accepting
--storage.tsdb.retention.time=60d
To: <cristovao.cordeiro@xxxxxxxxxxxxx>
Public bug reported:
With the following docker-compose configuration
services:
prometheus:
image: ubuntu/prometheus
container_name: prometheus
restart: unless-stopped
volumes:
# - ~/data/prometheus/promo-config:/etc/prometheus
- ./prometheus-config:/etc/prometheus
- ./rules.yml:/etc/prometheus/rules.yml
- ~/data/prometheus/data:/prometheus
networks:
- localprom
ports:
- 9090:9090
command:
- "/bin/prometheus"
- "--config.file=/etc/prometheus/prometheus.yml"
- "--storage.tsdb.path=/prometheus"
- "--storage.tsdb.retention.time=60d" # Retention period of 60 days
user: "1000:1000"
the retention value of 60d is never retained, and the prometheus
instance always restarts at 15d
I have tried many things including the wonderful ChaGPT/Gemini and no
avail.
except it state that I should be using the prom/prometheus, and that
this image might not honour the variable (which I doubt)
** Affects: ubuntu-docker-images
Importance: Undecided
Status: New
--
You received this bug notification because you are subscribed to Ubuntu
Docker Images.
https://bugs.launchpad.net/bugs/2100899
Title:
ubuntu/prometheus not accepting --storage.tsdb.retention.time=60d
Status in Ubuntu Docker Images:
New
Bug description:
With the following docker-compose configuration
services:
prometheus:
image: ubuntu/prometheus
container_name: prometheus
restart: unless-stopped
volumes:
# - ~/data/prometheus/promo-config:/etc/prometheus
- ./prometheus-config:/etc/prometheus
- ./rules.yml:/etc/prometheus/rules.yml
- ~/data/prometheus/data:/prometheus
networks:
- localprom
ports:
- 9090:9090
command:
- "/bin/prometheus"
- "--config.file=/etc/prometheus/prometheus.yml"
- "--storage.tsdb.path=/prometheus"
- "--storage.tsdb.retention.time=60d" # Retention period of 60 days
user: "1000:1000"
the retention value of 60d is never retained, and the prometheus
instance always restarts at 15d
I have tried many things including the wonderful ChaGPT/Gemini and no
avail.
except it state that I should be using the prom/prometheus, and that
this image might not honour the variable (which I doubt)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-docker-images/+bug/2100899/+subscriptions
--
Cristovao Cordeiro (aka Cris)