1
0
mirror of https://github.com/minio/docs.git synced 2025-07-31 18:04:52 +03:00

Rename disk_ -> drive_ for alert metrics

This commit is contained in:
Harshavardhana
2023-12-01 13:58:17 -08:00
committed by GitHub
parent b3e259b6e6
commit 548ee3f082

View File

@ -196,8 +196,8 @@ The following query examples return metrics collected by Prometheus:
.. code-block:: shell .. code-block:: shell
:class: copyable :class: copyable
minio_cluster_disk_online_total{job="minio-job"}[5m] minio_cluster_drive_online_total{job="minio-job"}[5m]
minio_cluster_disk_offline_total{job="minio-job"}[5m] minio_cluster_drive_offline_total{job="minio-job"}[5m]
minio_bucket_usage_object_total{job="minio-job"}[5m] minio_bucket_usage_object_total{job="minio-job"}[5m]
@ -228,14 +228,14 @@ You can modify or otherwise use these examples as guidance in building your own
summary: "Node down in MinIO deployment" summary: "Node down in MinIO deployment"
description: "Node(s) in cluster {{ $labels.instance }} offline for more than 5 minutes" description: "Node(s) in cluster {{ $labels.instance }} offline for more than 5 minutes"
- alert: DisksOffline - alert: DrivesOffline
expr: avg_over_time(minio_cluster_disk_offline_total{job="minio-job"}[5m]) > 0 expr: avg_over_time(minio_cluster_drive_offline_total{job="minio-job"}[5m]) > 0
for: 10m for: 10m
labels: labels:
severity: warn severity: warn
annotations: annotations:
summary: "Disks down in MinIO deployment" summary: "Drives down in MinIO deployment"
description: "Disks(s) in cluster {{ $labels.instance }} offline for more than 5 minutes" description: "Drives(s) in cluster {{ $labels.instance }} offline for more than 5 minutes"
Specify the path to the alert file to the Prometheus configuration as part of the ``rule_files`` key: Specify the path to the alert file to the Prometheus configuration as part of the ``rule_files`` key: