argoproj-labs / argocd-extension-metrics

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

No metrics to display #67

Closed bomtan2000 closed 2 months ago

bomtan2000 commented 9 months ago

Please help me

1
autokilla47 commented 7 months ago

+1 image

autokilla47 commented 7 months ago

@bomtan2000 resolved? did you solve this problem?

bomtan2000 commented 7 months ago

@autokilla47

I haven't solved it yet

yalattas commented 6 months ago

I am experiencing same issue, let me if you resolve it

mcanevet commented 5 months ago

For me it works with this fix: https://github.com/argoproj-labs/argocd-extension-metrics/pull/65/files

leoluz commented 5 months ago

Please double check if the typo fix in the doc provided by @mcanevet addresses the issue.

r-pag commented 2 months ago

I'm facing same issue. I'm almost give-up do configure it. Did someone solve the problem?

bomtan2000 commented 2 months ago

i change file config maps: argocd-cm

image

Tabs metrics argocd

image
yalattas commented 2 months ago

I already put this line. Yet, I have the following error

server time="2024-07-30T22:28:48Z" level=info msg="unauthorized extension request: unauthorized to invoke extension \"metrics\": rpc error: code = PermissionDenied desc = permission denied: extensions, invoke, metrics, sub: admin, iat: 2024-07-30T22:21:40Z"

What I am missing in my configs. I am using helm values

configs:
  cm:
    create: true
...
    extension.config: |-
      extensions:
        - name: metrics
          backend:
            services:
              - url: http://argocd-metrics-server:9003

@bomtan2000

yalattas commented 2 months ago

Just figured my issue. Permissions wasn't set correctly for metrics extension Now I am facing different issue image

r-pag commented 2 months ago

I'm still receiving error trying to access metrics!!! I did all the tips and configs above, but didn`t solve it.

image

r-pag commented 2 months ago

I have to point /extensions/metrics to metrics-server in my ingress configuration?

r-pag commented 2 months ago

When I set enableTLS: false on metrics-server, I cant't even see GET connections on pod, and receive error 502 Bad Gateway on UI interface. If I set enableTLS: true, I get GET logs connections on pod, and receive 404 Not Found on UI interface.

r-pag commented 2 months ago

It seems when calling with uri /extensions/metrics is not working, I receive 404. When I call without that uri the metrics are ok, receiving 200.

image