Is there a way to show deployment object label in prometheus alert rules?
I have a deployment object label set as teamname=teamA I want to show this label in KubeDeploymentReplicasMismatch alert. I could do the same for pods related alerts by modifying expression with, * on(namespace, pod) group_left(label_axway_com_team) kube_pod_labels I am unable to do the same for deployment object related alerts.. I also want to do this for daemonsets, statefulsets, cronjobs, jobs related alerts..But I am not sure if there is a way to show the Kubernetes object labels in the prometheus metrics ..I see a way only for pod labels. Any help on this please? -- 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/89533c5e-6bd5-450e-b409-316de828990fn%40googlegroups.com.

