From 579540ae5c256955ddd1d18747b01a2da609f33f Mon Sep 17 00:00:00 2001 From: Daryl White <53910321+djwfyi@users.noreply.github.com> Date: Wed, 19 Apr 2023 18:30:10 -0500 Subject: [PATCH] Updates for MinIO RELEASE.2023-04-13T03-08-07Z (#824) - Adds example output to mc admin info command - Adds new metric Closes #814 --- .../monitoring/metrics-and-alerts.rst | 6 ++++++ .../minio-mc-admin/mc-admin-info.rst | 20 +++++++++++++++++-- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/source/operations/monitoring/metrics-and-alerts.rst b/source/operations/monitoring/metrics-and-alerts.rst index a4e4ce5f..2ef7aaeb 100644 --- a/source/operations/monitoring/metrics-and-alerts.rst +++ b/source/operations/monitoring/metrics-and-alerts.rst @@ -107,6 +107,12 @@ Object and Bucket Metrics Total bucket quota size in bytes. You can identify the bucket using the ``{ bucket="STRING" }`` label. +.. metric:: minio_bucket_usage_version_total + + Total number of object versions contained in a bucket. + You can identify the bucket using the ``{ bucket="STRING" }`` label. + + Replication Metrics ~~~~~~~~~~~~~~~~~~~ diff --git a/source/reference/minio-mc-admin/mc-admin-info.rst b/source/reference/minio-mc-admin/mc-admin-info.rst index 13ec0492..59d0460e 100644 --- a/source/reference/minio-mc-admin/mc-admin-info.rst +++ b/source/reference/minio-mc-admin/mc-admin-info.rst @@ -21,6 +21,23 @@ for each MinIO server in the deployment. .. end-mc-admin-info-desc +The output of the command resembles the following: + +.. code-block:: + + ● play.min.io + Uptime: 8 hours + Version: 2023-04-15T14:34:02Z + Network: 1/1 OK + Drives: 4/4 OK + Pool: 1 + + Pools: + 1st, Erasure sets: 1, Drives per erasure set: 4 + + 11 GiB Used, 395 Buckets, 4,131 Objects, 676 Versions + 4 drives online, 0 drives offline + Examples -------- @@ -43,5 +60,4 @@ Syntax mc admin info TARGET -Specify the :mc-cmd:`alias ` of a configured MinIO deployment as the -``TARGET``. \ No newline at end of file +Specify the :mc-cmd:`alias ` of a configured MinIO deployment as the ``TARGET``. \ No newline at end of file