3.2 KiB
3.2 KiB
Live POC — frozen facts
Self-hosted on backstage-wus2-v4 via Flux; vendor Helm chart 1.8.8
(apps/arcade/ in k8s-backstage-v2, origin/master). Run the live-state check
(GROUND-RULES) before trusting any of this — it ages.
Deployment
- Endpoints:
api.arcade.st.dev(MCP/engine),coordinator.,dashboard.,experience.arcade.st.dev. Gateway URLs:https://api.arcade.st.dev/mcp/{slug}. - Upstream IdP: ServiceTitan Entra ID app registration (iac PR #4012). Not Okta yet (Okta is the criteria doc's eventual target — note the gap when scoring identity / cat 2).
- Chat/playground: disabled (
features.chatEnabled: false); engine LLM + embeddings routed through in-cluster LiteLLM, not api.openai.com. - Datastores: bundled in-cluster Postgres + Redis, default passwords, ephemeral.
Observability (cat 5 — confirmed)
- OTEL (evidence, Kibana 2026-06-18): the
arcade-enginepod emits OTLP metrics by default but the target collector does not resolve — repeating ~60s:failed to upload metrics: Post "http://arcade-otel-collector:4318/v1/metrics": dial tcp: lookup arcade-otel-collector ... no such host. Instrumentation is ON; the collector Servicearcade-otel-collectoris not deployed/resolvable in thearcadens; every metric is dropped. (Chart lists the collector image but the HelmRelease never enabled/named it.) - Logs → ELK: Vector daemonset scrapes pod stdout/stderr cluster-wide → ELK. Engine logs
already reach Kibana (that's how the above error is visible). Visible fields incl.
Tracing.TraceId,ContextInfo.CorrelationId,NetCore.RequestPath→ engine is a .NET app emitting structured logs with trace/correlation IDs (relevant to trace propagation pre-OTEL). - Metrics pipeline (metrics ≠ logs): metrics do not go to ELK. Metrics → Grafana,
via the Grafana Agent Operator (
MetricsInstancemain, nsmonitoring) which scrapes allServiceMonitor/PodMonitorCRs cluster-wide (any namespace; excludes ServiceMonitors labeledgrafana-agent: external) andremoteWrites to Grafana Mimir (http://mimir-nginx.mimir.observability-wus2/api/v1/push, tenant headerX-Scope-OrgID: k8s-backstage-v4). Convention: an app exposes a Prometheus/metricsport + aServiceMonitor(labelrelease: prometheus-operator) → auto-scraped → Grafana. - Two cat-5 gaps for metrics: (a) no collector —
arcade-otel-collector:4318doesn't resolve; (b) no bridge from OTLP-push into the pull-based Prometheus/Mimir pipeline. Fix = an OTEL Collector inarcadens that ingests the engine's OTLP and EITHER exposes aprometheusexporter/metricsscraped via aServiceMonitor, ORprometheusremotewritestraight to the Mimir push URL+tenant above. (Chart may bundle a disabled collector subchart — verify first.)
Live fixtures (filled in Phase 1)
- Project: TBD (Task 1.1)
- API key: label / last-4 only — never the key (Task 1.1)
- Headless auth header convention: confirmed in Task 1.1
- Baseline gateway: slug + tool allow-list (Task 1.2)
- Shared reference server: name + tools echo/whoami/add (Task 1.4)
whoamiidentity field: exact field the server reads (Task 1.4 / 2.4)