lib/instana/backend/host_agent.rb in instana-1.200.0.pre1 vs lib/instana/backend/host_agent.rb in instana-1.200.0
- old
+ new
@@ -47,10 +47,10 @@
# @return [Hash, NilClass] the backend friendly description of the current in process collector
def source
{
e: discovery_value['pid'],
h: discovery_value['agentUuid']
- }.compact
+ }.reject { |_, v| v.nil? }
end
# @return [Array] extra headers to include in the trace
def extra_headers
discovery_value['extraHeaders']