Fix server monitoring routes setup
Related tasks
Context
Monitoring providers automatically add a metrics route when setting a server router. The route set in place was not getting any matches. This was because it was checking against a complete path, instead of a prefix.
Change
The router will now check against a Prefix instead of a complete path.
Tests were added to check that the Prometheus monitoring provider is properly setting a route and that the route is returning the expected metrics.
Other information
Additional documentation
Edited by Alejo Carballude