Closed iammukeshm closed 2 months ago
Hi! @iammukeshm I'm working on this bug. I've a beta version, added aspnet dashboards, node exporter, jaeger, loki, etc to the current OTPL implementation.. When I finish, I will make a PR from this fork: https://github.com/maxiar/dotnet-starter-kit/tree/open_telemetric_and_docker_fixes
Now, It's working fine:
But... I see that in the current implementaion, only the prometheous metrics are working... no logs or traces are exposed using OTPL exporter. I checking the otel-collector logs and no erros was found.. It seems like the webapi does not publish traces or logs, even though it is enabled by setting the environment variable: OTEL_EXPORTER_OTLP_ENDPOINT: http://otel-collector:4317 I browse the source code, and all appears fine. Also I check the Aspire Dashboard algo but no log or traces.
Any Idea? Did you see logs and traces?
UPDATED 07/08/24: Forgot it, I already fixed in the PR. Some fixes was added.
Thanks!
this bug can be closed :)
Describe the bug OTEL Works fine when the .NET API is running directly on host, and the OTEL related instances (grafana, prometheus, node exporter, otel) are on docker containers. But when I run the .NET API also in Docker containers, no metrics are exported.
To Reproduce Steps to reproduce the behavior:
docker compose up -d