Module: NewRelic::Security::Instrumentation::GRPC::RpcDesc::Prepend
- Defined in:
- lib/newrelic_security/instrumentation-security/grpc/server/prepend.rb
Instance Method Summary collapse
- #handle_bidi_streamer(active_call, mth, inter_ctx) ⇒ Object
- #handle_client_streamer(active_call, mth, inter_ctx) ⇒ Object
- #handle_request_response(active_call, mth, inter_ctx) ⇒ Object
- #handle_server_streamer(active_call, mth, inter_ctx) ⇒ Object
Methods included from NewRelic::Security::Instrumentation::GRPC::RpcDesc
Instance Method Details
#handle_bidi_streamer(active_call, mth, inter_ctx) ⇒ Object
20 21 22 |
# File 'lib/newrelic_security/instrumentation-security/grpc/server/prepend.rb', line 20 def handle_bidi_streamer(active_call, mth, inter_ctx) grpc_server_on_enter(active_call, mth, inter_ctx, true, true) { super } end |
#handle_client_streamer(active_call, mth, inter_ctx) ⇒ Object
12 13 14 |
# File 'lib/newrelic_security/instrumentation-security/grpc/server/prepend.rb', line 12 def handle_client_streamer(active_call, mth, inter_ctx) grpc_server_on_enter(active_call, mth, inter_ctx, true, false) { super } end |
#handle_request_response(active_call, mth, inter_ctx) ⇒ Object
8 9 10 |
# File 'lib/newrelic_security/instrumentation-security/grpc/server/prepend.rb', line 8 def handle_request_response(active_call, mth, inter_ctx) grpc_server_on_enter(active_call, mth, inter_ctx, false, false) { super } end |
#handle_server_streamer(active_call, mth, inter_ctx) ⇒ Object
16 17 18 |
# File 'lib/newrelic_security/instrumentation-security/grpc/server/prepend.rb', line 16 def handle_server_streamer(active_call, mth, inter_ctx) grpc_server_on_enter(active_call, mth, inter_ctx, false, true) { super } end |