How do I disable default http metrics

Hi All,

We are specifically require couple of metrics for our performance validation. But K6 generates default metrics and also writes all the metric data to result json file which grows too huge in size and creates space issues.

I want to disable some of the default metrics so that only required data is written to the json output file.

Command: k6 run --out influxdb=http://localhost:8090/omsk6db --out result=result.json --vus 100 --duration 60s testscript.js


Unfortunately, you currently can’t do that. We plan to add support for it soon, follow Add explicit tracking and ignoring of metrics and sub-metrics · Issue #1321 · grafana/k6 · GitHub for updates.