Skip to content

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 the server version and enabled features. This page describes the stable interfaces used by current dashboards and alerts. A complete scrape from one version is not a permanent interface 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

During scraping, Pigsty drops samples with a non-empty bucket label. It does not register dedicated per-bucket or replication endpoints. This policy controls the number of time series.

If you need per-bucket metrics, evaluate the time-series volume before you add a custom scrape job.

Was this page helpful?