lib/elastic_apm/agent.rb in elastic-apm-4.3.0 vs lib/elastic_apm/agent.rb in elastic-apm-4.4.0
- old
+ new
@@ -209,11 +209,11 @@
sync: sync
)
end
# rubocop:enable Metrics/ParameterLists
- def end_span
- instrumenter.end_span
+ def end_span(span = nil)
+ instrumenter.end_span(span)
end
def set_label(key, value)
instrumenter.set_label(key, value)
end