Skip to content
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] Add number of Active tasks in "runner instance list" command #1016

Open
ADUDevEx opened this issue Nov 10, 2023 · 0 comments

Comments

@ADUDevEx
Copy link

What problem does this feature solve?:

This feature could be used in a blackbox exporter to monitor the number of active tasks on runners. (Could help raise an alert in a prometheus stack in case we reach the maximum number of active tasks)

Provide an example:

+-------------------------+--------------------+-------------------------------------------------+----------------------+----------------------+----------------------+----+--------------------+----------------------+
|          NAME           |   RESOURCE CLASS   |                    HOSTNAME                     |   FIRST CONNECTED    |    LAST CONNECTED    |      LAST USED       | IP |      VERSION       |     ACTIVE TASKS     |
+-------------------------+--------------------+-------------------------------------------------+----------------------+----------------------+----------------------+----+--------------------+----------------------+
| namespace-circle-runner | namespace/xlarge   | circleci-agent-container-agent-xxxxxxxxxx-yyyyy | 2023-09-21T11:59:04Z | 2023-11-10T16:20:05Z | 2023-11-10T16:13:30Z |    | 3.0.7-3109-1cf50bb |          20          |
+-------------------------+--------------------+-------------------------------------------------+----------------------+----------------------+----------------------+----+--------------------+----------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant