feat: add support for KafkaDependentProducer instrumentation (#34) #18
Annotations
1 error and 12 warnings
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
src/Confluent.Kafka.Extensions.Diagnostics/ProducerBuilderExtensions.cs#L14
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
src/Confluent.Kafka.Extensions.Diagnostics/ConsumerExtensions.cs#L14
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
src/Confluent.Kafka.Extensions.Diagnostics/DependentProducerBuilderExtensions.cs#L15
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
src/Confluent.Kafka.Extensions.Diagnostics/ConsumerExtensions.cs#L15
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
src/Confluent.Kafka.Extensions.Diagnostics/ActivityDiagnosticsHelper.cs#L47
Modify 'StartProduceActivity' to catch a more specific allowed exception type, or rethrow the exception (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1031)
|
src/Confluent.Kafka.Extensions.Diagnostics/ConsumerExtensions.cs#L39
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
src/Confluent.Kafka.Extensions.Diagnostics/ConsumerExtensions.cs#L40
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
src/Confluent.Kafka.Extensions.Diagnostics/ConsumerExtensions.cs#L62
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
src/Confluent.Kafka.Extensions.Diagnostics/ConsumerExtensions.cs#L63
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
src/Confluent.Kafka.Extensions.Diagnostics/ActivityDiagnosticsHelper.cs#L69
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'ActivityDiagnosticsHelper.UpdateActivityTags<TKey, TValue>(DeliveryResult<TKey, TValue>, Activity)' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "nuget-packages", "nuget-symbol-packages".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
This job failed
Loading