README.md in opentelemetry-api-1.0.0.rc2 vs README.md in opentelemetry-api-1.0.0.rc3
- old
+ new
@@ -27,14 +27,14 @@
Then, use the OpenTelemetry interfaces to produces traces and other telemetry data. Following is a basic example.
```ruby
require 'opentelemetry'
-# Obtain the current default tracer factory
-factory = OpenTelemetry.tracer_factory
+# Obtain the current default tracer provider
+provider = OpenTelemetry.tracer_provider
# Create a trace
-tracer = factory.tracer('my_app', '1.0')
+tracer = provider.tracer('my_app', '1.0')
# Record spans
tracer.in_span('my_task') do |task_span|
tracer.in_span('inner') do |inner_span|
# Do something here