I'm sure I've gotten multiple things wrong here. Either flat out wrong, anti-patterns or just sub-optimal. I'm new to prometheus, grafana and mtail...so please feel free to share corrections/suggestions.
There are a handful of custom nginx stats exporters.
Some are tying into internal nginx stats like the official nginx exporter: nginx-prometheus-exporter