mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 16:09:08 +00:00
[promcord] add template to rules (#1193)
This commit is contained in:
parent
34842b9fdd
commit
46df74c8ae
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: latest
|
appVersion: latest
|
||||||
description: Discord bot that provides metrics from a Discord server
|
description: Discord bot that provides metrics from a Discord server
|
||||||
name: promcord
|
name: promcord
|
||||||
version: 5.0.0
|
version: 5.0.1
|
||||||
kubeVersion: ">=1.16.0-0"
|
kubeVersion: ">=1.16.0-0"
|
||||||
keywords:
|
keywords:
|
||||||
- promcord
|
- promcord
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# promcord
|
# promcord
|
||||||
|
|
||||||
![Version: 5.0.0](https://img.shields.io/badge/Version-5.0.0-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)
|
![Version: 5.0.1](https://img.shields.io/badge/Version-5.0.1-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)
|
||||||
|
|
||||||
Discord bot that provides metrics from a Discord server
|
Discord bot that provides metrics from a Discord server
|
||||||
|
|
||||||
|
@ -10,14 +10,14 @@ metadata:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
groups:
|
groups:
|
||||||
- name: promcord
|
- name: {{ include "common.names.fullname" . }}
|
||||||
rules:
|
rules:
|
||||||
- alert: PromcordAbsent
|
- alert: PromcordAbsent
|
||||||
annotations:
|
annotations:
|
||||||
description: Promcord has disappeared from Prometheus service discovery.
|
description: Promcord has disappeared from Prometheus service discovery.
|
||||||
summary: Promcord is down.
|
summary: Promcord is down.
|
||||||
expr: |
|
expr: |
|
||||||
absent(up{job=~".*promcord.*"} == 1)
|
absent(up{job="{{ include "common.names.fullname" . }}"} == 1)
|
||||||
for: 5m
|
for: 5m
|
||||||
labels:
|
labels:
|
||||||
severity: critical
|
severity: critical
|
||||||
|
Loading…
Reference in New Issue
Block a user