Skip to content

Commit

Permalink
docs: Update README
Browse files Browse the repository at this point in the history
* Add changelog entries

* Set version to 0.1.0-rc.2

Signed-off-by: Mahendra Paipuri <[email protected]>
  • Loading branch information
mahendrapaipuri committed Dec 26, 2023
1 parent 887e31a commit 839b12e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Changelog

## Unreleased
## 0.1.0-rc.2 / 2023-12-26

- [REFACTOR] Refactor jobstats pkg [#18](https://github.com/mahendrapaipuri/batchjob_monitoring/pull/18) ([@mahendrapaipuri](https://github.com/mahendrapaipuri))
- [REFACTOR] Use default http client for requests for emissions collector [#16](https://github.com/mahendrapaipuri/batchjob_monitoring/pull/16) ([@mahendrapaipuri](https://github.com/mahendrapaipuri))
- [REFACTOR] Refactor emissions pkg [#16](https://github.com/mahendrapaipuri/batchjob_monitoring/pull/16) ([@mahendrapaipuri](https://github.com/mahendrapaipuri))
- [BUGFIX] bugfix: Correctly parse SLURM nodelist range string [#15](https://github.com/mahendrapaipuri/batchjob_monitoring/pull/15) ([@mahendrapaipuri](https://github.com/mahendrapaipuri))

## 0.1.0-rc.1 / 2023-12-20
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ properties to a file which can be read by the exporter. Thee scripts will create
named after job ID with required properties as its content delimited by space.
Similarly, for GPU to job maps, each GPU will create a file with its index as file name
and writes the job ID in the file. In the epilog scripts, that created files will be
removed. Example [prolog and epilog scripts](./etc/slurm) are provided in the repo.
removed. Example [prolog and epilog scripts](./configs/slurm) are provided in the repo.
This approach requires the `batchjob_exporter` to be configured with command line
option `--collector.slurm.job.props.path=/run/slurmjobprops` assuming the files with
slurm job properties are being written in `/run/slurmjobprops` directory.
Expand Down Expand Up @@ -179,7 +179,7 @@ job and this info is not available post job. Thus, similar approaches as SLURM c
are available for this collector too.

- Use prolog and epilog scripts to get the GPU to job ID map. Example prolog script
is provided in the [repo](./etc/slurm/prolog.d/gpujobmap.sh). Similarly, this approach
is provided in the [repo](./configs/slurm/prolog.d/gpujobmap.sh). Similarly, this approach
needs `--collector.nvidia.gpu.job.map.path=/run/gpujobmap` command line option.

- Using capabilities to read the environment variables directly from `/proc` file system.
Expand Down Expand Up @@ -295,7 +295,7 @@ AmbientCapabilities=CAP_SYS_PTRACE CAP_DAC_READ_SEARCH CAP_SETUID CAP_SETGID

Note that it is bare minimum service file and it is only to demonstrate on how to use
`AmbientCapabilities`. Production ready service files examples are provided in
[repo](./etc/systemd)
[repo](./init/systemd)

## Usage

Expand Down Expand Up @@ -431,6 +431,7 @@ keeps the job data for the past one year.
/path/to/batchjob_stats_server \
--slurm.sacct.path="/usr/local/bin/sacct" \
--slurm.sacct.run.with.sudo \
--batch.scheduler.slurm \
--path.data="/var/lib/batchjob_stats" \
--db.update.interval=1800 \
--data.retention.period=365 \
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.0-rc.2-dev
0.1.0-rc.2

0 comments on commit 839b12e

Please sign in to comment.