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: ...@@ -95,7 +95,7 @@ alertmanager:
routes: routes:
- receiver: 'null' - receiver: 'null'
matchers: matchers:
- alertname =~ "(Watchdog|etcdHighCommitDurations|etcdHighFsyncDurations|PrometheusDuplicateTimestamps|CPUThrottlingHigh)" # alerts to be ignored - alertname =~ "(Watchdog|InfoInhibitor|etcdHighCommitDurations|etcdHighFsyncDurations|CPUThrottlingHigh)" # alerts to be ignored
- receiver: 'slack-notifications' - receiver: 'slack-notifications'
continue: true continue: true
- receiver: 'outlook-notifications' - receiver: 'outlook-notifications'
...@@ -139,4 +139,12 @@ kubeEtcd: ...@@ -139,4 +139,12 @@ kubeEtcd:
# scheme: http # scheme: http
# relabelings: # relabelings:
# - targetLabel: env # - targetLabel: env
# replacement: prod # replacement: prod
\ No newline at end of file
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