mvisonneau / gitlab-ci-pipelines-exporter

Prometheus / OpenMetrics exporter for GitLab CI pipelines insights
Apache License 2.0
1.3k stars 244 forks source link

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

Open niklep opened 2 days ago

niklep commented 2 days ago

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