{
  "title": "Cloud Command Operations",
  "uid": "cloud-command",
  "panels": [
    {
      "title": "Request Rate",
      "type": "timeseries",
      "targets": [
        {
          "expr": "sum(rate(http_requests_total{service=\"cloud-command\"}[5m]))"
        }
      ]
    },
    {
      "title": "Error Ratio",
      "type": "timeseries",
      "targets": [
        {
          "expr": "sum(rate(http_requests_total{service=\"cloud-command\",status=~\"5..\"}[5m])) / sum(rate(http_requests_total{service=\"cloud-command\"}[5m]))"
        }
      ]
    },
    {
      "title": "Replica Count",
      "type": "timeseries",
      "targets": [
        {
          "expr": "kube_deployment_status_replicas_available{deployment=\"cloud-command-api\"}"
        }
      ]
    }
  ]
}