README.md in opentelemetry-sdk-0.5.1 vs README.md in opentelemetry-sdk-0.6.0
- old
+ new
@@ -39,10 +39,10 @@
# create a span
tracer.in_span('foo') do |span|
# set an attribute
span.set_attribute('platform', 'osx')
# add an event
- span.add_event(name: 'event in bar')
+ span.add_event('event in bar')
# create bar as child of foo
tracer.in_span('bar') do |child_span|
# inspect the span
pp child_span
end