Hello everybody, nice to meet you all
I have a quick question regarding Prometheus using the kube prometheus stack deployment.
and recently have an issue regarding the retention of metrics, my issue is like this post that its appear my retention of time series exceeds the limit of 10 days and its causing a disk usage of 100%.
After making an exec inside the pod it seems that there are blocks that have more than 10 days of retention.
Aug 24 01FDVX28YSKFRCMDCRP4111VBJ
Aug 24 11:03 01FDVX4XK0ACRPPZ65KM2YFJRZ
Aug 24 13:00 01FDW3Y06JWQ81DG1XF59JR944
So, I have the next naive question:
Is there any configuration I am missing?
It’s possible that after the pod of Prometheus restart its counts again 10 days from the time the pod gets reset?
Its safe to delete manually my old blocks with a command like rm block_name?
I am using the next configuration of kube prometheus:
Metric retention
retention: 10d
retentionSize: ""
walCompression: false
I am using Prometheus version 2.28.1
Any advise or help I will appreciate it 😊