class NewRelic::Agent::Instrumentation::GRPC::Client::RequestWrapper
Attributes
Public Class Methods
Source
# File lib/new_relic/agent/instrumentation/grpc/client/request_wrapper.rb, line 13 def initialize(host) @host = host @newrelic_metadata = {} end
Public Instance Methods
Source
# File lib/new_relic/agent/instrumentation/grpc/client/request_wrapper.rb, line 22 def []=(key, value) @newrelic_metadata[key] = value end
Source
# File lib/new_relic/agent/instrumentation/grpc/client/request_wrapper.rb, line 18 def host_from_header @host end