{
  "dashboard": {
    "id": null,
    "title": "Rsync Performance",
    "tags": [
      "rsync",
      "sync",
      "performance"
    ],
    "panels": [
      {
        "id": 1,
        "title": "Rsync Operations",
        "type": "graph",
        "targets": [
          {
            "expr": "rate(rsync_operations_total[5m])",
            "legendFormat": "Operations/sec"
          }
        ],
        "gridPos": {
          "h": 8,
          "w": 12,
          "x": 0,
          "y": 0
        }
      },
      {
        "id": 2,
        "title": "Data Transfer Rate",
        "type": "graph",
        "targets": [
          {
            "expr": "rate(rsync_bytes_transferred_total[5m])",
            "legendFormat": "Bytes/sec"
          }
        ],
        "gridPos": {
          "h": 8,
          "w": 12,
          "x": 12,
          "y": 0
        }
      },
      {
        "id": 3,
        "title": "Sync Duration",
        "type": "graph",
        "targets": [
          {
            "expr": "rsync_sync_duration_seconds",
            "legendFormat": "Duration"
          }
        ],
        "gridPos": {
          "h": 8,
          "w": 12,
          "x": 0,
          "y": 8
        }
      },
      {
        "id": 4,
        "title": "Sync Errors",
        "type": "graph",
        "targets": [
          {
            "expr": "rate(rsync_errors_total[5m])",
            "legendFormat": "Errors/sec"
          }
        ],
        "gridPos": {
          "h": 8,
          "w": 12,
          "x": 12,
          "y": 8
        }
      }
    ],
    "time": {
      "from": "now-1h",
      "to": "now"
    },
    "refresh": "5s"
  }
}
