opentracing-tutorial icon indicating copy to clipboard operation
opentracing-tutorial copied to clipboard

Node.js Lesson 2 code does not produce multiple spans

Open veryscarycary opened this issue 6 years ago • 1 comments

After working through the lesson and then adapting the solution's code over my own, it seems that multiple spans are not produced from the code in lesson 2. I don't know exactly why but I wanted to surface the issue here.

Screenshots

image

image

veryscarycary avatar Sep 19 '18 00:09 veryscarycary

The tutorial itself seems to work fine:

$ node lesson02/solution/hello.js multipleSpans
INFO  Initializing Jaeger Tracer with CompositeReporter and ConstSampler
INFO  Reporting span e96f5c1d827792aa:e18d43177920e4d:e96f5c1d827792aa:1
Hello, multipleSpans!
INFO  Reporting span e96f5c1d827792aa:35ea28684bf3326d:e96f5c1d827792aa:1
INFO  Reporting span e96f5c1d827792aa:e96f5c1d827792aa:0:1

Are you seeing a different result? It was not clear if the screenshots were from a different code.

yurishkuro avatar Sep 30 '18 19:09 yurishkuro