lib/ddtrace/tracer.rb in ddtrace-0.52.0 vs lib/ddtrace/tracer.rb in ddtrace-0.53.0
- old
+ new
@@ -198,10 +198,10 @@
span = Span.new(self, name, span_options)
if parent.nil?
# root span
@sampler.sample!(span)
- span.set_tag('system.pid', Process.pid)
+ span.set_tag(Datadog::Ext::Runtime::TAG_PID, Process.pid)
span.set_tag(Datadog::Ext::Runtime::TAG_ID, Datadog::Core::Environment::Identity.id)
if ctx && ctx.trace_id
span.trace_id = ctx.trace_id
span.parent_id = ctx.span_id unless ctx.span_id.nil?