{
  "manifest_version": "1.0.0",
  "template": {
    "id": "d28f2d87-ae09-42e2-813f-e990d9a295f4",
    "slug": "73Vsr6",
    "name": "Redis Metrics Prometheus Exporter",
    "description": "A Prometheus exporter for gathering metrics about your Railway Redis DB",
    "url": "https://railway.com/deploy/73Vsr6",
    "upstream": {
      "repo_url": "https://github.com/zuchka/railway-redis-exporter"
    }
  },
  "services": [
    {
      "name": "redis-metrics-collector",
      "source": {
        "repo": "https://github.com/zuchka/railway-redis-exporter"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "redis-metrics-collector",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "9121"
    },
    {
      "key": "REDIS_ADDR",
      "service": "redis-metrics-collector",
      "description": "Provide a value for REDIS_ADDR.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "73Vsr6"
      }
    },
    "cli": "railway deploy --template 73Vsr6",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "d28f2d87-ae09-42e2-813f-e990d9a295f4",
            "serializedConfig": {
              "services": {
                "f139462a-a0e5-4517-bf9b-e92db45bf391": {
                  "name": "redis-metrics-collector",
                  "build": {},
                  "deploy": {},
                  "source": {
                    "repo": "https://github.com/zuchka/railway-redis-exporter"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "9121"
                    },
                    "REDIS_ADDR": {
                      "isOptional": false,
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-21T16:17:53.226Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_37c38f89ad0d4e11ab99",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED"
      }
    ]
  }
}
