Skip to content

Commit bbf3474

Browse files
committed
added job grouping limit to docs
1 parent 1a99a9b commit bbf3474

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,18 @@ krr simple --job-grouping-labels app,team,environment
375375

376376
Each job will be grouped by each label it has, so a job with `app=api,team=backend` will appear in both `app=api` and `team=backend` groups.
377377

378+
### Limiting how many jobs are included per group
379+
380+
Use `--job-grouping-limit <N>` to cap how many jobs are included **per group** (useful when there are many historical jobs).
381+
382+
```sh
383+
krr simple --job-grouping-labels app,team --job-grouping-limit 3
384+
```
385+
386+
* Each label group will include at most **N** jobs (e.g., the first 3 returned by the API).
387+
* Other matching jobs beyond the limit are ignored for that group.
388+
* If not specified, the default limit is **500** jobs per group.
389+
378390
</details>
379391

380392
<details>

0 commit comments

Comments
 (0)