Prometheus on K8S
Prometheus Prometheus is a monitoring platform that collects metrics from monitored targets by scraping metrics HTTP endpoints on these targets.
Prometheus is shipped with an extensive list of exporters. An exporter is a pluggable piece which allow Prometheus to collect metrics from other system (e.g. databases, cloud services, OS etc..). Some exporters are official, others developed by the community.
- Deploy Prometheus using the community Helm chart.
- Deploy Grafana and visit the server.
- In grafana, configure the Prometheus server as a data source.
- Import one of the following dashboards:
- https://grafana.com/grafana/dashboards/6417-kubernetes-cluster-prometheus/
- https://grafana.com/grafana/dashboards/315-kubernetes-cluster-monitoring-via-prometheus/
- https://grafana.com/grafana/dashboards/12740-kubernetes-monitoring/