PostgreSQL alerts deployment #
In this tutorial, you’ll deploy the alerts for PostgreSQL.
Tips
This page is outdated for DMF version >beta.10 because of ongoing migration toward sql_exporter. Stay tuned!
Requirements #
- Helm (v3.0+)
- Kubectl (v1.25+)
- Kubernetes (v1.25+) with cluster admin permissions
- Prometheus operator (v0.61+)
- PostgreSQL exporter
This tutorial assumes you have Kubernetes, Helm and Prometheus knowledge.
Steps #
Deploy RDS alerts helm chart
KUBERNETES_NAMESPACE=monitoring helm upgrade --install prometheus-postgresql-alerts-chart oci://public.ecr.aws/qonto/prometheus-rds-alerts-chart:latest --namespace ${KUBERNETES_NAMESPACE}
Connect on Prometheus and check rules are defined
https://<prometheus-url>/rules