-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] gitlab runner per user and per user group metrics #23
Comments
Hi @dennispost , what do you mean by user/usergroup? Can you give me an example? |
Hey @NorseGaud , my idea was to calculate the sum of every minute where a user has an anka_instance in running_state. I know that this does work in Enterprise Plus license tier only. |
Do you mean the users of a certificate using certificate authentication? What sort of authentication method are you using? |
As user I mean the user who has started the instance (e.g. with his acces token via a gitlab-runner). We've not configured authentication in our setup yet. |
Got it -- thanks for the clarification. In order to achieve this, the gitlab runner executor we created needs to post While we could modify both the runner executor to do this and then set up the exporter to consume it, this creates a situation where a feature of the exporter will only work if you're using the gitlab runner. I'm not sure if our dev team wants to accomplish it this way. I'll have a conversation with them about it and see what they recommend. |
Thanks for reaching out to your dev team. The runner authenticates with credentials of a specific user or group. So these information are not stored currently? |
The runner and Controller are only able to communicate over the Controller's API (when it goes to request or terminate a VM). It only receives and sees what we pass into the API by the runner |
Hey,
we need to get the run duration of each instance per user/usergroup. So that we can report the sum of total duration in minutes per user / month.
Can you report such a metric? E.g.
anka_instance_state_per_user
oranka_instance_state_per_usergroup
Thanks
The text was updated successfully, but these errors were encountered: