Skip to content

Commit

Permalink
Add --runs-per-job, --max-run-fails-per-job, and more to `metadat…
Browse files Browse the repository at this point in the history
…a` cmd (#2923)

* Add `--run-duration` and `--event-time`

Signed-off-by: Willy Lulciuc <willy.lulciuc@gmail.com>

* Apply formatting

Signed-off-by: Willy Lulciuc <willy.lulciuc@gmail.com>

* Add `--event-start-time` and `--event-end-time`

Signed-off-by: Willy Lulciuc <willy.lulciuc@gmail.com>

* Add support for `X` runs + durations

Signed-off-by: Willy Lulciuc <willy.lulciuc@gmail.com>

* Fix last `N` runs display

Signed-off-by: Willy Lulciuc <willy.lulciuc@gmail.com>

* Sort events by event time

Signed-off-by: Willy Lulciuc <willy.lulciuc@gmail.com>

* Use `--jobs`

Signed-off-by: Willy Lulciuc <willy.lulciuc@gmail.com>

* Apply lint on web

Signed-off-by: Willy Lulciuc <willy.lulciuc@gmail.com>

* Add `--runs-active`

Signed-off-by: Willy Lulciuc <willy.lulciuc@gmail.com>

* Fix runs ordering for jobs

Signed-off-by: Willy Lulciuc <willy.lulciuc@gmail.com>

---------

Signed-off-by: Willy Lulciuc <willy.lulciuc@gmail.com>
  • Loading branch information
wslulciuc authored Oct 15, 2024
1 parent db4fbfa commit bc74ef9
Show file tree
Hide file tree
Showing 5 changed files with 255 additions and 78 deletions.
2 changes: 1 addition & 1 deletion .circleci/api-load-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ log "http API server is ready!"

# (5) Use metadata command to generate random dataset, job, and run metadata
log "generate load test metadata (${METADATA_FILE}):"
java -jar "${MARQUEZ_JAR}" metadata --runs 10 --bytes-per-event 16384 --output "${METADATA_FILE}"
java -jar "${MARQUEZ_JAR}" metadata --jobs 100 --bytes-per-event 16384 --output "${METADATA_FILE}"

# Display CPU/MEM
cpu_and_mem_info
Expand Down
Loading

0 comments on commit bc74ef9

Please sign in to comment.