OpenTelemetry
Use OpenTelemetry to trace performance of your Ucommerce project
OpenTelemetry has become the industry standard for tracing and metrics. Ucommerce comes with support for OpenTelemetry out of the box, and includes tracing for all pipelines.
To enable OpenTelemetry, see the OpenTelemetry documentation. To add the Ucommerce pipeline tracing, add ucommerce.web.infrastructure.pipelines
as a source. See example below:
Leveraging OpenTelemetry when developing locally is easy using .NET Aspire as it gives you a nice UI to monitor all ressources. For production, use Azure Application Insights or similar.
Last updated
Was this helpful?