README.md in opentelemetry-exporter-jaeger-0.14.0 vs README.md in opentelemetry-exporter-jaeger-0.15.0
- old
+ new
@@ -33,10 +33,10 @@
# Configure the sdk with custom export
OpenTelemetry::SDK.configure do |c|
c.add_span_processor(
OpenTelemetry::SDK::Trace::Export::BatchSpanProcessor.new(
- exporter: OpenTelemetry::Exporter::Jaeger::AgentExporter.new(host: '127.0.0.1', port: 6831)
+ OpenTelemetry::Exporter::Jaeger::AgentExporter.new(host: '127.0.0.1', port: 6831)
# Alternatively, for the collector exporter:
# exporter: OpenTelemetry::Exporter::Jaeger::CollectorExporter.new(endpoint: 'http://192.168.0.1:14268/api/traces')
)
)
c.service_name = 'jaeger-example'