argoproj-labs / argocd-extension-metrics

An Argo CD extension to enable visualization of metrics in Argo CD UI.
Apache License 2.0
111 stars 25 forks source link

No Data in charts #75

Closed name814477 closed 3 months ago

name814477 commented 4 months ago

hi, Not showing any Data related memory and traffic only cpu is visible. @crenshaw-dev & @leoluz

image

Logs:

image

ahmadalkhansa commented 3 months ago

I'm facing the same issue

leoluz commented 3 months ago

If you see at least one of the graphs rendered with data it means that the connectivity with Argo CD and the Metrics Server is working. For rendering cpu, memory and http related graphs in the dashboard we execute the query targeting the specific provider which in this case is Prometheus. Make sure that the query configured in the configmap.yaml file returns valid data in Prometheus. You can use the Prometheus UI in the browser to test each query.

ahmadalkhansa commented 3 months ago

Thank you @leoluz! it was a query expression issue. For some reason, removing the "rate" function to query memory usage of containers solved the problem. All metrics related to HTTP did not exist so there was nothing to query there.

name814477 commented 3 months ago

Thank you @leoluz and @ahmadalkhansa! It works