<https://stackoverflow.com/posts/71690642/timeline>

Running Prometheus on K8s v1.20 on AWS/EKS, In my v33 Helm chart I need to 
drop the ID label in order to reduce the TSDB size. According to this 
article 
<https://grafana.com/blog/2022/03/21/how-relabeling-in-prometheus-works/>, 
this can be done with Metric Relabelings. So in all relevant sections of 
the values file I have the following:
metricRelabelings: 
  - sourceLabels: [id] 
     action: "drop" 

In the resulting Prometheus config that I can see in the web GUI on port 
9090, this gets translated (again in all relevant sections) as follows:
metric_relabel_configs: 
  - source_labels: [id]       
       separator: ; 
       regex: (.*) 
       replacement: $1 
       action: drop 

However in the TSDB status in the GUI the "id" label is still there, with 
the same cardinality as before the attempt to drop it.

What am I missing?

-- 
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/06058e34-00e4-4034-a572-bb45098f7d3en%40googlegroups.com.

Reply via email to