From a2f3f5d8da174ca0c7e114e939d08b62b7ef1201 Mon Sep 17 00:00:00 2001 From: Andrea Longo Date: Wed, 12 Apr 2023 08:03:28 -0600 Subject: [PATCH] Add minio_bucket_objects_version_distribution to metrics list (#808) Add a new metric to the list of object and bucket metrics. `minio_bucket_objects_version_distribution`, similar to the existing `minio_bucket_objects_size_distribution`, is a histogram of object version counts. (As in: "How many objects in this bucket have between 10 and 100 versions?") Adding the new one following the established pattern, more comprehensive info about each metric is a future task. Staged: http://192.241.195.202:9000/staging/DOCS-756/linux/html/operations/monitoring/metrics-and-alerts.html#object-and-bucket-metrics Fixes https://github.com/minio/docs/issues/756 --- source/operations/monitoring/metrics-and-alerts.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/source/operations/monitoring/metrics-and-alerts.rst b/source/operations/monitoring/metrics-and-alerts.rst index d89c62d9..a4e4ce5f 100644 --- a/source/operations/monitoring/metrics-and-alerts.rst +++ b/source/operations/monitoring/metrics-and-alerts.rst @@ -87,6 +87,11 @@ Object and Bucket Metrics Distribution of object sizes in a given bucket. You can identify the bucket using the ``{ bucket="STRING" }`` label. +.. metric:: minio_bucket_objects_version_distribution + + Distribution of number of versions per object in a given bucket. + You can identify the bucket using the ``{ bucket="STRING" }`` label. + .. metric:: minio_bucket_usage_object_total Total number of objects in a given bucket. @@ -571,4 +576,4 @@ Software and Process Metrics :hidden: /operations/monitoring/collect-minio-metrics-using-prometheus - /operations/monitoring/monitor-and-alert-using-influxdb \ No newline at end of file + /operations/monitoring/monitor-and-alert-using-influxdb