Is there a way to integrate the default k6 metrics for an extension

Hi,

at the moment I develop a TCP Excetions that is based on the Golang Tcp type where you can also close the read and write part extra and use own defined delimiter for read line.
My question is: Is there a way to trace the tcp infos to the default k6 integrated metrics?

This is my repo for it atm and it is working so far: GitHub - FxRie/xk6-tcp: A k6 extension for sending data to TCP port

Thanks for help in advance!

Hey @fxrie,
welcome to the community forum :tada:

My question is: Is there a way to trace the tcp infos to the default k6 integrated metrics?

What do you mean by integrated metrics? If a Custom Metric works for you then you can set it by writing some similar code the browser extension.

Let me know if it helps.