Skip to content
Snippets Groups Projects
Commit 91d04910 authored by r0zehnal0vak's avatar r0zehnal0vak
Browse files

fix PrometheusDuplicateTimestamps alert

parent 1739ddb5
No related branches found
No related tags found
1 merge request!21update monitoring
......@@ -95,7 +95,7 @@ alertmanager:
routes:
- receiver: 'null'
matchers:
- alertname =~ "(Watchdog|etcdHighCommitDurations|etcdHighFsyncDurations|PrometheusDuplicateTimestamps|CPUThrottlingHigh)" # alerts to be ignored
- alertname =~ "(Watchdog|InfoInhibitor|etcdHighCommitDurations|etcdHighFsyncDurations|CPUThrottlingHigh)" # alerts to be ignored
- receiver: 'slack-notifications'
continue: true
- receiver: 'outlook-notifications'
......@@ -139,4 +139,12 @@ kubeEtcd:
# scheme: http
# relabelings:
# - targetLabel: env
# replacement: prod
\ No newline at end of file
# replacement: prod
kube-state-metrics:
prometheus:
monitor:
metricRelabelings:
- action: drop
regex: "kube_endpoint_ports;etcd-metrics" # fix PrometheusDuplicateTimestamps alert
sourceLabels: [__name__, endpoint]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment