Using OpenTelemetry with webapi applications
In this demo, i m using OpenTelemetry in order to build instrumentation within a webapi application.
🚀 To run code, follow these steps :
Type
dotnet dev-certs https --clean
to clean local certificatesType
dotnet dev-certs https --trust -ep $env:USERPROFILE\.aspnet\https\aspnetapp.pfx -p LOCALDEVPASS
Type
docker-compose -f "docker-compose.debug.yml" up -d
Open zipkin url and swagger in your browser
Type
docker compose down
References
:
⚡ Hosting ASP.NET Core images with Docker Compose over HTTPS
⚡ How to run ASP.NET Core 3.1 over HTTPS in Docker using Linux Containers
Tools
: vs22, net 6.0, ef, docker, opentelemetry, zipkin