My Journey: Prometheus and Grafana

Part 3 of 4 ยท My Software Journey

Mission 2#

  • Discover Prometheus and Grafana

    • I discovered Prometheus, understanding its functionality and how to use it for monitoring applications. Additionally, I learned about Grafana and how to visualize the metrics collected by Prometheus.
    • I also gained knowledge on creating and using an Exporter to gather metrics from an application and expose them to Prometheus.
  • Collect and Visualize Asterisk Metrics

    • I collected metrics from an Asterisk server using the Asterisk res_prometheus module and exposed them to Prometheus.

    • I visualized these metrics using a simple Grafana dashboard.

    • Additionally, I used node_exporter to collect metrics from the Asterisk server node.

      Prometheus targets page with the Asterisk, node exporter, and Prometheus jobs all up

      Grafana dashboard showing Asterisk endpoints, channels, active calls, and uptime

      Grafana node exporter panels for CPU, memory, network traffic, and disk usage

  • Collect K8s Cluster Metrics Using Prometheus

  • Visualize the Metrics Using Grafana

  • Create Alerts using Prometheus Alertmanager