{
  "manifest_version": "1.0.0",
  "template": {
    "id": "0436aeb6-1c73-494a-b1c9-fd043b924820",
    "slug": "pyroscope-1",
    "name": "Pyroscope",
    "description": "Deploy and Host Grafana Pyroscope for continuous profiling",
    "url": "https://railway.com/deploy/pyroscope-1",
    "upstream": {
      "repo_url": "https://github.com/jratienza65/otel-lgtm-railway"
    }
  },
  "services": [
    {
      "name": "Pyroscope",
      "source": {
        "repo": "https://github.com/jratienza65/otel-lgtm-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Pyroscope",
      "description": "Pyroscope's healthcheck port.",
      "secret": false,
      "strategy": "default",
      "default": "4040"
    },
    {
      "key": "VERSION",
      "service": "Pyroscope",
      "description": "Pyroscope image tag, passed as a build arg.",
      "secret": false,
      "strategy": "default",
      "default": "2.3.1"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "Pyroscope",
      "description": "Run as root so Pyroscope can write to the mounted volume.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "pyroscope-1"
      }
    },
    "cli": "railway deploy --template pyroscope-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "0436aeb6-1c73-494a-b1c9-fd043b924820",
            "serializedConfig": {
              "services": {
                "a176d40d-edad-4e3b-9192-9ea881ae5e34": {
                  "icon": "https://cdn.jsdelivr.net/gh/selfhst/icons/svg/grafana-pyroscope.svg",
                  "name": "Pyroscope",
                  "deploy": {
                    "healthcheckPath": "/ready"
                  },
                  "source": {
                    "repo": "jratienza65/otel-lgtm-railway",
                    "rootDirectory": "/pyroscope"
                  },
                  "variables": {
                    "PORT": {
                      "description": "Pyroscope's healthcheck port.",
                      "defaultValue": "4040"
                    },
                    "VERSION": {
                      "description": "Pyroscope image tag, passed as a build arg.",
                      "defaultValue": "2.3.1"
                    },
                    "RAILWAY_RUN_UID": {
                      "description": "Run as root so Pyroscope can write to the mounted volume.",
                      "defaultValue": "0"
                    }
                  },
                  "volumeMounts": {
                    "a176d40d-edad-4e3b-9192-9ea881ae5e34": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-01T10:14:52.086Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-01T06:04:47.696Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_8ebeb427e61245ea8ba2",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 129,
    "typical_build_seconds": 20,
    "typical_start_seconds": 91,
    "slowest_service": "Pyroscope"
  }
}
