Skip to content

Commit

Permalink
chore: enabling push metrics on openshift ci (konflux-ci#830)
Browse files Browse the repository at this point in the history
* enabling push metrics on openshift ci

* small fix

* added some more fixes

* Adding me as an approver
  • Loading branch information
Meer Sawood authored Oct 23, 2023
1 parent 464fa04 commit b0cd00a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/loadtest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
USERS_PER_THREAD: ${{ github.event.inputs.users }}
THREADS: ${{ github.event.inputs.threads }}
PUSHGATEWAY_URL: ${{ secrets.PUSHGATEWAY_URL }}
DISABLE_METRICS: ${{ secrets.DISABLE_METRICS }}
run: ./run-stage.sh

- name: Collect results
Expand Down
1 change: 1 addition & 0 deletions OWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ approvers:
- jkopriva
- Dannyb48
- psturc
- sawood14012
2 changes: 1 addition & 1 deletion tests/load-tests/run-max-concurrency.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ load_test() {
-l \
-o "$output_dir" \
-t "$threads" \
--disable-metrics \
--disable-metrics="${DISABLE_METRICS:-false}" \
--pushgateway-url "${PUSHGATEWAY_URL:-rhtapqe.com}" \
--enable-progress-bars="${ENABLE_PROGRESS_BARS:-false}" \
--pipeline-skip-initial-checks="${PIPELINE_SKIP_INITIAL_CHECKS:-true}"
Expand Down
1 change: 1 addition & 0 deletions tests/load-tests/run-stage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ go run loadtest.go \
-l \
-o "${OUTPUT_DIR:-.}" \
-t "${THREADS:-2}" \
--disable-metrics="${DISABLE_METRICS:-false}" \
--pushgateway-url "${PUSHGATEWAY_URL:-rhtapqe.com}" \
--enable-progress-bars="${ENABLE_PROGRESS_BARS:-false}" \
--pipeline-skip-initial-checks="${PIPELINE_SKIP_INITIAL_CHECKS:-true}"
2 changes: 1 addition & 1 deletion tests/load-tests/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ else
-o "$output_dir" \
-t "${THREADS:-1}" \
$RANDOM_PREFIX_FLAG \
--disable-metrics \
--disable-metrics="${DISABLE_METRICS:-false}" \
--pushgateway-url "${PUSHGATEWAY_URL:-rhtapqe.com}" \
--enable-progress-bars="${ENABLE_PROGRESS_BARS:-false}" \
--pipeline-skip-initial-checks="${PIPELINE_SKIP_INITIAL_CHECKS:-true}"
Expand Down

0 comments on commit b0cd00a

Please sign in to comment.