fetch_ml/monitoring/grafana/dashboards/websocket-performance.json

68 lines
1.3 KiB
JSON

{
"dashboard": {
"id": null,
"title": "WebSocket Performance",
"tags": [
"websocket",
"performance"
],
"panels": [
{
"id": 1,
"title": "WebSocket Connections",
"type": "graph",
"targets": [
{
"expr": "websocket_connections_active",
"legendFormat": "Active Connections"
}
],
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 0
}
},
{
"id": 2,
"title": "WebSocket Messages",
"type": "graph",
"targets": [
{
"expr": "rate(websocket_messages_total[5m])",
"legendFormat": "Messages/sec"
}
],
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 0
}
},
{
"id": 3,
"title": "Connection Errors",
"type": "graph",
"targets": [
{
"expr": "rate(websocket_connection_errors_total[5m])",
"legendFormat": "Errors/sec"
}
],
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 8
}
}
],
"time": {
"from": "now-1h",
"to": "now"
},
"refresh": "5s"
}
}