[C++] Status of tracing / census / OpenTracing integration?

157 views
Skip to first unread message

tud...@gmail.com

unread,
Apr 25, 2017, 7:45:03 PM4/25/17
to grpc.io
Hello,

What's the status of tracing in the C++ gRPC implementation?

I see a lot of references to census, and an implementation in the tree, but census_supported() returns CENSUS_FEATURE_NONE (with a TODO(aveitch): improve this as we implement features...), and the bindings between gRPC and census are incomplete (there are no calls to any census_start_* functions).

Alternatively, is there any (planned) support for interceptors, so we can build our own monitoring (perhaps on top of http://opentracing.io/)? I'd like to be able to intercept the begin and end of server calls, and to be able to store a custom (tracing) context in ClientContext and ServerContext (with propagation support in ClientContext::FromServerContext, so I can link tracing spans together).

Thank you,
-Tudor.

gopi...@google.com

unread,
Jul 25, 2017, 7:08:29 PM7/25/17
to grpc.io, tud...@gmail.com
C++ Tracing library will be released sometime in Q4 2017 or later. Its still in planning.

thanks,
Gopi

Tudor Bosman

unread,
Jul 25, 2017, 7:09:15 PM7/25/17
to gopi...@google.com, grpc.io
Thanks!

How about interceptors?

Thanks,
-Tudor.

Yang Gao

unread,
Aug 1, 2017, 6:41:15 PM8/1/17
to grpc.io, gopi...@google.com, tud...@gmail.com
There are currently non-public API under src/cpp/common/ for channel filters. You can try that out. I think its current form is not ready for moving to public headers.
Reply all
Reply to author
Forward
0 new messages