Scraping NSX-T Metrics with Python for Prometheus

When installing the NSX Application Platform you probably also want to scrape the metrics it provides via its REST API.

This simple python script spins up a web server and periodically scrapes the metrics, while consuming a maximum of 30 API calls per second. This is by no means feature complete, but a great starting point to develop on top of it.

Just add your connection details and give it a try!

Download the script from GitHub here: https://github.com/lukasrueckerl/nsxt-metrics-exporter