Class: NewRelic::Agent::InfiniteTracing::Channel
- Inherits:
-
Object
- Object
- NewRelic::Agent::InfiniteTracing::Channel
- Defined in:
- lib/infinite_tracing/channel.rb
Instance Method Summary collapse
Instance Method Details
#channel ⇒ Object
19 20 21 |
# File 'lib/infinite_tracing/channel.rb', line 19 def channel GRPC::Core::Channel.new(host_and_port, settings, credentials) end |
#credentials ⇒ Object
23 24 25 26 |
# File 'lib/infinite_tracing/channel.rb', line 23 def credentials # Uses system configured certificates by default GRPC::Core::ChannelCredentials.new end |
#host_and_port ⇒ Object
28 29 30 |
# File 'lib/infinite_tracing/channel.rb', line 28 def host_and_port Config.trace_observer_host_and_port end |
#settings ⇒ Object
32 33 34 35 36 37 |
# File 'lib/infinite_tracing/channel.rb', line 32 def settings { 'grpc.minimal_stack' => 1, 'grpc.enable_deadline_checking' => 0 } end |