yurishkuro / opentracing-tutorial

A collection of tutorials for the OpenTracing API
Apache License 2.0
1.57k stars 404 forks source link

go-lesson03: Fix unclear client instrumentation in lesson #19

Closed eest closed 6 years ago

eest commented 6 years ago

This is an attempt to fix issue #18 . For the exercise code I mirrored the solution code, and for the lesson text I mirrored the server instrumentation portion below it. It might sound a bit strange to repeat the same "need to do the following" phrase twice but that can of course be changed if you prefer something else.

The extra newlines added to the exercise code was added both because it mirrors the solution code and also that it is a subtle hint that it might be a good spot to add the new chunk of code.