https://github.com/aimenux/opentelemetrywebapidemo
Using OpenTelemetry with webapi applications
https://github.com/aimenux/opentelemetrywebapidemo
docker docker-compose entity-framework-core-inmemory net60 open-telemetry vs22 webapi zipkin
Last synced: about 2 months ago
JSON representation
Using OpenTelemetry with webapi applications
- Host: GitHub
- URL: https://github.com/aimenux/opentelemetrywebapidemo
- Owner: aimenux
- Created: 2022-01-20T22:07:46.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-20T22:34:24.000Z (over 3 years ago)
- Last Synced: 2025-04-06T06:44:19.736Z (about 2 months ago)
- Topics: docker, docker-compose, entity-framework-core-inmemory, net60, open-telemetry, vs22, webapi, zipkin
- Language: C#
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://github.com/aimenux/OpenTelemetryWebApiDemo/actions/workflows/ci.yml)
# OpenTelemetryWebApiDemo
```
Using OpenTelemetry with webapi applications
```In this demo, i m using [OpenTelemetry](https://devblogs.microsoft.com/dotnet/opentelemetry-net-reaches-v1-0/) in order to build instrumentation within a webapi application.
>
>
:rocket: To run code, follow these steps :
>
> - Type `dotnet dev-certs https --clean` to clean local certificates
>
> - Type `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](http://localhost:9411/zipkin) and [swagger](https://localhost/swagger/index.html) in your browser
>
> - Type `docker compose down`>
**`References`** :
>
> :zap: [Hosting ASP.NET Core images with Docker Compose over HTTPS](https://docs.microsoft.com/en-us/aspnet/core/security/docker-compose-https)
>
> :zap: [How to run ASP.NET Core 3.1 over HTTPS in Docker using Linux Containers](https://tomssl.com/how-to-run-asp-net-core-3-1-over-https-in-docker-using-linux-containers/)
>
**`Tools`** : vs22, net 6.0, ef, docker, opentelemetry, zipkin