Closed ashwilson closed 1 year ago
Seems to run with v1.0.0 of image, but error with 403 at the same point
2023-03-02 16:56:26,461 INFO [project_logger] [metrics-exporter.py:98] [trace_id=0 span_id=0 resource.service.name=] - Project: 751 data
Log events sent for project : 751
...
gitlab.exceptions.GitlabHttpError: 403: 403 Forbidden
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/metrics-exporter.py", line 335, in <module>
send_to_nr()
File "/app/metrics-exporter.py", line 113, in send_to_nr
environments = current_project.environments.list(get_all=True, sort='desc')
obey_rate_limit was removed in 1.0.1, have you tried that?
Testing in docker, it fails from the pipeline and in standalone mode. We are using the self-hosted Omnibus Gitlab version, 15.8.2.
The env vars are all set, but it doesn't seem to ever use the token either.