From d686c8d1f94a6f3d491a16f202fc30ea0c7245fe Mon Sep 17 00:00:00 2001 From: Eugenio Marzo Date: Tue, 26 Jan 2021 19:22:36 +0100 Subject: [PATCH] fix doc --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) 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)