Support Receiving OTLP/JSON (over HTTP) in the Aspire Dashboard #6947
Labels
area-app-model
Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
area-telemetry
untriaged
New issue has not been triaged
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
I was trying to use the Aspire Dashboard locally to visualize traces coming out of a Cloudflare Worker (an alternative JS server runtime), but it wasn't working as I eventually realized for 2 reasons
gRPC isn't supported at all from Cloudflare Workers afaik (since they're more browser-like than Node.js-like in this regard I think) and there's an existing issue for HTTP/protobuf support (evanderkoogh/otel-cf-workers#68)
I'm assuming this is basically a non-issue for anyone in this kind of situation since you can just run an OTEL collector in the middle and have it translate to gRPC/protobuf that gets sent to the Aspire Dashboard, but I figured I'd just write it up in case anyone hits a similar problem (I don't think I personally would have figured this out alone had I not been a little aware of the whole JSON vs binary stuff)
Describe the solution you'd like
Maybe just document the lack of OTLP/JSON support somewhere? (though I might've missed it when looking through the docs trying to figure this out)
Idk if the actual feature really needs to be implemented or not.
Additional context
Not very Aspire-like as I gather but here's a docker-compose.yaml file and an otel-config.yaml file to do the workaround I mentioned above
*I typo-ed the path to the collector config file initially hence all of the extra troubleshooting stuff. None of that is actually needed
The text was updated successfully, but these errors were encountered: