gitlab-ci-pipelines-exporter
gitlab-ci-pipelines-exporter copied to clipboard
failed to build resolver: invalid (non-empty) authority: gcpe-monitor.sock
Hello! Thanks for I run in first terminal
gitlab-ci-pipelines-exporter -m 'unix://gcpe-monitor.sock' run --config config.yml
and run in second terminal on same directory
gitlab-ci-pipelines-exporter -m 'unix://gcpe-monitor.sock' monitor
Get error
FATA[0000] could not connect to the server endpoint="unix://gcpe-monitor.sock" error="failed to build resolver: invalid (non-empty) authority: gcpe-monitor.sock"
How fix it ?
I had the same problem, I solved it by specifying a real path in the system:
gitlab-ci-pipelines-exporter -m 'unix:///var/run/gcpe-monitor.sock' run --config config.yml
then you export that same path and it works:
export GCPE_INTERNAL_MONITORING_LISTENER_ADDRESS='unix:///var/run/gcpe-monitor.sock'
gitlab-ci-pipelines-exporter monitor