census-instrumentation / opencensus-go

A stats collection and distributed tracing framework
http://opencensus.io
Apache License 2.0
2.06k stars 327 forks source link

Annotate execution tracer spans with trace.SpanContext #739

Open rakyll opened 6 years ago

rakyll commented 6 years ago

So the user can correlate the execution tracer spans with their distributed spans.

majelbstoat commented 6 years ago

I have a Go GRPC server that is creating spans correctly, but they are disconnected from the parent span initiated by the calling client. (A NodeJS GRPC client using @google-cloud/trace-agent.) Is that what this issue is describing?

rakyll commented 6 years ago

@majelbstoat, no this is specific to the Go runtime execution tracer support we provide. It is explained at https://medium.com/observability/debugging-latency-in-go-1-11-9f97a7910d68. There is now way for the Go execution tracer to correlate a task with a OpenCensus distributed trace ID.