Aspire Dashboard Standalone with Angular SPA #6375
-
Hey there, I try to push OpenTelemetry traces to a local Aspire Dashboard running as a Docker container. I followed the docs provided here: https://learn.microsoft.com/en-us/dotnet/aspire/fundamentals/dashboard/enable-browser-telemetry?tabs=bash I started my Aspire dashboard with In my Angular app I created an
in my
Unfortunately I'm not able to publish traces to Aspire dashboard. In my browser console log I get the following error:
Even after specifying the CORS policy in my docker run command:
it does not work but the error is slightly different:
Does anyone have an idea what must be done to get it work? Thanks to everyone in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
-
I have a branch that does this in the |
Beta Was this translation helpful? Give feedback.
I have a branch that does this in the
dotnet/aspire-samples
, I'm not sure if I pushed it up yet - I'll follow up with how to do that. Related to dotnet/aspire-samples#409