opencensus-cpp
opencensus-cpp copied to clipboard
Implement Context
Context is an object that holds information (such as Span and TagMap) specific to an operation (such as an RPC) and propagates it implicitly to child operations, function calls, etc.
Work that needs to be done:
- [x] Implement Context object. #200
- [x] WithContext: for switching into a Context. #200
- [x] WithSpan, WithTagMap: for switching information into the Context. #208 #209
- [x] GetCurrentSpan: to retrieve from Context. #211
- [x] GetCurrentTagMap: to retrieve from Context. #218
- [x] API for adding tags. Deferred to #223.
- [x] Add documentation. #224
- [x] Add a version of
Record()that uses the current TagMap. #225 - [ ] Update the gRPC plugin to use the Context API.
- [ ] gRPC: propagate context.
I think everything is done here in order to do a new release.