Skip to content

Commit 6803cde

Browse files
author
Diego Luisi
committed
[ci skip] ⚡
1 parent 86513a8 commit 6803cde

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

apps/loki/base/kustomization.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,25 @@ helmCharts:
7979
enabled: false
8080
grafanaAgent:
8181
installOperator: false
82+
ruler:
83+
directories:
84+
tenant_foo:
85+
rules.txt: |
86+
groups:
87+
- name: backstage
88+
rules:
89+
- alert: BackstageNotFoundError
90+
expr: |
91+
sum(rate({app="backstage"} |= `NotFoundError` [5m])) by (job) > 0.05
92+
for: 10m
93+
labels:
94+
severity: warning
95+
team: devops
96+
category: logs
97+
annotations:
98+
title: "Backstage NotFoundError"
99+
description: "something is logging a lot"
100+
summary: High error rate
82101
test:
83102
enabled: false
84103
persistence:

0 commit comments

Comments
 (0)