Open sebglon opened 6 months ago
Gitlab 16.9.0 exporter v0.5.7
Error logs:
{"error":"error fetching project pipelines for mygroup/core: error listing project pipelines for project mygroup/core: Get \"https://xxxxxx/api/v4/projects/mygroup%2Fcore/pipelines?page=1\u0026per_page=1\u0026ref=master\": unexpected EOF","level" :"warning","msg":"pulling ref metrics","project-name":"group/core","ref":"master","time":"2024-03-20T10:01:13Z"}
But when i make the same request with curl and the same token, i have no error:
curl --request GET --header "PRIVATE-TOKEN: $GITLAB_TOKEN_EXPORTER" "https://xxxxxx/api/v4/projects/myproject%2Fcore/pipelines?page=1&per_page=1&ref=master" [{"id":83846,"iid":61973,"project_id":7,"sha":"7df16837fdc0e82fede16848d403fd2131b5832b","ref":"master","status":"success","source":"push","created_at":"2024-03-20T09:32:46.865Z","updated_at":"2024-03-20T09:46:40.346Z","web_url":"https://xxxxxx/myproject/core/-/pipelines/83846","name":null}]%
it seems after this error it never retry to fetch pipeline metrics
Gitlab 16.9.0 exporter v0.5.7
Error logs:
But when i make the same request with curl and the same token, i have no error: