lib/instana/tracing/span.rb in instana-1.4.8 vs lib/instana/tracing/span.rb in instana-1.4.9
- old
+ new
@@ -105,22 +105,9 @@
# @param kvs [Hash] list of key values to be reported in the span
#
def configure_custom(name)
@data[:n] = :sdk
@data[:data] = { :sdk => { :name => name.to_sym } }
-
- #if kvs.is_a?(Hash)
- # @data[:data][:sdk][:type] = kvs.key?(:type) ? kvs[:type] : :local
-#
-# if kvs.key?(:arguments)
-# @data[:data][:sdk][:arguments] = kvs[:arguments]
-# end
-#
-# if kvs.key?(:return)
-# @data[:data][:sdk][:return] = kvs[:return]
-# end
-# @data[:data][:sdk][:custom] = kvs unless kvs.empty?
-# end
self
end
# Closes out the span. This difference between this and
# the finish method tells us how the tracing is being