Metrics

The Metrics V3 interface, key metrics, and stable labels used by the Pigsty MINIO module to monitor Silo.

The MINIO module collects Silo metrics through /minio/metrics/v3. The metric set varies with server versions and enabled features, so this page documents the stable interfaces used by current dashboards and alerts rather than treating a complete scrape from one version as a permanent contract.


Stable Identity Labels

All object-storage targets use these Pigsty labels:

LabelMeaningExample
jobFixed module namespaceminio
flavorActual backendsilo
clsminio_cluster identityminio
ins<minio_cluster>-<minio_seq> instance identityminio-1
ipInventory management address10.10.10.10
instanceMetric target address10.10.10.10:9000

Queries and recording rules should prefer the stable cls, ins, and ip identity labels.


Silo Metrics V3

Each Silo instance exposes only the V3 root endpoint, /minio/metrics/v3. Current key metrics are:

CategoryKey MetricsMeaning
Livenessminio_upPigsty scrape/health state for the instance
Nodesminio_cluster_health_nodes_online_count, minio_cluster_health_nodes_offline_countOnline and offline nodes
Drivesminio_cluster_health_drives_online_count, minio_cluster_health_drives_offline_countOnline and offline drives
Capacityminio_cluster_health_capacity_raw_total_bytesRaw total capacity
Capacityminio_cluster_health_capacity_usable_total_bytes, minio_cluster_health_capacity_usable_free_bytesUsable total and free capacity
Objectsminio_cluster_usage_objects_count, minio_cluster_usage_objects_total_bytesObject count and used bytes
Bucketsminio_cluster_usage_objects_buckets_countAggregated bucket count
Erasure codingminio_cluster_erasure_set_overall_health, minio_cluster_erasure_set_overall_write_quorumErasure-set health and write quorum
APIminio_api_requests_total, minio_api_requests_errors_total, minio_api_requests_4xx_errors_totalAPI requests and errors
APIminio_api_requests_inflight_total, minio_api_requests_incoming_totalIn-flight and incoming requests
Trafficminio_api_requests_traffic_received_bytes, minio_api_requests_traffic_sent_bytesReceived and sent bytes
Latencyminio_api_requests_ttfb_seconds_distributionTime-to-first-byte distribution
Processminio_system_process_cpu_total_seconds, minio_system_process_resident_memory_bytesProcess CPU and resident memory
Systemminio_system_drive_free_bytes, minio_system_drive_used_bytes, minio_system_drive_healthPer-drive capacity and health
Auditminio_audit_total_messagesAudit-message count

Pigsty drops samples whose bucket label is non-empty at scrape time and does not register dedicated per-bucket or replication endpoints. This is an intentional cardinality-control policy. If per-bucket metrics are required, evaluate the time-series volume before adding a custom scrape job.


Last Modified: 2026-08-13: v4.5 docs calibrate (4a0b2138)