Skip to content
Snippets Groups Projects
Verified Commit b1e4b1b7 authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

test test_prometheus against *pod* instead of *job_name*

parent 6608d078
No related branches found
No related tags found
No related merge requests found
......@@ -47,14 +47,14 @@ def ignore_alert(alert):
return True
# Filter out failing Nextcloud installation jobs since a lot of
# them fail until they succeed during installation
if "nextcloud" in alert["labels"]["job_name"]:
if "nextcloud" in alert["labels"]["pod"]:
if alert["labels"]["alertname"] in [
"KubeJobFailed",
"KubeJobCompletion",
"KubePodNotReady"]:
return True
# Filter out when RocketChat pods take very long to start
if "rocketchat" in alert["labels"]["job_name"]:
if "rocketchat" in alert["labels"]["pod"]:
if alert["labels"]["alertname"] in [
"KubePodNotReady",
"KubeDeploymentReplicasMismatch",
......
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