I have 2 C# apps that send messages between each other. The apps are working fine. I have tried to add Serilog with tracing (trace ID) and Serilog.Enrich.Exception. And I have tired to add OpenTelemetry traceability and custom metrics. All of this is working in the console log - I can see Serilog logs on the console. I can see my custom meters on the console. And I can see OpenTelemetry traces' instrumentation on the console. And the entire system, both applications, the Aspire Dashboard, etc, all currently starts with "docker compose up" That is all working currently.
I am trying to send all the logs, metrics and traces to Aspire Dashboard's docker container image mcr.microsoft.com/dotnet/aspire-dashboard:latest. However, while I see all the logs, metrics, and traces on the console, none of that shows up on the Aspire Dashboard.
This job is to get logs (including trace ID and Serilog.Enrich.Exception), and metrics (including my custom metrics), and traces showing on the Aspire Dashboard. And again, all of these are seen currently working on the console. Hopefully with minimal code changes.
Verification is structured logs from Serilog are showing on http://localhost:18888/structuredlogs
and traces (the logs joined by trace ID) are showing on http://localhost:18888/traces and metrics, including my custom metrics, are showing on http://localhost:18888/metrics. And that this continues to be started from scratch by "docker compose up"
I can share the zip file with you, if you want to see the full source code before you take the job.