lib/ddtrace/contrib/sinatra/tracer.rb in ddtrace-0.33.1 vs lib/ddtrace/contrib/sinatra/tracer.rb in ddtrace-0.34.0

- old
+ new

@@ -40,9 +40,12 @@ tracer.trace(Ext::SPAN_RENDER_TEMPLATE, span_type: Datadog::Ext::HTTP::TEMPLATE) do |span| # If data is a string, it is a literal template and we don't # want to record it. span.set_tag(Ext::TAG_TEMPLATE_NAME, data) if data.is_a? Symbol + # Measure service stats + Contrib::Analytics.set_measured(span) + output = super end else output = super end