lib/opentelemetry/sdk/trace/span.rb in opentelemetry-sdk-0.8.0 vs lib/opentelemetry/sdk/trace/span.rb in opentelemetry-sdk-0.9.0
- old
+ new
@@ -50,10 +50,10 @@
#
# @return [Boolean] true if this Span is active and recording information
# like events with the #add_event operation and attributes using
# #set_attribute.
def recording?
- true
+ !@ended
end
# Set attribute
#
# Note that the OpenTelemetry project