Skip to content

NLog Target support ConnectionString with isolated TelemetryClient #1013

NLog Target support ConnectionString with isolated TelemetryClient

NLog Target support ConnectionString with isolated TelemetryClient #1013

Triggered via pull request August 13, 2024 20:22
Status Success
Total duration 2m 43s
Artifacts

redfield-sanity-check.yml

on: pull_request
Matrix: build-test-REDFIELD
Fit to window
Zoom out
Zoom in

Annotations

40 warnings
build-test-REDFIELD (ubuntu-latest, net8.0): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/Endpoints/EndpointMetaAttribute.cs#L10
Avoid unsealed attributes (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1813)
build-test-REDFIELD (ubuntu-latest, net8.0): BASE/src/Microsoft.ApplicationInsights/TelemetryClient.cs#L284
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-REDFIELD (ubuntu-latest, net8.0): BASE/src/Microsoft.ApplicationInsights/TelemetryClient.cs#L313
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-REDFIELD (ubuntu-latest, net8.0): BASE/src/Microsoft.ApplicationInsights/DataContracts/PerformanceCounterTelemetry.cs#L180
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
build-test-REDFIELD (ubuntu-latest, net8.0): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/BroadcastProcessor.cs#L26
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
build-test-REDFIELD (ubuntu-latest, net8.0): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/BroadcastProcessor.cs#L35
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
build-test-REDFIELD (ubuntu-latest, net8.0): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L54
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-REDFIELD (ubuntu-latest, net8.0): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L172
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
build-test-REDFIELD (ubuntu-latest, net8.0): BASE/src/Microsoft.ApplicationInsights/Metrics/MetricsCollection.cs#L94
In member bool MetricsCollection.Contains(Metric metric), change parameter name metric to item in order to match the identifier as it has been declared in bool ICollection<Metric>.Contains(Metric item) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
build-test-REDFIELD (ubuntu-latest, net8.0): BASE/src/Microsoft.ApplicationInsights/Metrics/MetricsCollection.cs#L135
In member bool MetricsCollection.Remove(Metric metric), change parameter name metric to item in order to match the identifier as it has been declared in bool ICollection<Metric>.Remove(Metric item) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
build-test-REDFIELD (ubuntu-latest, net6.0): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/Endpoints/EndpointMetaAttribute.cs#L10
Avoid unsealed attributes (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1813)
build-test-REDFIELD (ubuntu-latest, net6.0): BASE/src/Microsoft.ApplicationInsights/TelemetryClient.cs#L313
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-REDFIELD (ubuntu-latest, net6.0): BASE/src/Microsoft.ApplicationInsights/TelemetryClient.cs#L284
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-REDFIELD (ubuntu-latest, net6.0): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/BroadcastProcessor.cs#L26
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
build-test-REDFIELD (ubuntu-latest, net6.0): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/BroadcastProcessor.cs#L35
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
build-test-REDFIELD (ubuntu-latest, net6.0): BASE/src/Microsoft.ApplicationInsights/DataContracts/PerformanceCounterTelemetry.cs#L180
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
build-test-REDFIELD (ubuntu-latest, net6.0): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L54
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-REDFIELD (ubuntu-latest, net6.0): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L172
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
build-test-REDFIELD (ubuntu-latest, net6.0): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L390
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-REDFIELD (ubuntu-latest, net6.0): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L489
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-REDFIELD (ubuntu-latest, net7.0): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/Endpoints/EndpointMetaAttribute.cs#L10
Avoid unsealed attributes (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1813)
build-test-REDFIELD (ubuntu-latest, net7.0): BASE/src/Microsoft.ApplicationInsights/TelemetryClient.cs#L284
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-REDFIELD (ubuntu-latest, net7.0): BASE/src/Microsoft.ApplicationInsights/TelemetryClient.cs#L313
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-REDFIELD (ubuntu-latest, net7.0): BASE/src/Microsoft.ApplicationInsights/DataContracts/PerformanceCounterTelemetry.cs#L180
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
build-test-REDFIELD (ubuntu-latest, net7.0): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L54
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-REDFIELD (ubuntu-latest, net7.0): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L172
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
build-test-REDFIELD (ubuntu-latest, net7.0): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L390
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-REDFIELD (ubuntu-latest, net7.0): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L503
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-REDFIELD (ubuntu-latest, net7.0): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L489
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-REDFIELD (ubuntu-latest, net7.0): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L492
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-REDFIELD (ubuntu-latest, netcoreapp3.1): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/Endpoints/EndpointMetaAttribute.cs#L10
Avoid unsealed attributes (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1813)
build-test-REDFIELD (ubuntu-latest, netcoreapp3.1): BASE/src/Microsoft.ApplicationInsights/TelemetryClient.cs#L284
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-REDFIELD (ubuntu-latest, netcoreapp3.1): BASE/src/Microsoft.ApplicationInsights/TelemetryClient.cs#L313
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-REDFIELD (ubuntu-latest, netcoreapp3.1): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/BroadcastProcessor.cs#L26
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
build-test-REDFIELD (ubuntu-latest, netcoreapp3.1): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/BroadcastProcessor.cs#L35
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
build-test-REDFIELD (ubuntu-latest, netcoreapp3.1): BASE/src/Microsoft.ApplicationInsights/Metrics/MetricsCollection.cs#L94
In member bool MetricsCollection.Contains(Metric metric), change parameter name metric to item in order to match the identifier as it has been declared in bool ICollection<Metric>.Contains(Metric item) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
build-test-REDFIELD (ubuntu-latest, netcoreapp3.1): BASE/src/Microsoft.ApplicationInsights/Metrics/MetricsCollection.cs#L135
In member bool MetricsCollection.Remove(Metric metric), change parameter name metric to item in order to match the identifier as it has been declared in bool ICollection<Metric>.Remove(Metric item) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
build-test-REDFIELD (ubuntu-latest, netcoreapp3.1): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/Authentication/ReflectionCredentialEnvelope.cs#L121
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-REDFIELD (ubuntu-latest, netcoreapp3.1): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/Authentication/ReflectionCredentialEnvelope.cs#L128
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-REDFIELD (ubuntu-latest, netcoreapp3.1): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/Authentication/ReflectionCredentialEnvelope.cs#L132
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)