sdk icon indicating copy to clipboard operation
sdk copied to clipboard

Jaeger: pass-through tracing

Open xzfc opened this issue 4 years ago • 0 comments

Currently, Jaeger tracing is enabled on a per-application basis. (see #556)

It would be convenient to enable it on a per-request basis. E.g. suppose Jaeger tracing is enabled globally on the NSC, but not on the NSMgr and NSE. NSMgr and NSE should trace requests coming from this NSC.

Use-case: the user may want to trace a request coming from a particular NSC, but not interested in requests coming from other NSCs.

Proposed implementation: enable trace wrapper if opentracing-related gRPC metadata is present in an incoming request.

xzfc avatar Nov 30 '20 04:11 xzfc