Relabelling Prometheus operator default alert

9/2/2020

I want to relabel Kubenodeunreachle alert so I can drop this alert as we dont need it and its only creating more noise in the alerts channel.I think I need to include this relabelling under additionalScrapeConfigs: in Prometheus config..Please let me know if its correct..

additionalScrapeConfigs:
  - job_name: kube-state-metrics
    metric_relabel_configs:
    - source_labels: [__name__]
      regex: '(KubeNodeUnreachable)'
      action: drop
-- Rad4
kubernetes
prometheus-operator

0 Answers