remove custom k6 install

Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
Marc 'risson' Schmitt
2024-04-09 16:24:18 +02:00
parent 8717a3aaab
commit 057e5747c9
4 changed files with 6 additions and 16 deletions

View File

@ -1,6 +1,4 @@
import { Counter } from "k6/metrics";
import http from "k6/http";
import exec from "k6/execution";
import { check, fail } from "k6";
export const options = {

View File

@ -10,12 +10,10 @@ function _k6 {
K6_PROMETHEUS_RW_SERVER_URL=http://localhost:9090/api/v1/write \
K6_PROMETHEUS_RW_TREND_AS_NATIVE_HISTOGRAM=true \
K6_PROMETHEUS_RW_PUSH_INTERVAL=1s \
"${BASE_DIR}/k6" \
run \
--out experimental-prometheus-rw \
--out "web-dashboard=port=-1&report=${filename%.*}.html&period=1s&tag=name&tag=group&tag=user_count&tag=page_size" \
--out "json=${filename%.*}.json" \
"${@}"
k6 run \
--out experimental-prometheus-rw \
--out "json=${filename%.*}.json" \
"${@}"
}
filename=""

View File

@ -1,7 +1,6 @@
import exec from "k6/execution";
import { command } from "k6/x/exec";
import http from "k6/http";
import { check, group } from "k6";
import { check } from "k6";
export const options = {
discardResponseBodies: true,