When using a axum fallback, the service OtelAxumService will record an empty http.path and only the method in otel.name.
The reason is that MatchedPath is empty since it doesn't have any pattern to match.
It's basically the same issue that was encountered with nested path in this previous issue: #54
Could we bring back the related fix : fe2cee7 ?
It could be configurable under a feature flag if needed.
The best would be for users to be able to record an handler that will extract the http route from Request as they want.
When using a axum fallback, the service
OtelAxumServicewill record an emptyhttp.pathand only the method inotel.name.The reason is that
MatchedPathis empty since it doesn't have any pattern to match.It's basically the same issue that was encountered with nested path in this previous issue: #54
Could we bring back the related fix : fe2cee7 ?
It could be configurable under a feature flag if needed.
The best would be for users to be able to record an handler that will extract the http route from Request as they want.