Compute worker monitoring for organizers and collaborators. #2316
Open
Compute worker monitoring for organizers and collaborators. #2316
Conversation
b7b75f6 to
c3cd2f1
Compare
Member
|
Hi @IdirLISN, Thank for the PR. Don't forget to fix the formatting issues: ^@^@src/apps/competitions/tasks.py:842:9: F821 undefined name 'r'
src/apps/competitions/tasks.py:842:50: F821 undefined name 'json'
src/apps/competitions/tasks.py:843:9: F821 undefined name 'r'
src/apps/competitions/tasks.py:844:13: F821 undefined name 'WORKERS_REGISTRY_KEY'
src/apps/competitions/tasks.py:846:13: F821 undefined name 'json'
src/apps/competitions/tasks.py:852:41: W292 no newline at end of file
src/celery_config.py:42:1: E303 too many blank lines (3)
src/celery_config.py:47:2: W292 no newline at end of file
src/utils/consumers.py:60:17: W503 line break before binary operator
src/utils/consumers.py:61:17: W503 line break before binary operator
src/utils/consumers.py:77:23: W292 no newline at end of file |
…isibile only by admin or comp organizer or collaborators
e5f13dc to
3b5fc37
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@ mention of reviewers
@ObadaS
@Didayolo
@ihsaan-ullah
A brief description of the purpose of the changes contained in this PR.
This feature enables admin users, competition organizers and his/her collaborators to monitor compute worker activity (only default one for now).
Lastly added:
Feature available only for competition organizers and collaborators.
Disabled by default and hided behind button by default (top / right).
When disabled or hided behind the button, the websocket connection is disabled for performance.
The Button needs to be behind the user menu.
The feature is ready to be merged, if you think it is useful.
/!\ Deployed on dev instance so you can try it live. /!\
Issues this PR resolves
Enables organizers to monitor compute workers activity to push users to use their own workers in case of high activity on codabench compute workers.
A checklist for hand testing
Checklist