.. _minio-grafana:
===================================
Monitor a MinIO Server with Grafana
===================================
.. default-domain:: minio
.. contents:: Table of Contents
:local:
:depth: 2
`Grafana `__ allows you to query, visualize, alert on and understand your metrics no matter where they are stored.
Prerequisites
-------------
- An existing :prometheus-docs:`Prometheus deployment ` with backing :prometheus-docs:`Alert Manager `
- An existing MinIO deployment with network access to the Prometheus deployment
- `Grafana installed `__
.. admonition:: Grafana dashboards use metrics version 2
:class: note
The MinIO Grafana dashboards use :ref:`metrics version 2 `.
For more about metrics API versions, see :ref:`Metrics and alerts. `
Version 3 metrics require creating your own dashboard.
For more information about dashboards, see `the Grafana documentation. `__
MinIO Grafana Dashboard
-----------------------
MinIO provides several official Grafana Dashboards you can download from the Grafana Dashboard portal.
1. :ref:`MinIO Server metrics `
2. :ref:`MinIO Bucket metrics `
3. :ref:`MinIO Replication metrics `
To track changes to the Grafana dashboard, introspect the JSON files for the `server `__ or `bucket `__ dashboards in the MinIO Server GitHub repository.
.. _minio-server-grafana-metrics:
MinIO Server Metrics Dashboard
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Visualize MinIO metrics with the official MinIO Grafana dashboard for the MinIO Server available on the `Grafana dashboard portal `__.
MinIO provides a Grafana Dashboard for MinIO Server metrics.
For specifics on the dashboard's configuration, see the `JSON file on GitHub `__.
For MinIO Deployments running with :ref:`Server-Side Encryption ` (SSE-KMS or SSE-S3), the dashboard includes metrics for the KMS.
These metrics include status, request error rates, and request success rates.
.. image:: /images/grafana-minio.png
:width: 600px
:alt: A sample of the MinIO Grafana dashboard showing many different captured metrics on a MinIO Server.
:align: center
.. _minio-buckets-grafana-metrics:
MinIO Bucket Metrics Dashboard
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Visualize MinIO bucket metrics with the official MinIO Grafana dashboard for buckets available on the `Grafana dashboard portal `__.
Bucket metrics can be viewed in the Grafana dashboard using the `bucket JSON file on GitHub `__.
.. image:: /images/grafana-bucket.png
:width: 600px
:alt: A sample of the MinIO Grafana dashboard showing many different captured metrics for MinIO buckets.
:align: center
.. _minio-node-grafana-metrics:
MinIO Node Metrics Dashboard
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Node metrics can be viewed in the Grafana dashboard using the `node JSON file on GitHub `__.
.. image:: /images/grafana-node.png
:width: 600px
:alt: A sample of the MinIO Grafana dashboard showing many different captured metrics for MinIO nodes.
:align: center
.. _minio-replication-grafana-metrics:
MinIO Replication Metrics Dashboard
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Visualize MinIO bucket metrics with the official MinIO Grafana dashboard for replication available on the `Grafana dashboard portal `__.
Cluster replication metrics can be viewed in the Grafana dashboard using the `cluster replication JSON file on GitHub `__.
.. image:: /images/grafana-replication.png
:width: 600px
:alt: A sample of the MinIO Grafana dashboard showing many different captured metrics for replication.
:align: center