zipkin-javascript-opentracing icon indicating copy to clipboard operation
zipkin-javascript-opentracing copied to clipboard

Support for `followsFrom` references

Open antoinetissier opened this issue 5 years ago • 2 comments

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

antoinetissier avatar Jan 27 '20 15:01 antoinetissier

Hey,

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

DanielMSchmidt avatar Jan 27 '20 15:01 DanielMSchmidt

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

antoinetissier avatar Jan 27 '20 16:01 antoinetissier