Re: [go-nuts] [ANN] Tool for automatic instrumentation of OpenTelemetry

2022-11-10 Thread Nikolay Dubina
Thank you! tbh, I am a bit audacious by taking `//go:instrument`. But I think if official Go toolchain starts to use `//go:instrument` or more people raise concerns, I would definitely switch to something different. Taking a note on your feedback. Will monitor for more comments about this. --

Re: [go-nuts] [ANN] Tool for automatic instrumentation of OpenTelemetry

2022-11-10 Thread 'Sean Liao' via golang-nuts
Interesting As a note, directive comments should be of the form `//toolname:directive`, meaning the `//go:` prefix should be reserved for the `go` toolchain itself. - sean On Thu, Nov 10, 2022 at 4:07 PM Nikolay Dubina wrote: > *What?* > > Tool for automatic instrumentation of OpenTelemetry T

[go-nuts] [ANN] Tool for automatic instrumentation of OpenTelemetry

2022-11-10 Thread Nikolay Dubina
*What?* Tool for automatic instrumentation of OpenTelemetry Traces of all functions and methods. https://github.com/nikolaydubina/go-instrument *Why?* It is laborious to add tracing code to every function manually. The code repeats 99% of time. Other languages can either modify code or have w