On 15.07.21 21:09, Mithun Batabyal wrote:
>
> we are using Prometheus and grafana combination for monitoring in out
> toyota project.
> we want to increase data retention time from 7days to 30 days.
> we have deployed grafana and prometheus using helm chart from github.
> how to increase it?
The retention time is a command line flag for the Prometheus
binary. You have to set `--storage.tsdb.retention.time=30d` in your
case.
I don't know Helm charts well enough to tell you exactly how to change
command line flags, but it should be straight forward, I assume.
--
Björn Rabenstein
[PGP-ID] 0x851C3DA17D748D03
[email]
bjo...@rabenste.in