[promcord] fix rules (#1198)

This commit is contained in:
j_r0dd 2021-09-13 11:57:18 -04:00 committed by GitHub
parent b7d45b5c54
commit 917ae5b927
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: latest
description: Discord bot that provides metrics from a Discord server
name: promcord
version: 5.0.1
version: 5.0.2
kubeVersion: ">=1.16.0-0"
keywords:
- promcord

View File

@ -1,6 +1,6 @@
# promcord
![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)
![Version: 5.0.2](https://img.shields.io/badge/Version-5.0.2-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

View File

@ -17,7 +17,7 @@ spec:
description: Promcord has disappeared from Prometheus service discovery.
summary: Promcord is down.
expr: |
absent(up{job="{{ include "common.names.fullname" . }}"} == 1)
absent(up{job=~".*{{ include "common.names.fullname" . }}.*"} == 1)
for: 5m
labels:
severity: critical