lib/rails/instrumentation/utils.rb
def tag_error(span, payload)
          if payload.key? :exception_object
            span.record_exception(payload[:exception_object])
          else
            exception = payload[:exception]
            span.set_tag(:error, true)
            span.set_tag(:'sfx.error.kind', exception[0]) 
            span.set_tag(:'sfx.error.message', exception[1])
          end
        end
# according to the ActiveSupport::Notifications documentation, exceptions
# will be indicated with the presence of the :exception and :exception_object
# keys. These will be tagged and logged according to the OpenTracing
# specification.
according to the ActiveSupport::Notifications documentation, exceptions
will be indicated with the presence of the :exception and :exception_object
keys. These will be tagged and logged according to the OpenTracing
specification.
according to the ActiveSupport :: Notifications documentation exceptions will be indicated with the presence of the : exception and : exception_object keys . These will be tagged and logged according to the OpenTracing specification .
def tag_error(span, payload)
          if payload.key? :exception_object
            span.record_exception(payload[:exception_object])
          else
            exception = payload[:exception]
            span.set_tag(:error, true)
            span.set_tag(:'sfx.error.kind', exception[0]) 
            span.set_tag(:'sfx.error.message', exception[1])
          end
        end
def tag_error ( span , payload ) if payload . key? :exception_object span . record_exception ( payload [ :exception_object ] ) else exception = payload [ :exception ] span . set_tag ( :error , true ) span . set_tag ( :' sfx.error.kind ' , exception [ 0 ] ) span . set_tag ( :' sfx.error.message ' , exception [ 1 ] ) end end
according to the ActiveSupport::Notifications documentation, exceptions
will be indicated with the presence of the :exception and :exception_object
keys.
according to the ActiveSupport :: Notifications documentation exceptions will be indicated with the presence of the : exception and : exception_object keys .
span
payload