Add document of prometheus endpoint

This commit is contained in:
katainaka0503
2020-03-01 20:43:08 +09:00
parent 3fe7ad04e9
commit 9a5094a4ed
2 changed files with 12 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
# Verify Reloader's Working
Reloader's working can be verified by two ways.
Reloader's working can be verified by three ways.
## Verify from logs
@@ -49,3 +49,13 @@ After a change in `secret` or `configmap`. Run the below mentioned command and v
```bash
kubectl get pods <pod name> -n <namespace name>
```
## Verify from metrics
Some metrics is exported from prometheus endpoint `/metrics` on port `9090`.
When reloader failed to reload, `reloader_reload_executed_total{success="false"}`
```
reloader_reload_executed_total{success="false"} 15
reloader_reload_executed_total{success="true"} 12
```