Building dashboards with Managed Service for Prometheus and Grafana
Prometheus and Grafana are the de facto monitoring tools for K8s. Prometheus is a graduated project from the Cloud Native Computing Foundation (CNCF), which “scrapes” time series data from an endpoint (in the case of K8s, it’s the /metrics
endpoint) and can generate alerts and store/forward the data. Grafana is an open source tool that can visualize metrics (time series), and log and trace data (discussed in the Tracing with OpenTelemetry section). Together, Prometheus and Grafana provide equivalent functionality to CloudWatch, so why use them?
As Grafana is open source, it has wide community adoption, which means it has lots of reusable dashboards created for it, is integrated into a variety of data sources (not just AWS), and arguably, has a more complete set of visualizations than CloudWatch. Prometheus supports any sort of health endpoint and so can be used easily for your applications as...