Portworx integration with Prometheus

This document presents the non-Kubernetes method of monitoring your Portworx cluster with Prometheus. Please refer to the Prometheus and Grafana page if you are running Portworx on Kubernetes.

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 px node

Add your px node as a target in Prometheus config file:

Prometheus Config File

In the example above, our node has IP address of, so Prometheus is watching 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.

Portworx Metrics in Prometheus

You can now build graphs:

Building a Graph with Prometheus


A curl request on port 9001 also shows the stats:

Curl Request on 9001

For information on the available Portworx metrics, refer to the Portworx metrics for monitoring reference.

Last edited: Tuesday, Jan 26, 2021