Class: GrpcOpencensusInterceptor::ServerInterceptor::SpanModifier

Inherits:
Object
  • Object
show all
Defined in:
lib/grpc_opencensus_interceptor/server_interceptor/span_modifier.rb

Overview

Modify span by request, call, method if necessary

Instance Method Summary collapse

Instance Method Details

#call(span, request, call, method) ⇒ Object

Parameters:

  • span (OpenCensus::Trace::SpanBuilder)
  • request (Object)
  • call (GRPC::ActiveCall::SingleReqView)
  • method (Method)


11
12
13
# File 'lib/grpc_opencensus_interceptor/server_interceptor/span_modifier.rb', line 11

def call(span, request, call, method)
  # Do something necessary
end