From 14e0d609eba3efb62ad67150d32cebfc4db26a55 Mon Sep 17 00:00:00 2001 From: Wolfgang Ziegler Date: Tue, 8 Oct 2019 20:20:35 +0200 Subject: [PATCH] README.md out of date (#263) Replaced DI occurrences of ITracer/Tracer with ITracerFactory/TracerFactory --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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());