MuhammedKalkan / OpenLens

OpenLens Binary Build Repository
4.07k stars 272 forks source link

Not showing CPU and Disk metrics from Prometheus and Dashboard resources summary #129

Closed trombini77 closed 1 year ago

trombini77 commented 1 year ago

Environment

Print Screens from OpenLens v6.4.0: cluster-menu

nodes-menu

node-cpu

node-disk

As you can see, in the table of Nodes the metrics don´t appear but when you click on the node it is there in the right side modal for CPU, but for DISK not.

And the Cluster resume also shows nothing except the Warning Events.

The last version of OpenLens that all of them works on is v6.2.5.

littleccguy commented 1 year ago

@trombini77 I have 6.4.2 on Windows 10 Ent as well. I have clusters in Azure and on internal resources. Any cluster where I added the Lens Metrics stack are still working. On new clusters, I no longer see the option under Cluster > Settings > Extensions > Lens Metrics.

Are you using the Prometheus from your AWS cluster or Lens Metrics? Just trying to understand if what I am seeing is related to yours, or if Lens Metrics has been removed from OpenLens. Maybe @MuhammedKalkan knows.

jkroepke commented 1 year ago

Whats your scrape interval of metrics in Prometheus?

MuhammedKalkan commented 1 year ago

Sorry but i dont have this issue.

mnorrsken commented 1 year ago

My experience is that it is always a problem with prometheus and/or kube-state-metrics configuration. Also you should take this issue to https://github.com/lensapp/lens as this repo only builds code from the base repo. I dont have this issue either and I'm running latest openlens and prometheus helm chart v0.21.0 with prometheus v2.41.0

MuhammedKalkan commented 1 year ago

Closing since there is nothing related with build