Skip to content

Commit

Permalink
Add prometheus dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
renuka-fernando committed Jun 29, 2020
1 parent f380a08 commit ec66264
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
$ minikube addons enable metrics-server
```
OR else

**NOTE:** This installation only required in local setup, if you using GKE, EKS cluster you do not need to install
following.
```sh
Expand Down Expand Up @@ -59,6 +60,9 @@
servicemonitor.monitoring.coreos.com/products-backend created
service/prometheus created
```

- Test the Prometheus deployment by visiting the url `http://<NODE-IP>:30900/graph`.
![Prometheus Dashboard](images/prometheus-dashboard.png)
1. [Install Prometheus Adapter](prometheus-adapter-configs)

- Create namespace `custom-metrics`.
Expand Down Expand Up @@ -136,7 +140,7 @@
- Lets make `IP` as the node IP and `PERIOD` as waiting period in seconds to send requests
periodically.
```sh
$ IP=<EXTERNAL_IP_OF_LB_SERVICE>
$ IP=<NODE_IP>
PERIOD=5
```
Send requests periodically.
Expand Down
Binary file added images/prometheus-dashboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ec66264

Please sign in to comment.