Is there any custom metric for CPU and Memory usage?

Is there any custom metric for CPUand Memory usage ? I want to export CPU and Memory usage in my report. Searching for any metric . Is there any could me show me any sample ?

Hi @Yusuf,
unfortunately, at the moment, k6 doesn’t support these kinds of profiling metrics. We have an open issue for tracking it New CPU and memory usage metrics · Issue #888 · grafana/k6 · GitHub.
The alternative in the meanwhile is profiling the k6 process with a custom solution.