Add customer name label

This commit is contained in:
2024-08-22 16:25:32 +03:00
parent a38e0c43d4
commit 7531433a68
4 changed files with 45 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
---
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
name: hello-gin
spec:
groups:
- name: hello-gin
rules:
- alert: GinIsOutOfBottle
expr: gin_avg_latency > 5
for: 2m
labels:
severity: warning
annotations:
summary: Gin average response latency is high (>5sec)