Add Grafana dashboard (#10000)

master
Nitish Tiwari 4 years ago committed by GitHub
parent c850905e43
commit 30c251efd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      docs/metrics/prometheus/README.md
  2. 1361
      docs/metrics/prometheus/grafana/Minio-Overview-1594305200170.json
  3. 16
      docs/metrics/prometheus/grafana/README.md
  4. BIN
      docs/metrics/prometheus/grafana/grafana-minio.png

@ -16,6 +16,7 @@ This document explains how to setup Prometheus and configure it to scrape data f
- [3.2 Public Prometheus config](#32-public-prometheus-config) - [3.2 Public Prometheus config](#32-public-prometheus-config)
- [4. Update `scrape_configs` section in prometheus.yml](#4-update-scrapeconfigs-section-in-prometheusyml) - [4. Update `scrape_configs` section in prometheus.yml](#4-update-scrapeconfigs-section-in-prometheusyml)
- [5. Start Prometheus](#5-start-prometheus) - [5. Start Prometheus](#5-start-prometheus)
- [6. Configure Grafana](#6-configure-grafana)
- [List of metrics exposed by MinIO](#list-of-metrics-exposed-by-minio) - [List of metrics exposed by MinIO](#list-of-metrics-exposed-by-minio)
## Prerequisites ## Prerequisites
@ -100,6 +101,10 @@ Start (or) Restart Prometheus service by running
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`. 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`.
### 6. Configure Grafana
After Prometheus is configured, you can use Grafana to visualize MinIO metrics. Refer the [document here to setup Grafana with MinIO metrics](./grafana/README.md).
## List of metrics exposed by MinIO ## List of metrics exposed by MinIO
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 https://play.min.io:9000/minio/prometheus/metrics 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 https://play.min.io:9000/minio/prometheus/metrics

@ -0,0 +1,16 @@
# How to monitor MinIO server with Grafana [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io)
[Grafana](https://grafana.com/) allows you to query, visualize, alert on and understand your metrics no matter where they are stored. Create, explore, and share dashboards with your team and foster a data driven culture.
This document explains how to setup Grafana, to visualize MinIO metrics.
## Prerequisites
- Prometheus and MinIO configured as explained in [document here](../README.md).
- Grafana installed as explained [here](https://grafana.com/grafana/download).
## MinIO Grafana Dashboard
To start visualizing MinIO metrics exposed by MinIO, you can use our Grafana dashboard. Import the dashboard by copying the `json` contents from the [file here](./Minio-Overview-1594305200170.json).
![Grafana](grafana-minio.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 KiB

Loading…
Cancel
Save