-
Notifications
You must be signed in to change notification settings - Fork 725
Description
Is there an existing issue for this?
- I have searched the existing issues
Is your feature request related to a problem? Please describe the problem.
#12538 fixes many parts of this. But it doesn't fix .WithHttpOtelCollector(). Browser apps need to use HTTP and can't use gRPC for OTEL. Aspire currently lacks OTEL support for client-side JS apps. This feature request would specifically address the gap so browser-based telemetry can be collected using HTTP endpoints rather than gRPC.
Describe the solution you'd like
Enable OpenTelemetry HTTP collector support for client-side JavaScript apps in Aspire. This requires ensuring that .WithHttpOtelCollector() is implemented and exposed correctly for JS apps that cannot use gRPC. Implementation should include dashboard and annotation updates for proper exposure and configuration.
Additional context
Referencing previous work in #12538, which improves many aspects for JS apps, but specifically leaves out OTEL HTTP support in browser environments. Required for browser-based telemetry and improved JS developer experience.