Monitor and Alert with Prometheus and Grafana
StarRocks provides a monitor and alert solution by using Prometheus and Grafana. This allows you to visualize the running of your cluster, facilitating monitoring and troubleshooting.
Overview
StarRocks provides a Prometheus-compatible information collection interface. Prometheus can retrieve metric information of StarRocks by connecting to the HTTP ports of BE and FE nodes and storing the information in its own time-series database. Grafana can then use Prometheus as a data source to visualize the metric information. By using the dashboard templates provided by StarRocks, you can easily monitor your StarRocks cluster and set alerts for it with Grafana.
Follow these steps to integrate your StarRocks cluster with Prometheus and Grafana:
- Install necessary components - Prometheus and Grafana.
- Understand the core monitoring metrics of StarRocks.
- Set alert channel and alert rule.