OneStopList

Gods and goddesses

Pure Storage Prometheus Exporter: Setup & Metrics

Updated November 23, 2026

Yes, Pure Storage provides a first-party Prometheus exporter called the Pure Storage Exporter (or pure-storage-exporter) that exposes FlashArray and FlashBlade metrics in the Prometheus format. It is maintained by Pure Storage and available on GitHub and as a Docker image, and it is the recommended way to monitor Pure arrays with Prometheus.

Background: Why a Dedicated Exporter?

Prometheus cannot natively query storage arrays; it relies on exporters that translate vendor-specific APIs into the text-based exposition format Prometheus scrapes. Pure Storage arrays expose a REST API (the Pure1 REST API for FlashArray and FlashBlade), but that API returns JSON, not Prometheus metrics. The Pure Storage Exporter bridges this gap by periodically calling the array’s API, collecting metrics such as volume space, array latency, IOPS, and hardware health, and then serving them on an HTTP endpoint (default port 9490) that Prometheus scrapes.

Before the official exporter existed, many users wrote custom scripts or used community exporters, but Pure’s official exporter is actively maintained, supports both FlashArray and FlashBlade, and is the safest choice for production monitoring.

How the Pure Storage Exporter Works

The exporter runs as a lightweight service (a binary or a Docker container) that connects to your Pure array using the array’s management IP and API token. It uses the array’s REST API version 2.x (for FlashArray) and version 2.x (for FlashBlade). The exporter supports two modes:

  • Array mode: collects metrics from a single array (e.g., pure_fa_array_space, pure_fa_latency_usec_read).
  • Pure1 mode: uses the Pure1 cloud management platform to collect metrics from multiple arrays at once, using a Pure1 API token.

When you run the exporter, it immediately queries the array and then refreshes the metrics on a configurable interval (default every 30 seconds). Prometheus scrapes the exporter’s endpoint (e.g., /metrics) at its own scrape interval. The exporter also exposes some meta-metrics, such as pure_fa_info (array model and version) and pure_fa_system_space (total array space).

For FlashArray, key metrics include:

  • pure_fa_volume_space_bytes – volume used and provisioned space
  • pure_fa_latency_usec_read / write – average read/write latency in microseconds
  • pure_fa_iops_read / write – IOPS per volume or array
  • pure_fa_hw_component_status – health of controllers, shelves, and other hardware

For FlashBlade, similar metrics exist for file and object storage, such as pure_fb_bucket_space_bytes and pure_fb_array_performance_iops.

Setting Up the Exporter

Installation is straightforward. The exporter is distributed as a single binary (for Linux, Windows, macOS) or a Docker image (purestorage/pure-storage-exporter). You need:

  1. An API token for your FlashArray or FlashBlade (created in the array’s GUI or via CLI).
  2. The array’s management IP or hostname.
  3. Prometheus configured to scrape the exporter’s endpoint.

Example command for a FlashArray using environment variables:

PURE_ARRAY_IP=10.0.0.1 PURE_ARRAY_API_TOKEN=t-12345 ./pure-storage-exporter

Then add a scrape target in prometheus.yml:

scrape_configs:
  - job_name: 'pure_fa'
    static_configs:
      - targets: ['localhost:9490']

For Pure1 mode, you set PURE1_API_TOKEN and PURE1_ARRAY_IDS (comma-separated list of array IDs). The exporter then queries Pure1 for metrics, which is useful if you have many arrays or want to avoid direct network access to each array.

Choosing the Right Mode: Array vs Pure1

Your choice depends on your environment:

  • Single array or small fleet: Use array mode. It’s simpler, requires only one API token per array, and gives you real-time data with low latency.
  • Many arrays or hybrid FlashArray/FlashBlade: Use Pure1 mode. It centralizes authentication and reduces the number of exporter instances. However, Pure1 metrics are aggregated and may have a slight delay (minutes) compared to direct array queries.
  • Air-gapped or restricted networks: Array mode is often required because Pure1 requires outbound internet access.

You can also run multiple exporter instances—one per array—if you want high granularity and independent failure domains.

Common Problems and Troubleshooting

Users often encounter a few recurring issues:

  • Authentication errors: Ensure the API token has the correct permissions (typically read-only is sufficient). The exporter logs will show 401 Unauthorized if the token is invalid.
  • Metrics not appearing: Check that the exporter’s /metrics endpoint returns data by curling it. If it’s empty, the exporter may not have connected to the array—verify network connectivity and that the array’s API is reachable.
  • High cardinality: By default, the exporter exposes metrics per volume, which can create many time series. If you have thousands of volumes, this can impact Prometheus performance. Use the --collectors flag to disable unnecessary collectors (e.g., --collectors=volume,array).
  • Scrape timeouts: If the exporter takes too long to query the array (especially with many volumes), Prometheus may time out. Increase the scrape timeout in Prometheus or reduce the exporter’s refresh interval.

Comparison with Other Monitoring Options

Pure Storage also offers its own cloud monitoring service, Pure1, which provides dashboards, alerts, and AI-based recommendations. The Prometheus exporter complements Pure1 rather than replaces it: Pure1 is great for vendor-supported analytics, but Prometheus integrates with your existing alerting (Alertmanager) and Grafana dashboards. Other options include:

  • SNMP: Pure arrays support SNMP for basic hardware traps, but it lacks the detailed performance metrics the exporter provides.
  • REST API scripts: You can write your own collector, but you would have to maintain it and handle pagination, units, and timestamp conversions.
  • Community exporters: Some third-party exporters exist, but they may lag behind API changes or lack features.

The official exporter is generally the best balance of effort and functionality.

Costs and Performance Overhead

The exporter itself is open-source and free to use. The only “cost” is the load it places on the array’s management API. Each scrape triggers a set of API calls; the exporter is designed to be efficient, but if you set a very low refresh interval (e.g., 5 seconds), you may increase CPU usage on the array’s management controller. Pure recommends a refresh interval of 30 seconds or more for production. The exporter’s own resource usage is minimal—it typically uses less than 100 MB of RAM and negligible CPU, so it can run on a small VM or container.

Safety and Security Considerations

Because the exporter requires an API token, you must protect that token. Do not hardcode it in configuration files that are committed to source control. Use environment variables, secret management tools (like HashiCorp Vault), or Kubernetes secrets. Also, restrict network access to the exporter’s endpoint: only Prometheus servers should be able to reach it, and it should not be exposed to the public internet. The exporter does not expose any write capabilities—it only reads metrics—but an attacker with access to the API token could potentially read sensitive array information, so treat it as a credential.

When running the exporter in a container, run it as a non-root user and use a read-only filesystem if possible. The official Docker image is designed to be secure, but always keep it updated to the latest version to receive security patches.

Frequently Asked Questions

Does the Pure Storage Exporter work with FlashBlade?

Yes, the same exporter supports both FlashArray and FlashBlade. You set the array type via the PURE_ARRAY_TYPE environment variable (either fa for FlashArray or fb for FlashBlade). The metrics names differ slightly (e.g., pure_fb_ vs pure_fa_), but the setup is identical.

Can I monitor multiple arrays with one exporter instance?

Yes, but only in Pure1 mode. In array mode, each exporter instance connects to a single array. If you want to monitor multiple arrays without Pure1, you can run multiple exporter instances (one per array) and scrape them all in Prometheus, or use the Pure1 mode which supports multiple array IDs.

How do I get an API token for my Pure array?

For FlashArray, log into the array’s GUI, go to System > Users, select a user, and click “Create API Token”. For FlashBlade, go to Settings > Users, select a user, and create a token. The token is shown only once, so save it securely.

What is the default port and endpoint?

The exporter listens on port 9490 by default, and the metrics are served at the /metrics path. You can change the port with the --port flag.

Does the exporter support TLS or authentication for the metrics endpoint?

Yes, the exporter can serve metrics over HTTPS by specifying a certificate and key file. It also supports basic authentication via a configuration file. These are important if your Prometheus server is in a different network segment.

Why are some metrics missing from my Grafana dashboard?

This usually happens because the dashboard was built for a different exporter version or because the array type is different (FA vs FB). Check the exporter’s README for the list of metrics and ensure you have the correct collectors enabled. Also, some metrics are only available if the array’s API version supports them—upgrade your array’s Purity software if needed.

Related

How pages are sourced and corrected: Sources and editorial policy.