How to monitor MinIO server with Prometheus Slack

Prometheus is a cloud-native monitoring platform, built originally at SoundCloud. Prometheus offers a multi-dimensional data model with time series data identified by metric name and key/value pairs. The data collection happens via a pull model over HTTP. Targets to pull data are discovered via service discovery or static configuration.

MinIO exports Prometheus compatible data as an unauthorized endpoint at /minio/prometheus/metrics. Users looking to monitor their MinIO instances can point Prometheus configuration to scrape data from this endpoint.

This document explains how to setup Prometheus and configure it to scrape data from MinIO servers.


MinIO server release RELEASE.2018-05-11T00-29-24Z or later running. To get started with MinIO, refer MinIO QuickStart Document. Follow below steps to get started with MinIO monitoring using Prometheus.

1. Download Prometheus

Download the latest release of Prometheus for your platform, then extract it

tar xvfz prometheus-*.tar.gz
cd prometheus-*

Prometheus server is a single binary called prometheus (or prometheus.exe on Microsoft Windows). Run the binary and pass --help flag to see available options

./prometheus --help
usage: prometheus [<flags>]

The Prometheus monitoring server

. . .

Refer Prometheus documentation for more details.

2. Prometheus configuration

Prometheus configuration is written in YAML. Add MinIO server details to the config file under scrape_configs section

  - job_name: minio
    metrics_path: /minio/prometheus/metrics
      - targets: ['localhost:9000']

Note that localhost:9000 is MinIO server instance address, you need to change it to appropriate value in your configuration file.

3. Start Prometheus

Start Prometheus by running

./prometheus --config.file=prometheus.yml

Here prometheus.yml is the name of configuration file. You can now see MinIO metrics in Prometheus dashboard. By default Prometheus dashboard is accessible at http://localhost:9090.

List of MinIO metric exposed

MinIO server exposes the following metrics on /minio/prometheus/metrics endpoint. All of these can be accessed via Prometheus dashboard. The full list of exposed metrics along with their definition is available in the demo server at

If you're running MinIO gateway, disk/storage information is not exposed. Only following metrics are available

For MinIO instances with caching enabled, these additional metrics are available.