I’m not 100% sure what best practice is for this, but I’m trying to keep metrics merged through pod updates. Because kubernetes adds the hash after the pod name, whenever I update an app the grafana dashboards become a mess because it’s pulling historic data. I want it to just keeps this as a consistent stream. This is something I would like to add globally and not 100% sure the correct path to take. I’m using the latest kube-prometheus-stack chart.
I’m thinking I need to add a relabeling for kubernetes_sd_configs and have pod name relabeled to the service name, but looking for advice here.
--