Open bkcsfi opened 1 year ago
From the config, it looks like argocd-extension-metrics is looking for a prometheus server at: prometheus-service.monitoring.svc.cluster.local
. Makes me belive that this extension needs prometheus installed. I also haven't gotten it to work yet however.
Changing metrics end point also doesn't work all i see on pod logs
[GIN-debug] GET / --> github.com/sarabala1979/argo-observability/server.(*O11yServer).Run.func1 (3 handlers) │ │ [GIN-debug] GET /api/extension/o11y/applications/:application/groupkinds/:groupkind/rows/:row/graphs/:graph --> github.com/sarabala1979/argo-observability/server.(*O11yServer).queryMetrics-fm (3 handlers) │ │ [GIN-debug] GET /api/extension/o11y/applications/:application/groupkinds/:groupkind/dashboards --> github.com/sarabala1979/argo-observability/server.(*O11yServer).dashboardConfig-fm (3 handlers)
I'm running this on GKE with managed prometheus, but I don't know how to configure the extension to make use of that. The tab isn't showing up regardless.
I managed to show tab however charts are empty
What I did so far
install.yaml
/extensions/metrics
in case you are using traefik
traefik.ingress.kubernetes.io/service.serversscheme: https
into service definition--serverstransport.insecureskipverify=true
I see that this extension is not ready yet and still in development.
I'm newbie to kubernetes so I don't know what to do next to export metrics to prometheus.
@zek Great. can you share your configmap and metrics server log?
I also haven't gotten it to work yet however.
I have an external prometues and I set its address, but without results.
Same here
@SnoozeFreddo Have you configured prometheus URL on configmap? https://github.com/argoproj-labs/argocd-extension-metrics/blob/68f2063a538627f5a49905d66c00b8c711a2f5e1/manifests/configmap.yaml#L299
No i didn't. Thank you.
I also haven't gotten it to work yet however.
I have an external prometues and I set its address, but without results.
Same here. Using GKE managed Prometheus.
these instructions don't work
because manifests/configmap.yaml does not get installed.
As a workaround, the configmap can be installed as a distinct resource:
I have installed argocd extensions, metrics server and metrics extension. I also restarted argocd server, but the metrics tab does not appear in argocd.
Are there additional installation steps needed that haven't been documented?