interesting, so this is sortof a hybrid of "not quite frontend
tracing", as opposed to something like
but more than just re-using an entry trace ID (like the browser plugin
does)
thanks for sharing!
On Sat, Oct 5, 2019 at 5:16 AM Jordi Polo Carres <jca...@mdsol.com> wrote:
>
> Hi,
>
> In a SPA application each javascript request creates a trace in our backend systems, which is fine. But we also want to know that these requests belong to one same original page.
>
> So we are going to render a hidden field with the trace created by the first request, and all javascript calls will send us the content of the field. The backend would then add the field into the span with a certain tag.
> So we could always get this tag to get our collection of traces.
>
> This works for us and maybe very specific to how we do SPA here (as more pure apps may want to add url information or just don't bother about this ) but nevertheless wanted to share in case it is an useful idea for anyone else.
>
> Happy hacking
>
>
> --
> Jordi Polo Carres | API bundle lead | Medidata Solutions Worldwide
> Api bundle: api-b...@mdsol.com
> API standard: https://learn.mdsol.com/display/CA/MCC+API+Standard+V1
>
> --
> You received this message because you are subscribed to the Google Groups "zipkin-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to zipkin-dev+...@googlegroups.com.
> To view this discussion on the web visit https://urldefense.com/v3/__https://groups.google.com/d/msgid/zipkin-dev/CAM2*2BnKjOx_9K76i77rpQ26Vq9K33iP5VgcLRiHLvXYaKcUrvpA*40mail.gmail.com__;JSU!in-LNeQdOnY!hNUce4z9E-gFfZUVc-vpsNnJ47WJtRaNEb_3zRVFDSu3yvT79ulEF4pdNbp--w$ .
--
You received this message because you are subscribed to the Google Groups "zipkin-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zipkin-dev+...@googlegroups.com.
To view this discussion on the web visit https://urldefense.com/v3/__https://groups.google.com/d/msgid/zipkin-dev/CAHzwyDtCKhGAL9XQVdAD7SoW*3DMUo1cLbJvfvUg0dmr1KFnO8gg*40mail.gmail.com__;JSU!in-LNeQdOnY!hNUce4z9E-gFfZUVc-vpsNnJ47WJtRaNEb_3zRVFDSu3yvT79ulEF4oVYvEECg$ .