Skip to content

Commit

Permalink
Add an example that calculates usage statistics for Milatools [MT-85] (
Browse files Browse the repository at this point in the history
…#130)

* Query jobs by name (for milatools)

Signed-off-by: Fabrice Normandin <[email protected]>

* Add usage report script for milatools

Signed-off-by: Fabrice Normandin <[email protected]>

* Update the milatools usage report script

Signed-off-by: Fabrice Normandin <[email protected]>

* Remove unused packages

Signed-off-by: Fabrice Normandin <[email protected]>

* Get adoption data, add typedicts for queries

Signed-off-by: Fabrice Normandin <[email protected]>

* Try to create two axes for the figure

Signed-off-by: Fabrice Normandin <[email protected]>

* Support string inputs, better plot

Signed-off-by: Fabrice Normandin <[email protected]>

* Do the plot for mila/drac/all clusters

Signed-off-by: Fabrice Normandin <[email protected]>

* Remove the sarc-client.json file

Signed-off-by: Fabrice Normandin <[email protected]>

* Annotate the current usage percent

Signed-off-by: Fabrice Normandin <[email protected]>

* Add note about the SARC_CONFIG env var

Signed-off-by: Fabrice Normandin <[email protected]>

* Fix python 3.9 typing issue

Signed-off-by: Fabrice Normandin <[email protected]>

* Revert changes in SARC code, fix filtering

Signed-off-by: Fabrice Normandin <[email protected]>

* Fix leftover import issue

Signed-off-by: Fabrice Normandin <[email protected]>

* Adjust label, fix issue due to stacked plots

Signed-off-by: Fabrice Normandin <[email protected]>

* Add controls for the sampling interval

Signed-off-by: Fabrice Normandin <[email protected]>

* Fix linting errors

Signed-off-by: Fabrice Normandin <[email protected]>

* Fix isort issues

Signed-off-by: Fabrice Normandin <[email protected]>

* Update the plots

Signed-off-by: Fabrice Normandin <[email protected]>

* update poetry.lock

---------

Signed-off-by: Fabrice Normandin <[email protected]>
Signed-off-by: Fabrice Normandin <[email protected]>
Co-authored-by: Bruno Carrez <[email protected]>
  • Loading branch information
lebrice and nurbal authored Nov 19, 2024
1 parent 67f000a commit d73f849
Show file tree
Hide file tree
Showing 3 changed files with 2,278 additions and 1,684 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ sarc_mongo
*-checkpoint.ipynb
sarc-test-cache
dbconfig.txt
token.json
.vscode
Loading

0 comments on commit d73f849

Please sign in to comment.