mirror of
https://github.com/lucky-sideburn/kubeinvaders.git
synced 2026-04-05 09:56:53 +00:00
fix doc
This commit is contained in:
10
README.md
10
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
|
||||
```
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
Reference in New Issue
Block a user