Skip to content

Commit

Permalink
consider 2.x bridge
Browse files Browse the repository at this point in the history
  • Loading branch information
trask committed Mar 6, 2024
1 parent f9431f5 commit b758984
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,9 @@ private static void track(
}
// sampled in

telemetryBuilder.setSampleRate(samplingPercentage);
if (samplingPercentage != 100) {
telemetryBuilder.setSampleRate(samplingPercentage);
}
}

// this is not null because sdk instrumentation is not added until TelemetryClient.setActive()
Expand Down

0 comments on commit b758984

Please sign in to comment.