Accounting Service

This service calculates the total amount of sold products. This is only mocked and received orders are printed out.

Accounting Service

Auto-instrumentation

This service relies on the OpenTelemetry .NET Automatic Instrumentation to automatically instrument libraries such as Kafka, and to configure the OpenTelemetry SDK. The instrumentation is added via Nuget package OpenTelemetry.AutoInstrumentation and activated using environment variables that are sourced from instrument.sh. Using this installation approach also guarantees that all instrumentation dependencies are properly aligned with the application.

Publishing

Add --use-current-runtime to the dotnet publish command to distribute appropriate native runtime components.

dotnet publish "./AccountingService.csproj" --use-current-runtime -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false