mvisonneau / gitlab-ci-pipelines-exporter

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

429 failed to parse unknown error format #641

Open KevinM2k opened 1 year ago

KevinM2k commented 1 year ago

Getting this quite a lot when getting new gitlab projects. I know 429 is rate limiting, but the error doesn't seem to support that. Any ideas?

matzegebbe commented 9 months ago

This will be the HTML page that GitLab delivers in the event of a 429 error. More correctly, perhaps JSON should be returned here (depending on what we send in the content-type/accepted). We are facing the same issue and now try to limit by

config:
  gitlab:
    maximum_requests_per_second: 10

and not all groups with wildcards