I wrote something out of our need for better monitoring/metrics for Nginx here: https://luameter.com/
And quite a few people are using it for per-vhost metrics use case just like you said. Also if you prefer something simpler and open source I also wrote this https://github.com/lebinh/ngxtop