Add cluster audit metrics in metrics-v3 (#19514)

endpoint: /minio/metrics/v3/cluster/audit
metrics:
- failed_messages (counter)
- total_messages (counter)
- target_queue_length (gauge)
This commit is contained in:
Shireesh Anjal
2024-04-17 14:48:02 +05:30
committed by GitHub
parent 6df76ca73c
commit ca5fab8656
3 changed files with 75 additions and 0 deletions

View File

@@ -164,6 +164,13 @@ The standard metrics groups for ProcessCollector and GoCollector are not shown b
| `minio_cluster_health_capacity_usable_total_bytes` | `gauge` | Total cluster usable storage capacity in bytes | |
| `minio_cluster_health_capacity_usable_free_bytes` | `gauge` | Total cluster usable storage free in bytes | |
### `/cluster/audit`
| Name | Type | Help | Labels |
|-------------------------------------------|-----------|----------------------------------------------------------|-------------|
| `minio_cluster_audit_failed_messages` | `counter` | Total number of messages that failed to send since start | `target_id` |
| `minio_cluster_audit_target_queue_length` | `gauge` | Number of unsent messages in queue for target | `target_id` |
| `minio_cluster_audit_total_messages` | `counter` | Total number of messages sent since start | `target_id` |
### `/cluster/usage/objects`