fullstackhero / dotnet-starter-kit

Production Grade Cloud-Ready .NET 8 Starter Kit (Web API + Blazor Client) with Multitenancy Support, and Clean/Modular Architecture that saves roughly 200+ Development Hours! All Batteries Included.
https://fullstackhero.net/dotnet-webapi-boilerplate/
MIT License
5.04k stars 1.5k forks source link

[v2] added opentelemetry metrics #963

Closed wtmaxim closed 1 month ago

iammukeshm commented 1 month ago

@wtmaxim This PR has issues i guess. I was not able to get any success locally. Had to rewrite this code, and add in OTEL exporter instead of Prometheus export. It seems to be working now. Can you maybe test this as well? It's merged to V2. Try to run the docker compose within the /compose folder. For now i have added only metrics. For traces, planning to add Jaegar.

wtmaxim commented 1 month ago

@iammukeshm Oh, I'm sorry. I did start Docker and everything was working perfectly. I will be even more careful in the future

iammukeshm commented 1 month ago

@wtmaxim you were able to see the metrics coming into prometheus 9090? I was not able to, that's why had to change a couple of things.