{
  "dashboard": {
    "title": "Bridge Operations Dashboard",
    "panels": [
      {
        "title": "Total Transfers",
        "targets": [
          {
            "expr": "bridge_total_transfers",
            "legendFormat": "Total"
          }
        ],
        "type": "stat"
      },
      {
        "title": "Success Rate",
        "targets": [
          {
            "expr": "bridge_success_rate",
            "legendFormat": "Success Rate %"
          }
        ],
        "type": "graph"
      },
      {
        "title": "Average Settlement Time",
        "targets": [
          {
            "expr": "bridge_avg_settlement_time",
            "legendFormat": "Seconds"
          }
        ],
        "type": "graph"
      },
      {
        "title": "Transfer Status Distribution",
        "targets": [
          {
            "expr": "sum by (status) (bridge_transfers_by_status)",
            "legendFormat": "{{status}}"
          }
        ],
        "type": "piechart"
      },
      {
        "title": "Route Health Scores",
        "targets": [
          {
            "expr": "bridge_route_health_score",
            "legendFormat": "{{chain}} - {{provider}}"
          }
        ],
        "type": "graph"
      },
      {
        "title": "Refund Rate",
        "targets": [
          {
            "expr": "rate(bridge_refund_count[5m])",
            "legendFormat": "Refunds/sec"
          }
        ],
        "type": "graph"
      }
    ],
    "refresh": "30s",
    "time": {
      "from": "now-6h",
      "to": "now"
    }
  }
}
