DanielMSchmidt / zipkin-javascript-opentracing

Opentracing implementation for Zipkin in Javascript
MIT License
19 stars 14 forks source link

Support for `followsFrom` references #99

Open antoinetissier opened 4 years ago

antoinetissier commented 4 years ago

Hi,

In the Javascript API of OpenTracing, function followsFrom allows to create a reference that can be passed as SpanOption when starting a span.

However, in this repo, references do not seem to be supported. Is there any plan on supporting them in the future ?

Thanks, Antoine

DanielMSchmidt commented 4 years ago

Hey,

I think the follows from concept is not really implemented in Zipkin, at least as far as I know :)

antoinetissier commented 4 years ago

Thanks for your answer. Is there any equivalent concept in Zipkin that could be leveraged ?

childOf is a bit limiting sometimes. For example (that's my use case^^), if from a client application you load a file, and when that file loads it triggers a query being sent to a server, you might want to monitor the file loading time from a client perspective on one hand (i.e. without taking the query into account), and the query execution on the other hand. So you would want a span for the loading of the file, and another one for the query execution, "following" the loading span