Add args to your deployment.yaml or statefulset.yaml
args:
            - --storage.tsdb.retention.time={{ .Values.server.retention }}
            - --storage.tsdb.wal-compression
            - --storage.tsdb.retention.size={{ .Values.server.retentionSize 
}}
            - --config.file=/etc/config/prometheus.yml


On Friday, July 16, 2021 at 9:39:20 AM UTC+5:30 [email protected] wrote:

> Hi Team,
>
> 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?
> Please guide me.
>
>
> Thanks and Regards,
> Mithun Batabyal
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/e16b2889-2c57-4248-9f2c-cb107c7a30d5n%40googlegroups.com.

Reply via email to