We discussed optimizing Continuous Integration for Apache NuttX RTOS with GitHub Actions in a previous article. Now, we focus on monitoring Daily Builds and the NuttX Build Farm using a new NuttX Dashboard created with Grafana and Prometheus. The dashboard provides a snapshot of failed builds, filterable by architecture, board, and config. A unique aspect is the Build Score assigned to each build based on its success, warning, or error status, color-coded for easy visualization. The process involves loading build scores into Prometheus using Pushgateway. The detailed steps for setting up Grafana, Prometheus, and ingesting build logs are outlined, making the monitoring process efficient and informative.
https://lupyuen.github.io/articles/ci4