This sample is the .NET implementation of the official Azure Voting App. This sample creates a multi-container application in a Kubernetes cluster like the original one.
The application interface is built using ASP.NET Core Blazor Server. The data component uses Redis.
This sample also includes the following features::
- Instrumented to produce OpenTelemetry traces and export the traces to the console.
- Request to GET
/traced-exception
endpoint will throw an exception. It shows how unhandled exceptions are logged in the active OpenTelemtry span. - Instrumented to emit built-in .NET metrics and custom metrics with prometheus-net. The metrics are available on the
/metrics
endpoint in the OpenMetrics format. - Deployment with Helm, Kubernetes manifest, or Docker compose.