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

Add API server to serve job stats #8

Merged
merged 21 commits into from
Dec 11, 2023
Merged

Add API server to serve job stats #8

merged 21 commits into from
Dec 11, 2023

Conversation

mahendrapaipuri
Copy link
Owner

  • Repo reorganization
  • Use pure GO for exporter and CGO for rest

Signed-off-by: mahendrapaipuri <[email protected]>
* Use slurm account in labels rather than gid

* Use internal pkg for utilities

* Use a separate package for emissions

Signed-off-by: Mahendra Paipuri <[email protected]>
Signed-off-by: Mahendra Paipuri <[email protected]>
Signed-off-by: Mahendra Paipuri <[email protected]>
Signed-off-by: Mahendra Paipuri <[email protected]>
* This server will be used as JSON ds in grafana

* Tis server exposes jobs and accounts end points for getting jobs metrics

Signed-off-by: Mahendra Paipuri <[email protected]>
* We will build exporter with pur go and rest with cgo

* By setting the env var, we control which pkg to build and test

Signed-off-by: Mahendra Paipuri <[email protected]>
* We replace the CGO_ENABLED var in makefile in CI before building CGO builds

* Improve makefile directives

Signed-off-by: Mahendra Paipuri <[email protected]>
Signed-off-by: Mahendra Paipuri <[email protected]>
Signed-off-by: Mahendra Paipuri <[email protected]>
* golang-builder sets CGO_ENABLED var to 0 by default and so our override will not have effect

Signed-off-by: Mahendra Paipuri <[email protected]>
Signed-off-by: Mahendra Paipuri <[email protected]>
@mahendrapaipuri mahendrapaipuri merged commit add5824 into main Dec 11, 2023
4 checks passed
@mahendrapaipuri mahendrapaipuri deleted the json_ds branch December 11, 2023 22:13
@mahendrapaipuri mahendrapaipuri added the enhancement New feature or request label Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant