Portworx integration with Prometheus
Portworx storage and network stats can easily be integrated with prometheus or similar applications. These stats are exported at port 9001; your application can poll http://<IP_ADDRESS>:9001/metrics to get their runtime values.
Integration with Prometheus
Step 1: Configuring Prometheus to watch a Portworx node
Add your Portworx node as a target in Prometheus config file:
In the example above, our node has IP address of 18.104.22.168, so Prometheus is watching 22.214.171.124:9001 as its target. This can be any node in the Portworx cluster.
Step 2: Portworx metrics to watch and building graphs with Prometheus
Once Prometheus starts watching your Portworx node, you will be able to see new Portworx related metrics added to Prometheus.
You can now build graphs:
NOTE: You can also see the stats by running the following curl command:
For information on the available Portworx metrics, refer to the Portworx metrics for monitoring reference.