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.

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.