newrelic-experimental / gitlab

Gitlab exporters to send metrics,logs,traces to New Relic
9 stars 6 forks source link

Number of runners found available to this user is 0 not exporting any runner data #26

Closed anikix closed 10 months ago

anikix commented 10 months ago

Hello,

I'm struggling with the number of runners found :

Number of runners found available to this user is 0 not exporting any runner data

I'm using a user access token with admin_mode + api_read. Does this part of the code use the GLAB_TOKEN to retrieve runners data ?

dpacheconr commented 10 months ago

Runners available would only be the ones SPECIFIC to this user does NOT include SHARED. https://github.com/newrelic-experimental/gitlab/blob/main/new-relic-metrics-exporter/get_resources.py#L43C86-L43C156 https://python-gitlab.readthedocs.io/en/stable/gl_objects/runners.html