Is there some way in Phoenix to see what path was used to match a route?
This would be very useful for metrics and logging (and probably other things). We would like to have the match path as a label in prometheus and as a log field so we can aggregate on that in kibana.
In Plug this was added a while ago in this PR https://github.com/elixir-plug/plug/pull/630
I’ve check that there are no equivalent field in
conn.private from Phoenix, but is it accessible in some other way?