Not really crucial, but just out of curiousity and it would be interesting to see how flexible remix is made to integrate opentelemtry.
Of course, I assume some patching, but the point is how elegant patch we can find.
todo
[ ] trace request handler
at least it's possible to do from adapter entrypoint
Not really crucial, but just out of curiousity and it would be interesting to see how flexible remix is made to integrate opentelemtry. Of course, I assume some patching, but the point is how elegant patch we can find.
todo
makeLoader
utilscallRouteLoaderRR
andcallRouteActionRR
https://github.com/remix-run/remix/blob/ea7ab3adf1cc38a3ee40261f8d40d9b2535455ba/packages/remix-server-runtime/data.ts#L58-L59handleDataRequestRR/handleResourceRequestRR/handleDocumentRequestRR
route.id
as a span name instead of complete url pathname to reduce large cardinality due to dynamic route.HandleDocumentRequestFunction
(for example, some random 404 url still calls this handler?)