diff --git a/monitoring-slos.yml b/monitoring-slos.yml deleted file mode 100644 index b1f94bb..0000000 --- a/monitoring-slos.yml +++ /dev/null @@ -1,33 +0,0 @@ -apiVersion: sloth.slok.dev/v1 -kind: PrometheusServiceLevel -metadata: - name: sloth-slo-my-service - namespace: monitoring -spec: - service: "myservice" - labels: - owner: "myteam" - repo: "myorg/myservice" - tier: "2" - slos: - - name: "requests-availability" - objective: 99.9 - description: "Common SLO based on availability for HTTP request responses." - sli: - events: - errorQuery: sum(rate(http_request_duration_seconds_count{job="myservice",code=~"(5..|429)"}[{{.window}}])) - totalQuery: sum(rate(http_request_duration_seconds_count{job="myservice"}[{{.window}}])) - alerting: - name: MyServiceHighErrorRate - labels: - category: "availability" - annotations: - summary: "High error rate on 'myservice' requests responses" - pageAlert: - labels: - severity: pageteam - routing_key: myteam - ticketAlert: - labels: - severity: "slack" - slack_channel: "#alerts-myteam" diff --git a/monitoring-values.yml b/monitoring-values.yml deleted file mode 100644 index dfc96ae..0000000 --- a/monitoring-values.yml +++ /dev/null @@ -1,10 +0,0 @@ -metrics: - enabled: true - serviceMonitor: - # If true, the chart creates a ServiceMonitor that is compatible with Prometheus Operator - # https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#monitoring.coreos.com/v1.ServiceMonitor. - # The Prometheus community Helm chart installs this operator - # https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack#kube-prometheus-stack - enabled: true - honorLabels: true - honorTimestamps: true