Skip to content

Added `ExtractGRPCContext` as a stand alone Public Method

Choose a tag to compare

@wendall-robinson wendall-robinson released this 28 Feb 15:54
· 2 commits to main since this release
82e4906

Primary Change

  • Removed trace.ExtractGRPCContext as a receiver method of Trace
    • this extractor returns a context.Context and cannot be a chaninable (fluid) method of the Trace struct
  • Added ExtractGRPCContext as a standalone Public Method
    • when extracting gRPC trace data using ExtractGRPCContext, extract it into a new context before passing it to a new trace