Closed mkadirtan closed 1 year ago
Same issue here.
It seems the stats
package was moved to metrics
here -> https://github.com/grafana/k6/commit/766afc4bf6d2a5a86d6b80daafc77c02c64d2eb5
This was published in 0.38.0
so the last version that passes the build with xk6-dashboard is 0.37.0
$ xk6 build v0.37.0 --with github.com/szkiba/xk6-dashboard
Simply replacing stats
with metrics
in the prometheus module seems to do the trick.
$ xk6 build v0.42.0 --with github.com/szkiba/xk6-dashboard=${PWD}/xk6-dashboard
$ ./k6 version
k6 v0.42.0 ((devel), go1.19.5, linux/amd64)
Should work now (v0.1.2).
I'm trying to build k6 with xk6-dashboard, but I keep getting error about k6/stats module. Is this extension not compatible with latest k6 module?