{
  "manifest_version": "1.0.0",
  "template": {
    "id": "bed33d5c-f999-4c8d-ae26-5a09175f35d7",
    "slug": "grafana-faro-receiver",
    "name": "Grafana Faro Receiver",
    "description": "Ingest browser and mobile RUM into your OpenTelemetry pipeline.",
    "url": "https://railway.com/deploy/grafana-faro-receiver",
    "upstream": {
      "repo_url": "https://github.com/jratienza65/otel-lgtm-railway"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Alloy",
      "source": {
        "repo": "https://github.com/jratienza65/otel-lgtm-railway"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Alloy",
      "description": "Alloy's healthcheck port.",
      "secret": false,
      "strategy": "default",
      "default": "12345"
    },
    {
      "key": "VERSION",
      "service": "Alloy",
      "description": "Alloy image tag, passed as a build arg.",
      "secret": false,
      "strategy": "default",
      "default": "v1.18.1"
    },
    {
      "key": "FARO_API_KEY",
      "service": "Alloy",
      "description": "Key browsers send as `x-api-key`.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "OTEL_UPSTREAM_PASSWORD",
      "service": "Alloy",
      "description": "Password for that line. Must match the gateway's htpasswd.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "OTEL_UPSTREAM_USERNAME",
      "service": "Alloy",
      "description": "Username for the gateway's htpasswd. Give Alloy its own line so it can be rotated alone.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "FARO_CORS_ALLOWED_ORIGINS",
      "service": "Alloy",
      "description": "Comma-separated frontend origins. Replaces the localhost fallback.",
      "secret": false,
      "strategy": "default",
      "default": "localhost"
    },
    {
      "key": "FARO_ALLOW_UNAUTHENTICATED",
      "service": "Alloy",
      "description": "Set `true` instead to run an open endpoint. One of these two is required.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "OTEL_EXPORTER_OTLP_ENDPOINT",
      "service": "Alloy",
      "description": "The gateway to forward to. In the combined template, `http://opentelemetry-collector.railway.internal:4318`; in the standalone template, ask the user.",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "grafana-faro-receiver"
      }
    },
    "cli": "railway deploy --template grafana-faro-receiver",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "bed33d5c-f999-4c8d-ae26-5a09175f35d7",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "7fae20c7-9aa5-4f89-9c36-c5727b37b114": {
                  "icon": "https://grafana.com/media/oss/alloy/alloy-logo.svg",
                  "name": "Alloy",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/ready",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/jratienza65/otel-lgtm-railway",
                    "rootDirectory": "/alloy/faro"
                  },
                  "variables": {
                    "PORT": {
                      "description": "Alloy's healthcheck port.",
                      "defaultValue": "12345"
                    },
                    "VERSION": {
                      "isOptional": false,
                      "description": "Alloy image tag, passed as a build arg.",
                      "defaultValue": "v1.18.1"
                    },
                    "FARO_API_KEY": {
                      "isOptional": false,
                      "description": "Key browsers send as `x-api-key`.",
                      "defaultValue": "{{FARO_API_KEY}}"
                    },
                    "OTEL_UPSTREAM_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for that line. Must match the gateway's htpasswd.",
                      "defaultValue": "{{OTEL_UPSTREAM_PASSWORD}}"
                    },
                    "OTEL_UPSTREAM_USERNAME": {
                      "isOptional": false,
                      "description": "Username for the gateway's htpasswd. Give Alloy its own line so it can be rotated alone.",
                      "defaultValue": "{{OTEL_UPSTREAM_USERNAME}}"
                    },
                    "FARO_CORS_ALLOWED_ORIGINS": {
                      "isOptional": false,
                      "description": "Comma-separated frontend origins. Replaces the localhost fallback.",
                      "defaultValue": "localhost"
                    },
                    "FARO_ALLOW_UNAUTHENTICATED": {
                      "description": "Set `true` instead to run an open endpoint. One of these two is required.",
                      "defaultValue": "false"
                    },
                    "OTEL_EXPORTER_OTLP_ENDPOINT": {
                      "isOptional": false,
                      "description": "The gateway to forward to. In the combined template, `http://opentelemetry-collector.railway.internal:4318`; in the standalone template, ask the user.",
                      "defaultValue": "{{OTEL_EXPORTER_OTLP_ENDPOINT}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:12347": {
                        "port": 12347
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Alloy",
      "method": "GET",
      "path": "/ready",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-08T21:59:40.747Z",
  "generator_version": "0.1.0"
}
