Closed rafamarqqqs closed 2 years ago
Actually, it seems this is only happening for 404 responses... Is there anything I'm missing?
So I guess it's all right, the route I was talking about does not exist hence the 404 and the complete URL description. I'm adding the invalidRouteGroup
option to solve this.
I'm trying to use route patterns for monitoring (as it's a Prometheus metrics labels best practice) but I cannot find an option to use the route pattern instead of its values. This is an example of what I'm trying to achieve:
I'd like to use the
url
defined when registering a new fastify route, e.g:These are the versions I'm using:
Is there any way I can configure this?