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: sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Internals/Diagnostics/AzureMonitorExporterEventSource.cs
[UnconditionalSuppressMessage("ReflectionAnalysis","IL2026:RequiresUnreferencedCode",Justification="Parameters to this method are primitive and are trimmer safe.")]
[Event(9,Message="{0} has been disposed.",Level=EventLevel.Informational)]
@@ -213,6 +215,7 @@ public void FailedToExtractActivityEvent(string activitySourceName, string activ
213
215
[Event(17,Message="Failed to extract Activity Event due to an exception. This telemetry item will be lost. ActivitySource: {0}. Activity: {1}. {2}",Level=EventLevel.Error)]
[UnconditionalSuppressMessage("ReflectionAnalysis","IL2026:RequiresUnreferencedCode",Justification="Parameters to this method are primitive and are trimmer safe.")]
216
219
[Event(18,Message="Maximum count of {0} Activity Links reached. Excess Links are dropped. ActivitySource: {1}. Activity: {2}.",Level=EventLevel.Warning)]
@@ -279,9 +282,11 @@ public void FailedToTransmitFromStorage(bool isAadEnabled, string instrumentatio
279
282
}
280
283
}
281
284
285
+
[UnconditionalSuppressMessage("ReflectionAnalysis","IL2026:RequiresUnreferencedCode",Justification="Parameters to this method are primitive and are trimmer safe.")]
282
286
[Event(25,Message="Failed to transmit from storage due to an exception. AAD Enabled: {0}. Instrumentation Key: {1}. {2}",Level=EventLevel.Error)]
[UnconditionalSuppressMessage("ReflectionAnalysis","IL2026:RequiresUnreferencedCode",Justification="Parameters to this method are primitive and are trimmer safe.")]
285
290
[Event(26,Message="Successfully transmitted a blob from storage. AAD Enabled: {0}. Instrumentation Key: {1}",Level=EventLevel.Verbose)]
@@ -327,6 +332,7 @@ public void TransmissionSuccess(TelemetryItemOrigin origin, bool isAadEnabled, s
327
332
}
328
333
}
329
334
335
+
[UnconditionalSuppressMessage("ReflectionAnalysis","IL2026:RequiresUnreferencedCode",Justification="Parameters to this method are primitive and are trimmer safe.")]
330
336
[Event(32,Message="Successfully transmitted a batch of telemetry Items. Origin: {0}. AAD: {1}. Instrumentation Key: {2}",Level=EventLevel.Verbose)]
[UnconditionalSuppressMessage("ReflectionAnalysis","IL2026:RequiresUnreferencedCode",Justification="Parameters to this method are primitive and are trimmer safe.")]
342
349
[Event(33,Message="Transmitter failed due to an exception. Origin: {0}. AAD: {1}. Instrumentation Key: {2}. {3}",Level=EventLevel.Error)]
[UnconditionalSuppressMessage("ReflectionAnalysis","IL2026:RequiresUnreferencedCode",Justification="Parameters to this method are primitive and are trimmer safe.")]
345
353
[Event(34,Message="Exporter encountered a transmission failure and will wait {0} milliseconds before transmitting again.",Level=EventLevel.Warning)]
@@ -372,6 +380,7 @@ public void PartialContentResponseInvalid(int totalTelemetryItems, TelemetryErro
372
380
}
373
381
}
374
382
383
+
[UnconditionalSuppressMessage("ReflectionAnalysis","IL2026:RequiresUnreferencedCode",Justification="Parameters to this method are primitive and are trimmer safe.")]
375
384
[Event(38,Message="Received a partial success from ingestion that does not match telemetry that was sent. Total telemetry items sent: {0}. Error Index: {1}. Error StatusCode: {2}. Error Message: {3}",Level=EventLevel.Warning)]
[UnconditionalSuppressMessage("ReflectionAnalysis","IL2026:RequiresUnreferencedCode",Justification="We will handle the null condition and call ToString() instead.")]
0 commit comments