grafana display

This commit is contained in:
DullJZ
2025-10-21 19:59:28 +08:00
parent b2dc311f01
commit 0630cb09c7
3 changed files with 76 additions and 2 deletions

View File

@@ -99,6 +99,67 @@
"title": "QPS (操作/秒)",
"type": "timeseries"
},
{
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 0
},
"id": 12,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true
},
"targets": [
{
"expr": "sum by (bucket, category)(increase(s3_balance_backend_operations_total[$__range]))",
"instant": true,
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": "now/M",
"title": "后端操作次数 (本自然月)",
"transformations": [
{
"id": "labelsToFields",
"options": {
"valueLabel": "操作次数"
}
}
],
"type": "table"
},
{
"datasource": "Prometheus",
"fieldConfig": {
@@ -334,5 +395,5 @@
"timezone": "",
"title": "S3 Balance 监控面板",
"uid": "s3-balance-monitoring",
"version": 1
"version": 2
}