Lens: rancher prometheus monitoring integration

Created on 18 Sep 2020  路  10Comments  路  Source: lensapp/lens

What would you like to be added:
rancher monitoring integration

Why is this needed:
lens not autodiscover rancher metrics

Environment you are Lens application on:

  • Kubernetes distribution: Rancher
  • Desktop OS: Windows
enhancement

Most helpful comment

I can confirm using cattle-prometheus/access-prometheus:80 provides some information:

image

The main cluster master/worker cpu/memory dashboard does not work

image

and neither does the nodes overview:

image

However, individual selections of single resources (pods, deployments, replicasets, daemonsets, statefulsets) works:

image

The individual selection of nodes just shows requests & limits but not the actual usage.


This is already super amazing though. I love this tool! I think a "rancher" preset would probably make sense in the future :)

All 10 comments

+1

+1

Any workaround to get this working?

+1

+1

Change Prometheus service address to cattle-prometheus/access-prometheus:80 may provides you some information (incomplete).

+1

I can confirm using cattle-prometheus/access-prometheus:80 provides some information:

image

The main cluster master/worker cpu/memory dashboard does not work

image

and neither does the nodes overview:

image

However, individual selections of single resources (pods, deployments, replicasets, daemonsets, statefulsets) works:

image

The individual selection of nodes just shows requests & limits but not the actual usage.


This is already super amazing though. I love this tool! I think a "rancher" preset would probably make sense in the future :)

Actually, it depends what default you choose - there seem to be difference between "Helm" and "Prometheus Operator", there are some things not working with one and some other things are not working with the other. I'd be happy to provide exact results what works with what if this would be needed.

+1

@steebchen I can confirm it works on v2 as well

for V2 it is
cattle-monitoring-system/rancher-monitoring-prometheus:9090

It is kinda weird that it doesn't show all information for V2, because it seems to me v2 is pretty much just like a pre-installed Prometheus. I wonder if we need to add lens specific metric

https://github.com/lensapp/lens/blob/master/extensions/metrics-cluster-feature/resources/02-configmap.yml.hb

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dev-w0olf picture dev-w0olf  路  3Comments

diemus picture diemus  路  3Comments

kotcev picture kotcev  路  3Comments

jim-docker picture jim-docker  路  5Comments

mhobotpplnet picture mhobotpplnet  路  4Comments