Timeline for Local Prometheus and Grafana Installations to Monitor a Kubernetes Cluster
Current License: CC BY-SA 4.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 25, 2019 at 7:25 | comment | added | avi | @Levi Thanks. I asked a related question here: devops.stackexchange.com/questions/6450/… | |
| Feb 24, 2019 at 21:58 | history | edited | Levi | CC BY-SA 4.0 | added link to kube-prometheus |
| Feb 24, 2019 at 21:56 | comment | added | Levi | @avi You should probably start a new question ;). Are you talking about custom metrics the application may provide? Like how long a certain function is taking or size of a queue? In that case you can add a JSON endpoint in the format Prometheus accepts, add a tag to your pod and then configure Prometheus to scrape that tag. Now you will see the metrics in Prometheus and be able to graph them in Grafana. If you mean container metrics like CPU and Ram, most Prometheus installations on Kubernetes will handle that for you. | |
| Feb 24, 2019 at 13:30 | comment | added | avi | How do you get the application metrics to Prometheus? | |
| Apr 10, 2018 at 17:41 | comment | added | David West | It seems to be working well in cluster. Plus, it was so easy to do it that way. | |
| Apr 10, 2018 at 17:40 | vote | accept | David West | ||
| Apr 4, 2018 at 15:58 | comment | added | David West | It will be there for capacity planning, but, more importantly, to monitor the cluster health. | |
| Apr 4, 2018 at 14:41 | comment | added | Levi | @DavidWest What will you monitor? Are you running ETCD on servers off the cluster as well? See when you lose the API servers, you are going to lose monitoring of your services eventually. This could be immediately or over time. This is because Prometheus relies on the API servers for service discovery and internally some meta_tags provided by the API servers for configuration. You can use certain POD labels to ensure your Prometheus pod is the "last man standing". I believe the recommended approach is to run Prometheus on top of Kubernetes. | |
| Apr 4, 2018 at 12:24 | comment | added | David West | I did a 15 minute Prometheus install from a Medium article. It was amazing. Still we have an ask to have the monitoring outside the cluster so that when the cluster goes down the monitoring is there. Is there a way to do that? Is the ROI high enough? Or do you still recommend in cluster? | |
| Apr 4, 2018 at 12:21 | history | answered | Levi | CC BY-SA 3.0 |