How to monitor Minio server with Prometheus

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.

Prerequisites

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.