remove custom k6 install
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
		@ -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 = {
 | 
			
		||||
 | 
			
		||||
@ -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=""
 | 
			
		||||
 | 
			
		||||
@ -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,
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user