Open tedsuo opened 2 years ago
Hi @tedsuo, I'm really happy to hear that you like this project 😄
Integration with manual Go instrumentation is something that we are definitely planning to do soon. In high level, I think we will try to implement several components in the OTel Go SDK that will communicate with the instrumentation agent via something like Unix domain socket. This way the manual instrumentation and automatic instrumentation can work together to produce data enriched by both. There are probably many use cases we still need to figure out but I think this is the overall direction.
Would be happy to hear what you think about this approach.
Hi @tedsuo, We just merged a design doc describing how we are going to implement integration between manual and automatic instrumentation. I'll be very happy to hear what you think about it 😄
Thanks for the heads up @edeNFed!
I'm glad to see that integration is possible. I have little knowledge of ebpf, so most of my comments will be pretty naive, but I do have a couple thoughts.
Hope that's helpful! Happy to answer any OTel-related questions that come up. :)
Thanks for the comment @tedsuo, this is really helpful! :)
database/sql
driver invocations like db.Query("SELECT * FROM table")
. Using context means we lose this ability. If database/sql
is the rare exception this is probably a better solution.OTEL_SERVICE_NAME
env var.I will update the design document to reflect the noop instrumentation. I'll be happy to hear if you think that being able to instrument only libraries with context-aware APIs is a better tradeoff than tracking goroutines?
Hey, this is fabulous! :)
I'm wondering what (if any) fundamental limitations exist with this approach? For example:
Again, really awesome project, I'm excited to see where this goes!