Coder.comC
Coder.com3y ago
10 replies
Elio

Enabling Prometheus with minikube

Hello, I have coder running inside a Kubernetes cluster (namely minikube (https://minikube.sigs.k8s.io/docs/start/)) which runs inside a docker container. I have pretty much everything working but have had to make a few workarounds for accessing coder inside the docker container. Regardless, when I enable Prometheus metrics by following the documentation (https://coder.com/docs/v2/latest/admin/prometheus) I can't seem to access the data. Even when running a terminal inside the Kubernetes cluster I am unable to curl http://[host]:2112 and get a response. I tried various things for the host with no success
Screenshot_2023-05-05_at_12.41.09_PM.png
Screenshot_2023-05-05_at_12.42.45_PM.png
Learn how to collect Prometheus metrics
Prometheus - Coder v2 Docs
Was this page helpful?