We have implemented some internal metrics in our pods (eks 1.20) with histogram.
we use the kube-prometheus-stack
How do i make sure it’s sending to our Prometheus ?
Currently it’s collecting all the other stuff like cpu,ram and all the rest… but not the metrics we’ve added.
Not sure - I have prom + grafana + my exporters living in one namespace so far. I’m pretty sure if they’re separated there’s a way to specify the ns … I’m guessing.
Just made another instance of my svc in default ns and it is not working, probably have to specify it somewhere in the service if the pod is in another ns - is that something you’re forced to do? (I found this so far)
Edit: Yep, looks like you’ll have to make a service in the same ns as your pod/exporter, then a 2nd service in … whatever ns you’re trying to access it from.