opencensus-cpp icon indicating copy to clipboard operation
opencensus-cpp copied to clipboard

Implement Context

Open g-easy opened this issue 7 years ago • 1 comments

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.

g-easy avatar Oct 03 '18 02:10 g-easy

I think everything is done here in order to do a new release.

bogdandrutu avatar Nov 19 '18 22:11 bogdandrutu