ops: add private object storage

This commit is contained in:
2026-10-02 20:16:39 +03:00
parent b3d5d76302
commit 110236d01f
11 changed files with 220 additions and 9 deletions
+46 -2
View File
@@ -85,6 +85,50 @@
{"expr": "sum(redis_db_keys)", "legendFormat": "keys", "refId": "A"},
{"expr": "rate(redis_commands_processed_total[1m])", "legendFormat": "commands/s", "refId": "B"}
]
},
{
"type": "timeseries", "title": "Attachment uploads by result", "id": 15,
"gridPos": {"h": 8, "w": 12, "x": 0, "y": 56},
"targets": [{"expr": "sum by (result) (rate(messenger_attachment_uploads_total[1m]))", "legendFormat": "{{result}}", "refId": "A"}]
},
{
"type": "timeseries", "title": "Attachment upload latency p95", "id": 16,
"gridPos": {"h": 8, "w": 12, "x": 12, "y": 56},
"fieldConfig": {"defaults": {"unit": "s"}, "overrides": []},
"targets": [{"expr": "histogram_quantile(0.95, sum by (le) (rate(messenger_attachment_upload_duration_seconds_bucket[5m])))", "legendFormat": "p95", "refId": "A"}]
},
{
"type": "timeseries", "title": "Attachment upload traffic", "id": 17,
"gridPos": {"h": 8, "w": 8, "x": 0, "y": 64},
"fieldConfig": {"defaults": {"unit": "Bps"}, "overrides": []},
"targets": [{"expr": "sum(rate(messenger_attachment_upload_bytes_total[1m]))", "legendFormat": "bytes/s", "refId": "A"}]
},
{
"type": "timeseries", "title": "MinIO objects", "id": 18,
"gridPos": {"h": 8, "w": 8, "x": 8, "y": 64},
"targets": [{"expr": "sum(minio_cluster_usage_object_total)", "legendFormat": "objects", "refId": "A"}]
},
{
"type": "timeseries", "title": "MinIO requests and errors", "id": 19,
"gridPos": {"h": 8, "w": 8, "x": 16, "y": 64},
"targets": [
{"expr": "sum(rate(minio_s3_requests_total[1m]))", "legendFormat": "requests/s", "refId": "A"},
{"expr": "sum(rate(minio_s3_requests_errors_total[1m]))", "legendFormat": "errors/s", "refId": "B"}
]
},
{
"type": "timeseries", "title": "MinIO availability", "id": 20,
"gridPos": {"h": 8, "w": 12, "x": 0, "y": 72},
"targets": [{"expr": "up{job=\"minio\"}", "legendFormat": "up", "refId": "A"}]
},
{
"type": "timeseries", "title": "MinIO storage", "id": 21,
"gridPos": {"h": 8, "w": 12, "x": 12, "y": 72},
"fieldConfig": {"defaults": {"unit": "bytes"}, "overrides": []},
"targets": [
{"expr": "sum(minio_cluster_usage_total_bytes)", "legendFormat": "used", "refId": "A"},
{"expr": "sum(minio_cluster_capacity_usable_free_bytes)", "legendFormat": "free", "refId": "B"}
]
}
],
"refresh": "5s",
@@ -93,7 +137,7 @@
"templating": {"list": []},
"time": {"from": "now-15m", "to": "now"},
"timezone": "browser",
"title": "Messenger lab3 overview",
"title": "Messenger lab4 overview",
"uid": "messenger-overview",
"version": 2
"version": 3
}
+7 -2
View File
@@ -1,6 +1,6 @@
global:
scrape_interval: 5s
evaluation_interval: 5s
scrape_interval: 1s
evaluation_interval: 1s
scrape_configs:
- job_name: messenger
@@ -21,3 +21,8 @@ scrape_configs:
- job_name: valkey
static_configs:
- targets: ["valkey-exporter:9121"]
- job_name: minio
metrics_path: /minio/v2/metrics/cluster
static_configs:
- targets: ["s3:9000"]