{
  "manifest_version": "1.0.0",
  "template": {
    "id": "eef22901-4682-4134-a568-be058391cc07",
    "slug": "prometheus-exporter",
    "name": "Prometheus Exporter",
    "description": "Monitor all your Railway services in Prometheus with zero configuration",
    "url": "https://railway.com/deploy/prometheus-exporter",
    "upstream": {
      "repo_url": "https://github.com/MykalMachon/railway-prometheus-exporter"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Prometheus Exporter",
      "source": {
        "repo": "https://github.com/MykalMachon/railway-prometheus-exporter"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Prometheus Exporter",
      "description": "Default HTTP port for the service.",
      "secret": false,
      "strategy": "default",
      "default": "9090"
    },
    {
      "key": "DEBUG",
      "service": "Prometheus Exporter",
      "description": "only turn on if you want verbose logs for this service",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "RAILWAY_API_KEY",
      "service": "Prometheus Exporter",
      "description": "An account level API key for your railway account",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ENVIRONMENT_TARGETS",
      "service": "Prometheus Exporter",
      "description": "A comma separated list of the projects and environments you want metrics for. i.e: `project-id:environment-id`",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "prometheus-exporter"
      }
    },
    "cli": "railway deploy --template prometheus-exporter",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "eef22901-4682-4134-a568-be058391cc07",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "8e7f2e12-9f23-4eae-a849-4995ad3aa22f": {
                  "icon": "https://cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/1f4e4.svg",
                  "name": "Prometheus Exporter",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/MykalMachon/railway-prometheus-exporter",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Default HTTP port for the service.",
                      "defaultValue": "9090"
                    },
                    "DEBUG": {
                      "isOptional": false,
                      "description": "only turn on if you want verbose logs for this service",
                      "defaultValue": "false"
                    },
                    "RAILWAY_API_KEY": {
                      "isOptional": false,
                      "description": "An account level API key for your railway account",
                      "defaultValue": "{{RAILWAY_API_KEY}}"
                    },
                    "ENVIRONMENT_TARGETS": {
                      "isOptional": false,
                      "description": "A comma separated list of the projects and environments you want metrics for. i.e: `project-id:environment-id`",
                      "defaultValue": "{{ENVIRONMENT_TARGETS}}"
                    }
                  },
                  "networking": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0"
}
