10 references to BottomKSampler
Microsoft.Extensions.Telemetry (1)
Sampling\BottomKSampler.cs (1)
74
:
this
(reservoirCapacity, DefaultPreserveCapacity, DefaultMinPeriodCount, unseenWeightMode, null, releasePayload)
Microsoft.Extensions.Telemetry.Tests (9)
Sampling\BottomKSamplerTests.cs (9)
89
var sampler = new
BottomKSampler
<int, int>(1, 0, 0, BottomKUnseenWeightMode.RarestSeen, 42);
102
var sampler = new
BottomKSampler
<int, int>(4, 0, 0, BottomKUnseenWeightMode.Chao1, 42);
115
var sampler = new
BottomKSampler
<int, int>(1, 0, 0, BottomKUnseenWeightMode.RarestSeen, Seed);
135
var sampler = new
BottomKSampler
<int, int>(4, 0, 0, BottomKUnseenWeightMode.RarestSeen, 42);
160
var sampler = new
BottomKSampler
<int, int>(capacity, 0, 0, BottomKUnseenWeightMode.RarestSeen, seed);
189
var sampler = new
BottomKSampler
<int, int>(32, 0, 0, BottomKUnseenWeightMode.RarestSeen, seed);
212
var sampler = new
BottomKSampler
<int, int>(
240
var sampler = new
BottomKSampler
<int, int>(
261
var sampler = new
BottomKSampler
<int, int>(