[lidarr] add template to rules (#1189)

This commit is contained in:
j_r0dd 2021-09-12 19:45:15 -04:00 committed by GitHub
parent d314ec81d9
commit 7ad14f58db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v1.0.0.2255
description: Looks and smells like Sonarr but made for music
name: lidarr
version: 13.0.0
version: 13.0.1
kubeVersion: ">=1.16.0-0"
keywords:
- lidarr

View File

@ -1,6 +1,6 @@
# lidarr
![Version: 13.0.0](https://img.shields.io/badge/Version-13.0.0-informational?style=flat-square) ![AppVersion: v1.0.0.2255](https://img.shields.io/badge/AppVersion-v1.0.0.2255-informational?style=flat-square)
![Version: 13.0.1](https://img.shields.io/badge/Version-13.0.1-informational?style=flat-square) ![AppVersion: v1.0.0.2255](https://img.shields.io/badge/AppVersion-v1.0.0.2255-informational?style=flat-square)
Looks and smells like Sonarr but made for music

View File

@ -10,7 +10,7 @@ metadata:
{{- end }}
spec:
groups:
- name: lidarr
- name: {{ include "common.names.fullname" . }}
rules:
- alert: ExportarrAbsent
annotations:
@ -18,7 +18,7 @@ spec:
service discovery.
summary: Exportarr is down.
expr: |
absent(up{job=~".*lidarr.*"} == 1)
absent(up{job="{{ include "common.names.fullname" . }}"} == 1)
for: 5m
labels:
severity: critical