NLog Target support ConnectionString with isolated TelemetryClient #760
Annotations
12 warnings
|
|
|
|
BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/Endpoints/EndpointMetaAttribute.cs#L10
Avoid unsealed attributes (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1813)
|
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)
|
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)
|
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)
|
BASE/src/Microsoft.ApplicationInsights/Extensibility/TelemetryConfiguration.cs#L125
'active == null' is always 'true'. Remove or refactor the condition(s) to avoid dead code. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508)
|
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)
|
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)
|
BASE/src/Microsoft.ApplicationInsights/Extensibility/OperationCorrelationTelemetryInitializer.cs#L23
In member void OperationCorrelationTelemetryInitializer.Initialize(ITelemetry telemetryItem), change parameter name telemetryItem to telemetry in order to match the identifier as it has been declared in void ITelemetryInitializer.Initialize(ITelemetry telemetry) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
|
This job succeeded
Loading