Hello everybody, nice to meet you all

I have a quick question regarding Prometheus using the kube prometheus 
stack deployment <https://github.com/prometheus-operator/kube-prometheus>.

and recently have an issue regarding the retention of metrics, my issue is 
like this post <https://github.com/prometheus/prometheus/issues/8005> 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  😊

-- 
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/1fc0f1c1-000c-459e-80c0-fce2b17d5d34n%40googlegroups.com.

Reply via email to