Move /cluster/audit to /audit (#19708)

As the audit metrics are server level and not 
overall cluster level.
This commit is contained in:
Shireesh Anjal
2024-05-10 20:20:39 +05:30
committed by GitHub
parent 9667a170de
commit 60d7e8143a
3 changed files with 30 additions and 21 deletions

View File

@@ -34,6 +34,13 @@ These are metrics about requests served by the (current) node.
| `/api/bucket` | Metrics over all requests split by bucket labels |
| | |
### Audit metrics
These are metrics about the minio process and the node.
| Path | Description |
|----------|----------------------------------------|
| `/audit` | Metrics related to audit functionality |
### System metrics
@@ -99,6 +106,14 @@ The standard metrics group for GoCollector is not shown below.
| `minio_bucket_api_5xx_errors_total` | `counter` | Total number of requests with 5xx errors for a bucket | `bucket,name,type,server,pool_index` |
| `minio_bucket_api_ttfb_seconds_distribution` | `counter` | Distribution of time to first byte across API calls for a bucket | `bucket,name,le,type,server,pool_index` |
### `/audit`
| Name | Type | Help | Labels |
|-----------------------------------|-----------|----------------------------------------------------------|--------------------|
| `minio_audit_failed_messages` | `counter` | Total number of messages that failed to send since start | `target_id,server` |
| `minio_audit_target_queue_length` | `gauge` | Number of unsent messages in queue for target | `target_id,server` |
| `minio_audit_total_messages` | `counter` | Total number of messages sent since start | `target_id,server` |
### `/system/drive`
| Name | Type | Help | Labels |
@@ -199,14 +214,6 @@ The standard metrics group for GoCollector is not shown below.
| `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`
| Name | Type | Help | Labels |