Hello all, There is a requirement by the client where they want the alert for a particular service (app), V2. is there any way, we can create a custom alert for monitoring the particular deployment.
This is the current the alert that we have for monitoring the deployments (pods) *name: KubePodNotReady <http://127.0.0.1:3000/graph?g0.expr=ALERTS%7Balertname%3D%22KubePodNotReady%22%7D&g0.tab=1&g0.stacked=0&g0.show_exemplars=0.g0.range_input=1h.>* *expr: (kube_pod_status_phase{job="kubernetes-service-endpoints",phase=~"Pending|Unknown"}) > 0 <http://127.0.0.1:3000/graph?g0.expr=(kube_pod_status_phase%7Bjob%3D%22kubernetes-service-endpoints%22%2Cphase%3D~%22Pending%7CUnknown%22%7D)%20%3E%200&g0.tab=1&g0.stacked=0&g0.show_exemplars=0.g0.range_input=1h.>* *for: 1m* *labels:* *cluster: Prometheus_Cups_k8s_ipccprod* *resource: IKS* *severity: warning* *annotations:* *summary: {{ $labels.pod }} is not ready* This a high priority requirement by the client as v2 service is important. kindly provide me some lead... Thanks in advance. -- 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 prometheus-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/db4dff3d-329b-447c-800f-720140477134n%40googlegroups.com.