lib/elastic_apm/agent.rb in elastic-apm-3.3.0 vs lib/elastic_apm/agent.rb in elastic-apm-3.4.0
- old
+ new
@@ -163,19 +163,23 @@
type = nil,
subtype: nil,
action: nil,
backtrace: nil,
context: nil,
- trace_context: nil
+ trace_context: nil,
+ parent: nil,
+ sync: nil
)
instrumenter.start_span(
name,
type,
subtype: subtype,
action: action,
backtrace: backtrace,
context: context,
- trace_context: trace_context
+ trace_context: trace_context,
+ parent: parent,
+ sync: sync
)
end
# rubocop:enable Metrics/ParameterLists
def end_span