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

✨Monitoring tools: CLI to monitor what is going on #5162

Merged

Conversation

sanderegg
Copy link
Member

@sanderegg sanderegg commented Dec 12, 2023

What do these changes do?

This PR brings a new monitoring tool based on the fabulous Typer library.

It allows to get an instant screenshot of the autoscaling situation by running the following:

cd scripts/maintenance
make
source .venv/bin/activate
cd computational-clusters
./osparc-clusters.py --help # will show the help

./osparc-clusters.py PATH_TO_SIM4LIFE.IO/repo.config --ssh-key-path=PATH_TO_SSH_KEY_SIM4LIFE.IO

this will show something like the below:
image

Related issue/s

How to test

Dev Checklist

DevOps Checklist

@sanderegg sanderegg added the a:infra+ops maintenance of infrastructure or operations (discussed in retro) label Dec 12, 2023
@sanderegg sanderegg added this to the Kobayashi Maru milestone Dec 12, 2023
@sanderegg sanderegg self-assigned this Dec 12, 2023
Copy link
Contributor

@matusdrobuliak66 matusdrobuliak66 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool thanks! maybe just add a small readme file how to run the tool.

Copy link

codeclimate bot commented Dec 12, 2023

Code Climate has analyzed commit 0840761 and detected 0 issues on this pull request.

View more on Code Climate.

Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@sanderegg sanderegg merged commit 6432d8f into ITISFoundation:master Dec 12, 2023
49 checks passed
@sanderegg sanderegg deleted the comp-backend/cli-to-control-them branch December 12, 2023 16:58
@sanderegg sanderegg added the t:maintenance Some planned maintenance work label Dec 22, 2023
@matusdrobuliak66 matusdrobuliak66 mentioned this pull request Jan 8, 2024
33 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:infra+ops maintenance of infrastructure or operations (discussed in retro) t:maintenance Some planned maintenance work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants