-
Notifications
You must be signed in to change notification settings - Fork 19
Description
One of the surprising optimizations of this project is that it intentionally suggests delaying spans into zipkin by a magnitude of minutes and also via external setup. In practice users treat zipkin as a near-realtime tool for troubleshooting production. We've had complaints when spans are delayed seconds. Moreover, there's no file format defined for zipkin at the moment. This means that anyone trying to setup some extra infrastructure will be burdened with figuring this out before they even stat. Finally, there's a suggestion that writing to logs is somehow safer to production than writing to zipkin. Regardless of whether you write to logs or a network channel, what saves you is doing so asynchronously.
I'd highly suggest adding at least an http transport which buffers before writing to zipkin. This would result in an easier and less custom tracer which sends data to zipkin like everything else. If you want to keep the logger because you like that, that's perfectly fine, just make it clear that this is not compatible with any other tracer in the ecosystem (which means some place way down in the advanced section imho).