Module: NewRelic::Agent::Instrumentation::GRPC::Client::Prepend
- Defined in:
- lib/new_relic/agent/instrumentation/grpc/client/prepend.rb
Constant Summary
Constants included from NewRelic::Agent::Instrumentation::GRPC::Client
Constants included from Helper
Instance Method Summary collapse
- #bidi_streamer(method, requests, marshal, unmarshal, deadline: nil, return_op: false, parent: nil, credentials: nil, metadata: {}, &blk) ⇒ Object
- #client_streamer(method, requests, marshal, unmarshal, deadline: nil, return_op: false, parent: nil, credentials: nil, metadata: {}) ⇒ Object
- #request_response(method, req, marshal, unmarshal, deadline: nil, return_op: false, parent: nil, credentials: nil, metadata: {}) ⇒ Object
- #server_streamer(method, req, marshal, unmarshal, deadline: nil, return_op: false, parent: nil, credentials: nil, metadata: {}, &blk) ⇒ Object
Methods included from NewRelic::Agent::Instrumentation::GRPC::Client
Methods included from Helper
#cleaned_method, #host_denylisted?, #ignore_patterns
Instance Method Details
#bidi_streamer(method, requests, marshal, unmarshal, deadline: nil, return_op: false, parent: nil, credentials: nil, metadata: {}, &blk) ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/new_relic/agent/instrumentation/grpc/client/prepend.rb', line 15 def bidi_streamer(method, requests, marshal, unmarshal, deadline: nil, return_op: false, parent: nil, credentials: nil, metadata: {}, &blk) issue_request_with_tracing(:bidi_streamer, method, requests, marshal, unmarshal, deadline: deadline, return_op: return_op, parent: parent, credentials: credentials, metadata: ) do super(method, requests, marshal, unmarshal, deadline: deadline, return_op: return_op, parent: parent, credentials: credentials, metadata: , &blk) end end |
#client_streamer(method, requests, marshal, unmarshal, deadline: nil, return_op: false, parent: nil, credentials: nil, metadata: {}) ⇒ Object
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'lib/new_relic/agent/instrumentation/grpc/client/prepend.rb', line 39 def client_streamer(method, requests, marshal, unmarshal, deadline: nil, return_op: false, parent: nil, credentials: nil, metadata: {}) issue_request_with_tracing(:client_streamer, method, requests, marshal, unmarshal, deadline: deadline, return_op: return_op, parent: parent, credentials: credentials, metadata: ) do super(method, requests, marshal, unmarshal, deadline: deadline, return_op: return_op, parent: parent, credentials: credentials, metadata: ) end end |
#request_response(method, req, marshal, unmarshal, deadline: nil, return_op: false, parent: nil, credentials: nil, metadata: {}) ⇒ Object
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 |
# File 'lib/new_relic/agent/instrumentation/grpc/client/prepend.rb', line 61 def request_response(method, req, marshal, unmarshal, deadline: nil, return_op: false, parent: nil, credentials: nil, metadata: {}) issue_request_with_tracing(:request_response, method, req, marshal, unmarshal, deadline: deadline, return_op: return_op, parent: parent, credentials: credentials, metadata: ) do super(method, req, marshal, unmarshal, deadline: deadline, return_op: return_op, parent: parent, credentials: credentials, metadata: ) end end |
#server_streamer(method, req, marshal, unmarshal, deadline: nil, return_op: false, parent: nil, credentials: nil, metadata: {}, &blk) ⇒ Object
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 |
# File 'lib/new_relic/agent/instrumentation/grpc/client/prepend.rb', line 83 def server_streamer(method, req, marshal, unmarshal, deadline: nil, return_op: false, parent: nil, credentials: nil, metadata: {}, &blk) issue_request_with_tracing(:server_streamer, method, req, marshal, unmarshal, deadline: deadline, return_op: return_op, parent: parent, credentials: credentials, metadata: ) do super(method, req, marshal, unmarshal, deadline: deadline, return_op: return_op, parent: parent, credentials: credentials, metadata: , &blk) end end |