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

"gitlab-ci-pipelines-exporter monitor" not working - too many colons in address #952

Open
niklep opened this issue Nov 20, 2024 · 1 comment

Comments

@niklep
Copy link

niklep commented Nov 20, 2024

I can't run monitoring/troubleshooting CLI: https://github.com/mvisonneau/gitlab-ci-pipelines-exporter?tab=readme-ov-file#monitor

Prerequisites

$ echo $GCPE_INTERNAL_MONITORING_LISTENER_ADDRESS
tcp://127.0.0.1:8082

$ netstat -tnlp | grep 8082
tcp 0 0 127.0.0.1:8082 0.0.0.0:* LISTEN 1/gitlab-ci-pipelin

$ ps aux | grep gitlab
1 nobody 0:04 gitlab-ci-pipelines-exporter run --config /etc/config.yml

Steps to reproduce:

$ gitlab-ci-pipelines-exporter monitor

Actual result:

FATA[0000] error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp: address tcp://127.0.0.1:8082: too many colons in address\""

Expected result:

No errors

Environment:

Kubernetes 1.28
gitlab-ci-pipelines-exporter:v0.5.9

@andrewawagner
Copy link

I was only able to get this to work by using a unix socket set to a fully defined path like so: unix:///var/run/gcpe-monitor.sock

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

No branches or pull requests

2 participants