diff --git a/README.md b/README.md index 5beeb11..6bfa337 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,15 @@ To experience KubeInvaders in action, try it out in this free O'Reilly Katacoda KubeInvaders exposes metrics for Prometheus through the standard endpoint /metrics +This is an example of Prometheus configuration + +```bash +scrape_configs: +- job_name: kubeinvaders + static_configs: + - targets: + - kubeinvaders.kubeinvaders.svc.cluster.local:8080 +```` Example of metrics ```bash @@ -66,6 +75,7 @@ deleted_pods_total 16 # Total number of deleted pods deleted_namespace_pods_count{namespace=myawesomenamespace} 8 ``` + ![Download Grafana dashboard](https://github.com/lucky-sideburn/KubeInvaders/blob/master/grafana/KubeInvadersDashboard.json) ![Alt Text](https://github.com/lucky-sideburn/KubeInvaders/blob/master/grafana2.png)