Configure an alerting backend
The Turing UI exposes alerting configurations for various Prometheus metrics, derived from the Kube state metrics as well as the Knative default metrics. When an alert is configured by the user, the API publishes the Prometheus alerting rules using GitOps as an inventory for alerts. Appropriate CI/CD jobs may be configured on the git repo to apply the changes as desired (eg: publishing alerts to a Slack channel).
GitOps Configuration
Currently, only Gitlab repositories may be configured for publishing alerts. The required client configurations (such as the Gitlab token) may be set at deploy time, under AlertConfig.GitLab
(please refer to the sample Helm values file for an example).
Available Metrics
throughput
revision_request_count
Knative
latency95p
revision_request_latencies_bucket
Knative
error_rate
revision_request_count
Knative
cpu_util
container_cpu_usage_seconds_total, kube_pod_container_resource_requests{resource="cpu"}
Kube state
memory_util
container_memory_usage_bytes, kube_pod_container_resource_requests{resource="memory"}
Kube state
Sample Alert Configuration
Last updated