Skip to content
Snippets Groups Projects
Verified Commit 21ea338e authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

feat(nextcloud): Add basic SLO for nextcloud

parent beb7a986
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,7 @@ resources:
- ../../base/nextcloud
- certificate.yaml
- nextcloud-values.yaml
- slo.yaml
- ../../../shared/resourcequotas/default.yaml
patchesStrategicMerge:
- database-override.yaml
apiVersion: sloth.slok.dev/v1
kind: PrometheusServiceLevel
metadata:
name: requests-nextcloud
namespace: nextcloud
spec:
service: "nextcloud"
slos:
- name: "requests-availability"
objective: 95
description: "Nextcloud SLO based on availability for HTTP request responses."
sli:
events:
errorQuery: sum(rate(nginx_ingress_controller_requests{exported_namespace="nextcloud",ingress="nextcloud",status=~"(5..|429)"}[{{.window}}]))
totalQuery: sum(rate(nginx_ingress_controller_requests{exported_namespace="nextcloud",ingress="nextcloud"}[{{.window}}]))
alerting:
name: MatrixHighErrorRate
labels:
category: "availability"
annotations:
summary: "High error rate on 'nextcloud' requests responses"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment