6 references to AddSampler
Microsoft.Extensions.Telemetry (4)
Sampling\SamplingLoggerBuilderExtensions.cs (4)
34
return builder.
AddSampler
<TraceBasedSampler>();
65
return builder.
AddSampler
<RandomProbabilisticSampler>();
90
return builder.
AddSampler
<RandomProbabilisticSampler>();
117
return builder.
AddSampler
<RandomProbabilisticSampler>();
Microsoft.Extensions.Telemetry.Tests (2)
Sampling\SamplingLoggerBuilderExtensionsTests.cs (2)
239
builder.
AddSampler
<MySampler>();
275
Func<ILoggingBuilder> action3 = () => SamplingLoggerBuilderExtensions.
AddSampler
<MySampler>(builder!);