mirror of
https://gh.wpcy.net/https://github.com/aspirepress/AspireCloud.git
synced 2026-05-31 00:04:27 +08:00
74 lines
No EOL
1.4 KiB
JSON
74 lines
No EOL
1.4 KiB
JSON
{
|
|
"dashboard": {
|
|
"id": null,
|
|
"uid": "laravel-metrics",
|
|
"title": "Laravel Metrics",
|
|
"tags": [
|
|
"laravel",
|
|
"prometheus"
|
|
],
|
|
"timezone": "browser",
|
|
"schemaVersion": 37,
|
|
"version": 1,
|
|
"refresh": "10s",
|
|
"panels": [
|
|
{
|
|
"type": "timeseries",
|
|
"title": "Total Requests",
|
|
"gridPos": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"w": 12,
|
|
"h": 8
|
|
},
|
|
"targets": [
|
|
{
|
|
"expr": "rate(requests_total[1m])",
|
|
"legendFormat": "requests/sec",
|
|
"refId": "A"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "timeseries",
|
|
"title": "Requests by Route",
|
|
"gridPos": {
|
|
"x": 12,
|
|
"y": 0,
|
|
"w": 12,
|
|
"h": 8
|
|
},
|
|
"targets": [
|
|
{
|
|
"expr": "rate(requests_by_route_total[1m])",
|
|
"legendFormat": "{{route}}",
|
|
"refId": "B"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "timeseries",
|
|
"title": "Plugin Count (Gauge)",
|
|
"gridPos": {
|
|
"x": 0,
|
|
"y": 8,
|
|
"w": 12,
|
|
"h": 8
|
|
},
|
|
"targets": [
|
|
{
|
|
"expr": "model_count{model=\"plugins\"}",
|
|
"legendFormat": "plugins",
|
|
"refId": "C"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"overwrite": true,
|
|
"folderId": 0,
|
|
"inputs": [],
|
|
"templating": {
|
|
"list": []
|
|
}
|
|
} |