We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1dca54f commit c516a63Copy full SHA for c516a63
1 file changed
sdk/feature-management-applicationinsights-browser/src/telemetry.ts
@@ -34,9 +34,7 @@ export function createTelemetryPublisher(client: ApplicationInsights): (event: E
34
let percentileAllocationPercentage = 0;
35
if (event.variant !== undefined && event.feature.allocation !== undefined && event.feature.allocation.percentile !== undefined) {
36
for (const percentile of event.feature.allocation.percentile) {
37
- if (percentile.variant === event.variant.name) {
38
- percentileAllocationPercentage += percentile.to - percentile.from;
39
- }
+ percentileAllocationPercentage += percentile.to - percentile.from;
40
}
41
42
eventProperties["PercentileAllocationPercentage"] = (100 - percentileAllocationPercentage).toString();
0 commit comments