Groups
Groups
Sign in
Groups
Groups
Prometheus Users
Conversations
About
Send feedback
Help
Changing storage.tsdb.retention on Docker Hub "prom/prometheus"
2,070 views
Skip to first unread message
Amir
unread,
Mar 21, 2018, 9:05:06 AM
3/21/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
Hi
I am using "prom/prometheus" from Docker Hub on Docker container via Qnap,
Data retention is set to the default 15d and I would like to extend it but it's not as straight forward as I had hoped I guess :)
How can I change the value of "storage.tsdb.retention" ?
Can it be changed on an existing container or only in creation phase ?
Thanks!
ha...@cimri.com
unread,
May 22, 2018, 2:55:17 AM
5/22/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
+1
21 Mart 2018 Çarşamba 16:05:06 UTC+3 tarihinde Amir yazdı:
Meier
unread,
Jun 6, 2018, 6:49:07 AM
6/6/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
You can make your own derivate image
https://prometheus.io/docs/prometheus/latest/installation/#custom-image
and change the CMD line in the
Dockerfile
You will have to start a new container with your custom image.
Frank Wang
unread,
Jul 16, 2020, 12:23:52 AM
7/16/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
like this:
https://gist.github.com/DeathPoem/7dcc877c85f6238d5e38f9be73e6edc3
在 2018年3月21日星期三 UTC+8下午9:05:06,Amir写道:
Reply all
Reply to author
Forward
0 new messages