diff --git a/README.md b/README.md index 463829c2bff..e7796e0b8bf 100644 --- a/README.md +++ b/README.md @@ -269,7 +269,7 @@ Configuration is done by user application: it should configure exporter and may [OpenTelemetry.Collector.AspNetCore][OpenTelemetry-collect-aspnetcore-nuget-url] to collect incoming HTTP requests [OpenTelemetry.Collector.Dependencies](OpenTelemetry-collect-deps-nuget-url) to collect outgoing HTTP requests and Azure SDK calls -2. Make sure `ITracer`, `ISampler`, and `SpanExporter` and `SpanProcessor` are registered in DI. +2. Make sure `ITracerFactory`, `ISampler`, and `SpanExporter` and `SpanProcessor` are registered in DI. ```csharp services.AddSingleton(Samplers.AlwaysSample); @@ -277,7 +277,7 @@ Configuration is done by user application: it should configure exporter and may services.AddSingleton(); services.AddSingleton(); services.AddSingleton(); - services.AddSingleton(); + services.AddSingleton(); // you may also configure request and dependencies collectors services.AddSingleton(new RequestsCollectorOptions()); @@ -305,7 +305,7 @@ Outgoing http calls to Redis made using StackExchange.Redis library can be autom 1. Install package to your project: [OpenTelemetry.Collector.StackExchangeRedis][OpenTelemetry-collect-stackexchange-redis-nuget-url] -2. Make sure `ITracer`, `ISampler`, and `SpanExporter` and `SpanProcessor` are registered in DI. +2. Make sure `ITracerFactory`, `ISampler`, and `SpanExporter` and `SpanProcessor` are registered in DI. ```csharp services.AddSingleton(Samplers.AlwaysSample); @@ -313,7 +313,7 @@ Outgoing http calls to Redis made using StackExchange.Redis library can be autom services.AddSingleton(); services.AddSingleton(); services.AddSingleton(); - services.AddSingleton(); + services.AddSingleton(); // configure redis collection services.AddSingleton(new StackExchangeRedisCallsCollectorOptions());