On Rancher 2.2.4, things I dont understand:
- With only cluster-level monitoring enabled, I could still see pod metrics for all pods in the cluster. What “extra” functionality does project-level monitoring provide?
- I can’t make prometheus scrape the
/metricsendpoint of my app. The documentation is very vague on what is required to set this up. I’ve added the following annotations to the deployment so they’re set on all pods:
annotations: prometheus.io/port: "5000" prometheus.io/scrape: "true"
But there’s still no custom metrics available, either in the project-level prometheus or the cluster-level one. I’m a bit stuck. Some more detailed documentation would be awesome.