diff options
Diffstat (limited to 'terraform-ci-infra/1n_nmd/prometheus')
-rw-r--r-- | terraform-ci-infra/1n_nmd/prometheus/conf/nomad/prometheus.hcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/terraform-ci-infra/1n_nmd/prometheus/conf/nomad/prometheus.hcl b/terraform-ci-infra/1n_nmd/prometheus/conf/nomad/prometheus.hcl index d851628fcd..235a04228c 100644 --- a/terraform-ci-infra/1n_nmd/prometheus/conf/nomad/prometheus.hcl +++ b/terraform-ci-infra/1n_nmd/prometheus/conf/nomad/prometheus.hcl @@ -191,7 +191,7 @@ groups: - name: "Jenkins Job Health Exporter" rules: - alert: JenkinsJobHealthExporterFailures - expr: jenkins_job_failure{id=~".*"} >= 10 + expr: jenkins_job_failure{id=~".*"} > jenkins_job_success{id=~".*"} for: 0m labels: severity: critical @@ -199,7 +199,7 @@ groups: summary: "Jenkins Job Health detected high failure rate on jenkins jobs." description: "Job: {{ $labels.id }}" - alert: JenkinsJobHealthExporterUnstable - expr: jenkins_job_unstable{id=~".*"} >= 10 + expr: jenkins_job_unstable{id=~".*"} > jenkins_job_success{id=~".*"} for: 0m labels: severity: warning |