From f0a0b07ffbfa9d87a50017d6863c9b20195b2e6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Pyrzyk?= Date: Mon, 2 Mar 2020 18:52:33 +0100 Subject: [PATCH] Adjusted UseZipkin to new signature (#514) Co-authored-by: Sergey Kanzhelev --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7596878a9..6984f7448 100644 --- a/README.md +++ b/README.md @@ -247,7 +247,7 @@ Configuration is done by user application: it should configure exporter and may ```csharp using (TracerFactory.Create(builder => builder - .UseZipkin() + .UseZipkin(options => {}) .SetResource(Resources.CreateServiceResource("http-client-test"))) { // ... @@ -268,7 +268,7 @@ Configuration is done by user application: it should configure exporter and may { builder .SetSampler(new AlwaysSampleSampler()) - .UseZipkin() + .UseZipkin(options => {}) // you may also configure request and dependencies collectors .AddRequestCollector() @@ -292,7 +292,7 @@ Outgoing http calls to Redis made using StackExchange.Redis library can be autom using (TracerFactory.Create(b => b .SetSampler(new AlwaysSampleSampler()) - .UseZipkin() + .UseZipkin(options => {}) .SetResource(Resources.CreateServiceResource("my-service")) .AddCollector(t => { @@ -314,7 +314,7 @@ You may configure sampler of your choice ```csharp using (TracerFactory.Create(b => b .SetSampler(new ProbabilitySampler(0.1)) - .UseZipkin() + .UseZipkin(options => {}) .SetResource(Resources.CreateServiceResource("my-service"))) {