alerting: alertmanagers: - path_prefix: /admin/alertmanager kubernetes_sd_configs: - role: pod tls_config: ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token relabel_configs: - source_labels: [__meta_kubernetes_pod_label_name] regex: alertmanager action: keep - source_labels: [__meta_kubernetes_namespace] regex: default action: keep - source_labels: [__meta_kubernetes_pod_container_port_number] regex: action: drop
--
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-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/8f090647-d9df-412e-823b-2eff64a76331%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/e94217e4-66af-42ba-8c42-85c79982a9f4%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/0104fb25-524f-4b57-ab68-38497d71bf09%40googlegroups.com.
Hi SundeepYou need to change the line `regex: default` to `regex: monitoring`. You may find it easier to go with static service discovery, an example of which is in the Dave's email that began this thread.
Thanks
Tom
To unsubscribe from this group and stop receiving emails from it, send an email to promethe...@googlegroups.com.