You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: agent/agent-tooling/src/main/java/com/microsoft/applicationinsights/agent/internal/classicsdk/BytecodeUtilImpl.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -506,9 +506,9 @@ private static void track(
506
506
}
507
507
508
508
if (isPartOfTheCurrentTrace && applySampling && spaninstanceofReadableSpan) {
Copy file name to clipboardExpand all lines: agent/agent-tooling/src/main/java/com/microsoft/applicationinsights/agent/internal/configuration/Configuration.java
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -159,13 +159,13 @@ public static class Role {
159
159
160
160
publicstaticclassSampling {
161
161
162
-
// fixed percentage of requests
163
-
@NullablepublicDoublepercentage;
164
-
165
162
// default is 5 requests per second (set in ConfigurationBuilder if neither percentage nor
166
163
// requestsPerSecond was configured)
167
164
@NullablepublicDoublerequestsPerSecond;
168
165
166
+
// fixed percentage of requests
167
+
@NullablepublicDoublepercentage;
168
+
169
169
// this config option only existed in one BETA release (3.4.0-BETA)
170
170
@Deprecated@NullablepublicDoublelimitPerSecond;
171
171
@@ -202,6 +202,8 @@ public static class SamplingPreview {
202
202
// future goal: make parentBased sampling the default if item count is received via tracestate
Copy file name to clipboardExpand all lines: agent/agent-tooling/src/main/java/com/microsoft/applicationinsights/agent/internal/configuration/ConfigurationBuilder.java
Copy file name to clipboardExpand all lines: agent/agent-tooling/src/main/java/com/microsoft/applicationinsights/agent/internal/exporter/AgentLogExporter.java
+1-7Lines changed: 1 addition & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -105,13 +105,7 @@ public CompletableResultCode export(Collection<LogRecordData> logs) {
Copy file name to clipboardExpand all lines: agent/agent-tooling/src/main/java/com/microsoft/applicationinsights/agent/internal/init/AzureMonitorLogProcessor.java
Copy file name to clipboardExpand all lines: agent/agent-tooling/src/main/java/com/microsoft/applicationinsights/agent/internal/sampling/AiSampler.java
+34-18Lines changed: 34 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -27,24 +27,34 @@
27
27
// * adds item count to span attribute if it is sampled
0 commit comments