{
  "manifest_version": "1.0.0",
  "template": {
    "id": "7458eb6c-2d5a-42c4-8f96-8b60a3a1d521",
    "slug": "saGmYG",
    "name": "Datadog Agent + Node App",
    "description": "Datadog Agent with a Node App, forwarding logs and metrics.",
    "url": "https://railway.com/deploy/saGmYG",
    "upstream": {
      "repo_url": "https://github.com/railwayapp-templates/datadog-agent-railway-starter"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "datadog-agent",
      "source": {
        "repo": "https://github.com/railwayapp-templates/datadog-agent-railway-starter"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "node-app",
      "source": {
        "repo": "https://github.com/railwayapp-templates/datadog-agent-railway-starter"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "DD_SITE",
      "service": "datadog-agent",
      "description": "Your DataDog Site",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "DD_API_KEY",
      "service": "datadog-agent",
      "description": "Your API key from DataDog",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DD_HOSTNAME",
      "service": "datadog-agent",
      "description": "The private domain of this agent.  Do not change.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "DD_AGENT_HOST",
      "service": "node-app",
      "description": "The private domain of the agent.  Do not change.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DD_TRACE_AGENT_PORT",
      "service": "node-app",
      "description": "Port that the agent is listening on for trace data",
      "secret": false,
      "strategy": "default",
      "default": "8126"
    },
    {
      "key": "DD_AGENT_STATSD_PORT",
      "service": "node-app",
      "description": "StatsD port that the agent is listening on.",
      "secret": false,
      "strategy": "default",
      "default": "8125"
    },
    {
      "key": "DD_AGENT_SYSLOG_PORT",
      "service": "node-app",
      "description": "The syslog port that the agent is listening on.",
      "secret": false,
      "strategy": "default",
      "default": "514"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "saGmYG"
      }
    },
    "cli": "railway deploy --template saGmYG",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "7458eb6c-2d5a-42c4-8f96-8b60a3a1d521",
            "serializedConfig": {
              "services": {
                "4a32a841-f785-47e5-81ec-e569432b77c9": {
                  "name": "datadog-agent",
                  "build": {},
                  "deploy": {},
                  "source": {
                    "repo": "https://github.com/railwayapp-templates/datadog-agent-railway-starter",
                    "rootDirectory": "/agent"
                  },
                  "variables": {
                    "DD_SITE": {
                      "isOptional": false,
                      "description": "Your DataDog Site",
                      "defaultValue": "{{DD_SITE}}"
                    },
                    "DD_API_KEY": {
                      "isOptional": false,
                      "description": "Your API key from DataDog",
                      "defaultValue": "{{DD_API_KEY}}"
                    },
                    "DD_HOSTNAME": {
                      "isOptional": false,
                      "description": "The private domain of this agent.  Do not change.",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {}
                },
                "ebec3125-5f3f-48ae-9f91-10e70d3c2b89": {
                  "name": "node-app",
                  "build": {},
                  "deploy": {},
                  "source": {
                    "repo": "https://github.com/railwayapp-templates/datadog-agent-railway-starter",
                    "rootDirectory": "/expressapi"
                  },
                  "variables": {
                    "DD_AGENT_HOST": {
                      "isOptional": false,
                      "description": "The private domain of the agent.  Do not change.",
                      "defaultValue": "${{datadog-agent.DD_HOSTNAME}}"
                    },
                    "DD_TRACE_AGENT_PORT": {
                      "isOptional": false,
                      "description": "Port that the agent is listening on for trace data",
                      "defaultValue": "8126"
                    },
                    "DD_AGENT_STATSD_PORT": {
                      "isOptional": false,
                      "description": "StatsD port that the agent is listening on.",
                      "defaultValue": "8125"
                    },
                    "DD_AGENT_SYSLOG_PORT": {
                      "isOptional": false,
                      "description": "The syslog port that the agent is listening on.",
                      "defaultValue": "514"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": false
  },
  "generated_at": "2026-09-05T11:54:15.547Z",
  "generator_version": "0.1.0"
}
