Expose trace_id as header with go opentracing

30 views
Skip to first unread message

Gianluca Arbezzano

unread,
Jun 6, 2018, 4:22:41 PM6/6/18
to OpenTracing
Hello

I created a middleware in go that uses the opentracing-go library to trace HTTP requests coming to my HTTP server.
I would like to expose the trace_id as a response's header.

Does somebody have an idea about how to do that? I read online and it looks like it is currently out of scope for the opentracing specification to expose trace_id.
is it true?

Yuri Shkuro

unread,
Jun 6, 2018, 4:34:23 PM6/6/18
to Gianluca Arbezzano, OpenTracing

--
You received this message because you are subscribed to the Google Groups "OpenTracing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opentracing+unsubscribe@googlegroups.com.
To post to this group, send email to opent...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/opentracing/6d1dbdba-450d-4b6f-85c0-4a1f0d101dfa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages