Hello Gophers,
I just wanted to share an article and open source tool that I've
finished recently.
They both are about instrumenting (aka tracing) Go components.
Article covers some background on it, while tool helps to generate
boilerplate code to easily provide tracing hooks in your structs.
Article:
https://gbws.io/articles/instrumentation-in-go/
The tool:
https://github.com/gobwas/gtrace
Hope it would be helpful!
--
Regards,
Sergey.