Based on PushProx, but trying to do it more simply and flexibly.
No need to deploy a client, no need to open an HTTP port waiting to be scraped in your application.
You just need to add two lines to get it to work.
Github: GitHub - LawyZheng/promproxy: Go libarary to allow Prometheus to scrape through NAT etc.