Skip to main content
APA
Sponsored by CAST AI — Kubernetes cost optimization Better Stack — Uptime monitoring and log management
⚠️

Alert thresholds depend on the nature of your applications. Some queries may have arbitrary tolerance thresholds. Building an efficient monitoring platform takes time. 😉

Minio Prometheus Alert Rules

3 Prometheus alerting rules for Minio. Exported via Embedded exporter. These rules cover critical and warning conditions — copy and paste the YAML into your Prometheus configuration.

10.4. Embedded exporter (3 rules)

wget https://raw.githubusercontent.com/samber/awesome-prometheus-alerts/refs/heads/master/dist/rules/minio/embedded-exporter.yml
critical

10.4.1. Minio cluster disk offline

Minio cluster disk is offline

- alert: MinioClusterDiskOffline
  expr: minio_cluster_drive_offline_total > 0
  for: 0m
  labels:
    severity: critical
  annotations:
    summary: Minio cluster disk offline (instance {{ $labels.instance }})
    description: "Minio cluster disk is offline\n  VALUE = {{ $value }}\n  LABELS = {{ $labels }}"
critical

10.4.2. Minio node disk offline

Minio cluster node disk is offline

- alert: MinioNodeDiskOffline
  expr: minio_cluster_nodes_offline_total > 0
  for: 0m
  labels:
    severity: critical
  annotations:
    summary: Minio node disk offline (instance {{ $labels.instance }})
    description: "Minio cluster node disk is offline\n  VALUE = {{ $value }}\n  LABELS = {{ $labels }}"
warning

10.4.3. Minio disk space usage

Minio available free space is low (< 10%)

- alert: MinioDiskSpaceUsage
  expr: minio_cluster_capacity_raw_free_bytes / minio_cluster_capacity_raw_total_bytes * 100 < 10 and minio_cluster_capacity_raw_total_bytes > 0
  for: 0m
  labels:
    severity: warning
  annotations:
    summary: Minio disk space usage (instance {{ $labels.instance }})
    description: "Minio available free space is low (< 10%)\n  VALUE = {{ $value }}\n  LABELS = {{ $labels }}"