Closed bomtan2000 closed 2 months ago
+1
@bomtan2000 resolved? did you solve this problem?
@autokilla47
I haven't solved it yet
I am experiencing same issue, let me if you resolve it
For me it works with this fix: https://github.com/argoproj-labs/argocd-extension-metrics/pull/65/files
Please double check if the typo fix in the doc provided by @mcanevet addresses the issue.
I'm facing same issue. I'm almost give-up do configure it. Did someone solve the problem?
i change file config maps: argocd-cm
Tabs metrics argocd
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
Just figured my issue. Permissions wasn't set correctly for metrics
extension
Now I am facing different issue
I'm still receiving error trying to access metrics!!! I did all the tips and configs above, but didn`t solve it.
I have to point /extensions/metrics to metrics-server in my ingress configuration?
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.
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.
Please help me