Module: NewRelic::Agent::Instrumentation::GRPC::Server::RpcServerPrepend

Includes:
NewRelic::Agent::Instrumentation::GRPC::Server
Defined in:
lib/new_relic/agent/instrumentation/grpc/server/rpc_server_prepend.rb

Constant Summary

Constants included from NewRelic::Agent::Instrumentation::GRPC::Server

CATEGORY, DESTINATIONS, DT_KEYS, INSTANCE_VAR_HOST, INSTANCE_VAR_METHOD, INSTANCE_VAR_PORT, INSTRUMENTATION_NAME

Constants included from Helper

Helper::NR_8T_HOST_PATTERN

Instance Method Summary collapse

Methods included from NewRelic::Agent::Instrumentation::GRPC::Server

#add_http2_port_with_tracing, #handle_with_tracing, #run_with_tracing

Methods included from Helper

#cleaned_method, #host_denylisted?, #ignore_patterns

Instance Method Details

#add_http2_port(*args) ⇒ Object



14
15
16
# File 'lib/new_relic/agent/instrumentation/grpc/server/rpc_server_prepend.rb', line 14

def add_http2_port(*args)
  add_http2_port_with_tracing(*args) { super }
end

#run(*args) ⇒ Object



18
19
20
# File 'lib/new_relic/agent/instrumentation/grpc/server/rpc_server_prepend.rb', line 18

def run(*args)
  run_with_tracing(*args) { super }
end