Path: blob/main/operations/observability/mixins/meta/rules/content-service.yaml
2500 views
apiVersion: monitoring.coreos.com/v11kind: PrometheusRule2metadata:3labels:4prometheus: k8s5role: alert-rules6name: content-service-monitoring-rules7spec:8groups:9- name: content-service10rules:11- alert: ContentServiceHighCPUUsage12# Reasoning: high rates of CPU consumption should only be temporary.13expr: avg(rate(container_cpu_usage_seconds_total{container!="POD", pod=~"content-service-.*"}[5m])) by (cluster) > 0.114for: 10m15labels:16# sent to the team internal channel until we fine tuned it17severity: warning18team: webapp19annotations:20runbook_url: https://github.com/gitpod-io/runbooks/blob/main/runbooks/WebAppServicesHighCPUUsage.md21summary: Content Service has excessive CPU usage.22description: Content Service is consumming too much CPU. Please investigate.23dashboard_url: https://grafana.gitpod.io/d/6581e46e4e5c7ba40a07646395ef7b23/kubernetes-compute-resources-pod?var-cluster={{ $labels.cluster }}&var-namespace=default242526