Skip to content

Commit

Permalink
Merge pull request #27 from Anthonykuzmich/feature/fix-rq-exporter-expr
Browse files Browse the repository at this point in the history
Fixed rq-exporter invalid expr for alerts
  • Loading branch information
zifter authored Apr 21, 2022
2 parents 8920d99 + 5e485f2 commit 0887448
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/rq-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: rq-exporter
description: A Helm chart of rq exporter. Provide prometheus metrics, alerts and dashboard.
type: application
version: 0.2.0
version: 0.2.1
appVersion: v1.9.2
icon: https://artifacthub.io/static/media/placeholder_pkg_helm.png
home: https://github.com/zifter/helm-charts
Expand Down
2 changes: 1 addition & 1 deletion charts/rq-exporter/templates/rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
rules:
{{- if .Values.rules.failedJobs.enabled }}
- alert: RQJobFailed
expr: sum(rq_jobs{queue=~{{ join " | " .Values.rules.failedJobs.queues | quote }}, status="failed"}) > {{ .Values.rules.failedJobs.threshold}}
expr: sum(rq_jobs{queue=~{{ join "|" .Values.rules.failedJobs.queues | quote }}, status="failed"}) > {{ .Values.rules.failedJobs.threshold}}
for: 1m
labels:
severity: critical
Expand Down

0 comments on commit 0887448

Please sign in to comment.