hi there
we have been using sanic in production for a few years and its great.
one thing we need right now is the ability to run certain endpoints on certain ports.
The need is this:
we have some endpoints: metrics, apidocs, etc that need to be private, that means not on the port 80 that our load balancer exposes to the world.
Currently we use a “side-car” process for that which means we can only have one sanic worker as it needs to embed the subprocess that itself exposes the port 9999 to our internal networks containing mentioned routes.
it would be great if we could mark the endpoints to be served from a different port and then not have to worry about the maintenance of our subprocess PLUS we could much easier share state with regards to metrics
whats your thoughts?
btw we use prometheus