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. -- Nikolay On Friday, November 11, 2022 at 12:19:02 AM UTC+8 se...@liao.dev wrote: > 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 <nikolay.d...@gmail.com> > wrote: > >> *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 wrapper >> notations that makes even manual tracing much less laborious. As of >> 2022-11-06, official Go does not support automatic function traces. >> https://go.dev/doc/diagnostics. Thus, created a tool to automatically >> add Spans. >> >> *Thank you!* >> >> -- Nikolay >> >> -- >> You received this message because you are subscribed to the Google Groups >> "golang-nuts" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to golang-nuts...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/golang-nuts/0323b8d0-c1cc-47e9-9b32-82fecb4d9f66n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/golang-nuts/0323b8d0-c1cc-47e9-9b32-82fecb4d9f66n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/4a313875-8604-41f8-9e17-99eea96e5d08n%40googlegroups.com.