Reference documentation and code samples for the Cloud Trace API module GRPC::Core::CallWithTrace.
Stackdriver Trace instrumentation of GRPC by patching GRPC::Core::Call
class. Add more RPC information into the trace span created by upstream
patch from GRPC::ActiveCallWithTrace
Methods
#run_batch
defrun_batch(*args)
Override GRPC::Core::Call#run_batch method. Reuse the "gRPC request"
span created in ActiveCallWithTrace patch to add more information from
the request.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Cloud Trace API - Module GRPC::Core::CallWithTrace (v0.45.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.45.0 (latest)](/ruby/docs/reference/google-cloud-trace/latest/GRPC-Core-CallWithTrace)\n- [0.44.1](/ruby/docs/reference/google-cloud-trace/0.44.1/GRPC-Core-CallWithTrace)\n- [0.43.0](/ruby/docs/reference/google-cloud-trace/0.43.0/GRPC-Core-CallWithTrace)\n- [0.42.2](/ruby/docs/reference/google-cloud-trace/0.42.2/GRPC-Core-CallWithTrace)\n- [0.41.4](/ruby/docs/reference/google-cloud-trace/0.41.4/GRPC-Core-CallWithTrace) \nReference documentation and code samples for the Cloud Trace API module GRPC::Core::CallWithTrace.\n\nStackdriver Trace instrumentation of GRPC by patching GRPC::Core::Call\nclass. Add more RPC information into the trace span created by upstream\npatch from GRPC::ActiveCallWithTrace\n\nMethods\n-------\n\n### #run_batch\n\n def run_batch(*args)\n\nOverride GRPC::Core::Call#run_batch method. Reuse the \"gRPC request\"\nspan created in ActiveCallWithTrace patch to add more information from\nthe request."]]