Running the perf test for observed concurrency throws a panic
/area test-and-release /kind bug
wrk -t 1 -c 5 -d 60s -s reporter.lua --latency -H "Host: observed-concurrency.default.example.com" "http://35.196.136.123/?timeout=1000" Running 1m test @ http://35.196.136.123/?timeout=1000 1 threads and 5 connections PANIC: unprotected error in call to Lua API (reporter.lua:25: attempt to perform arithmetic on local 'n' (a nil value))
/assign @markusthoemmes /cc @josephburnett
curl does work, but when running wrk it panics
curl -H "Host: observed-concurrency.default.example.com" "http://35.196.136.123" 1536778439789735970,1536778439789736325
Meh. Sorry for the hazzle with the wrk script. I'll have a look!
On another note: I think at this point it might make sense to exchange the wrk "script" with @josephburnett's go load test driver like the one here: https://github.com/knative/docs/blob/master/serving/samples/autoscale-go/test/test.go
I'll try to fix the wrk thing anyway to unblock your work.
@srinivashegde86 got around to take a look. Unfortunately we need to set an environment variable with the specified concurrency (mentioned in PR #2023).
That should unblock the work here. As mentioned above, we should move to a go based loaddriver to make this easier to work with. We can do that midterm though I guess?
That would be great to have. Created https://github.com/knative/serving/issues/2040