lensapp / lens

Lens - The way the world runs Kubernetes
https://k8slens.dev/
MIT License
22.48k stars 1.46k forks source link

No metrics for a node's pods listing #2903

Closed oliverbarnes closed 3 years ago

oliverbarnes commented 3 years ago

Describe the bug

We've installed lens-metrics prometheus sucessfully on a Linoke k8s cluster through the settings pane on Lens 4.2.4 / Mac, and we're able to see metrics on the nodes listing views and individual pods.

Which is already very useful and gives me enough visibility to troubleshoot issues I'm currently facing. The 1-click solution is much appreciated, thanks for that 🙏

The one thing we're missing is seeing relative metrics for pods in a node (screenshot below)

To Reproduce Steps to reproduce the behavior:

Assuming a working Lens install with a running cluster:

1 - ctrl-click the cluster icon 2 - select settings 3 - click Install on lens-metrics section 4 - go to the Nodes view > click on a node and scroll down to Pods

Expected behavior

Pods should have metrics shown for them

Screenshots

Screen Shot 2021-05-28 at 8 26 35 PM

Environment (please complete the following information):

brandoncollins7 commented 3 years ago

I am having the same issue for quite a while now:

image

All other metric look fine.

jim-docker commented 3 years ago

I believe this is fixed in #2744, for v4.2.5

jdato commented 3 years ago

I still have the issue in Lens 5.

Lens: 5.1.3-latest.20210722.1 Electron: 9.4.4 Chrome: 83.0.4103.122 Node: 12.14.1

MacOS BigSur V 11.4

image