Exercise 6 – auto-instrumentation
In the previous exercises, we added a lot of manual instrumentation to our application. One may get the impression that it always takes so much work to instrument code for distributed tracing. In reality, things are a lot better thanks to a large amount of already-created, open source, vendor-neutral instrumentation for popular frameworks that exists in the OpenTracing project under its community contributions organization: https://github.com/opentracing-contrib/meta. In this exercise, we will explore some of those modules to minimize the amount of manual, boiler-plate instrumentation in the Hello application.
Open source instrumentation in Go
Due to its "no magic" design principle, with Go it is a bit tougher to ...
Get Mastering Distributed Tracing now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.