Cloud Trace API - Module GRPC::ActiveCallWithTrace (v0.42.2)

Reference documentation and code samples for the Cloud Trace API module GRPC::ActiveCallWithTrace.

Stackdriver Trace instrumentation of GRPC by patching GRPC::ActiveCall class. Intercept each GRPC request and create a Trace span with basic request information.

Methods

#request_response

def request_response(*args, **kwargs)

Override GRPC::ActiveCall#request_response method. Wrap the original method with a trace span that will get submitted with the overall request trace span tree.

Constants

SPAN_NAME

value: "gRPC request".freeze