Module: NewRelic::Agent::Instrumentation::GRPC::Server::RpcDescPrepend

Includes:
NewRelic::Agent::Instrumentation::GRPC::Server
Defined in:
lib/new_relic/agent/instrumentation/grpc/server/rpc_desc_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

#handle_bidi_streamer(active_call, mth, inter_ctx) ⇒ Object



27
28
29
# File 'lib/new_relic/agent/instrumentation/grpc/server/rpc_desc_prepend.rb', line 27

def handle_bidi_streamer(active_call, mth, inter_ctx)
  handle_with_tracing(:bidi_streamer, active_call, mth, inter_ctx) { super }
end

#handle_client_streamer(active_call, mth, inter_ctx) ⇒ Object



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

def handle_client_streamer(active_call, mth, inter_ctx)
  handle_with_tracing(:client_streamer, active_call, mth, inter_ctx) { super }
end

#handle_request_response(active_call, mth, inter_ctx) ⇒ Object



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

def handle_request_response(active_call, mth, inter_ctx)
  handle_with_tracing(:request_response, active_call, mth, inter_ctx) { super }
end

#handle_server_streamer(active_call, mth, inter_ctx) ⇒ Object



23
24
25
# File 'lib/new_relic/agent/instrumentation/grpc/server/rpc_desc_prepend.rb', line 23

def handle_server_streamer(active_call, mth, inter_ctx)
  handle_with_tracing(:server_streamer, active_call, mth, inter_ctx) { super }
end