What if you remove Route()
from c.Route().Path
and just use c.Path()
?
It might capture the actual request path and method. We can ensure accurate method names and prevent path concatenation. If you directly pass the method and path from the context, you'll capture the exact method, either GET or POST, and the correct individual paths in your metrics.