You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 19, 2024. It is now read-only.
The *prometheus-service* is a [Keptn](https://keptn.sh)service that is responsible for:
5
+
The *prometheus-service* is a [Keptn](https://keptn.sh)integration responsible for:
7
6
8
-
1. configuring Prometheus for monitoring services managed by Keptn, and
9
-
2. receiving alerts from Prometheus Alertmanager and translating the alert payload to a cloud event that is sent to the Keptn API.
10
-
3. It's used for retrieving Service Level Indicators (SLIs) from a Prometheus API endpoint. Per default, it fetches metrics from the prometheus instance set up by Keptn
11
-
(`prometheus-service.monitoring.svc.cluster.local:8080`), but it can also be configured to use any reachable Prometheus endpoint using basic authentication by providing the credentials
12
-
via a secret in the `keptn` namespace of the cluster.
13
-
14
-
The supported default SLIs are:
15
-
16
-
- throughput
17
-
- error_rate
18
-
- response_time_p50
19
-
- response_time_p90
20
-
- response_time_p95
21
-
22
-
The provided SLIs are based on the [RED metrics](https://grafana.com/files/grafanacon_eu_2018/Tom_Wilkie_GrafanaCon_EU_2018.pdf)
7
+
1. configuring Prometheus for monitoring services managed by Keptn,
8
+
2. receiving alerts (on port 8080) from Prometheus Alertmanager and translating the alert payload to a cloud event (remediation.triggered) that is sent to the Keptn API,
9
+
3. retrieving Service Level Indicators (SLIs) from a Prometheus API endpoint.
23
10
24
11
## Compatibility Matrix
25
12
@@ -43,11 +30,80 @@ Please always double-check the version of Keptn you are using compared to the ve
*`<PROMETHEUS_NS>`: If prometheus is installed in the same Kubernetes cluster, the namespace needs to be provided, e.g., `monitoring`
52
+
*`<PROMETHEUS_ENDPOINT>`: Endpoint for prometheus (primarily used for fetching metrics), e.g., `http://prometheus-server.monitoring.svc.cluster.local:80`
53
+
*`<ALERT_MANAGER_NS>`: if prometheus alert manager is installed in the same Kubernetes cluster, the namespace needs to be provided, e.g., `monitoring`
54
+
55
+
56
+
Once this is done, you can go ahead and install prometheus-service:
57
+
58
+
59
+
* Install Keptn prometheus-service in Kubernetes using
0 commit comments