113
114
115
116
117
118
119
120
121
122
123
124
|
# File 'lib/new_relic/agent/distributed_tracing/trace_context_payload.rb', line 113
def to_s
result = version.to_s result << DELIMITER << parent_type_id.to_s result << DELIMITER << parent_account_id result << DELIMITER << parent_app_id result << DELIMITER << (id || NewRelic::EMPTY_STR)
result << DELIMITER << (transaction_id || NewRelic::EMPTY_STR)
result << DELIMITER << (sampled ? TRUE_CHAR : FALSE_CHAR)
result << DELIMITER << sprintf('%.6f', priority)
result << DELIMITER << timestamp.to_s result
end
|