Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quickstart instructions exclude configmap.yaml, also need installation instructions #8

Open
bkcsfi opened this issue Sep 28, 2022 · 10 comments
Assignees

Comments

@bkcsfi
Copy link

bkcsfi commented Sep 28, 2022

these instructions don't work

kubectl apply -n argocd \
    -f https://raw.githubusercontent.com/argoproj-labs/argocd-extension-metrics/main/manifests/install.yaml

because manifests/configmap.yaml does not get installed.

As a workaround, the configmap can be installed as a distinct resource:

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: argocd
resources:
  - https://raw.githubusercontent.com/argoproj-labs/argocd-extension-metrics/main/manifests/configmap.yaml
  - https://raw.githubusercontent.com/argoproj-labs/argocd-extension-metrics/main/manifests/install.yaml

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?

@bkcsfi bkcsfi changed the title quickstart instructions exclude configmap.yaml quickstart instructions exclude configmap.yaml, also need installation instructions Sep 30, 2022
@bkanuka
Copy link

bkanuka commented Oct 8, 2022

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.

@nikhilgorantla
Copy link

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)

@otherguy
Copy link

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.

@zek
Copy link

zek commented Feb 25, 2023

I managed to show tab however charts are empty

image

What I did so far

  1. Use raw extension.tar https://github.com/argoproj-labs/argocd-extension-metrics/raw/main/manifests/extension.tar
  2. update container image into sarabala1979/argocd-metrics-server:latest in install.yaml
  3. strip prefix /extensions/metrics

in case you are using traefik
4. add traefik.ingress.kubernetes.io/service.serversscheme: https into service definition
5. add --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.

@sarabala1979
Copy link
Collaborator

@zek Great. can you share your configmap and metrics server log?

@autokilla47
Copy link

I also haven't gotten it to work yet however.

I have an external prometues and I set its address, but without results.

@SnoozeFreddo
Copy link

Same here

@sarabala1979
Copy link
Collaborator

@SnoozeFreddo Have you configured prometheus URL on configmap?

"address": "http://prometheus-service.monitoring.svc.cluster.local:8080"

@SnoozeFreddo
Copy link

No i didn't. Thank you.

@otherguy
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants