GitHub → ingestion → Postgres → Embedded Canvas → public OpenDev, a customer product, and internal operations. OpenDev is the host. Embedded Canvas owns the semantic layer, the hosted runtime, and tenant isolation. The host source is on GitHub.
The pipeline
GitHub public data is ingested by a worker into Postgres. Visitor page loads never call GitHub.
Postgres is the warehouse: orgs, repos, PRs, issues, commits, reviews. Every fact row has org_id.
Embedded Canvas connects to that warehouse, publishes Cube models (PullRequests, Issues, Commits, Contributors), and hosts Apache Superset for the dashboards this site embeds.
Two read paths share those definitions: chromeless dashboards via @embeddedcanvas/embed-sdk, and a governed metrics API the host queries for the KPI cards above each chart. Neither path recomputes a metric in OpenDev.
Host filters go out with every embed session: org_id plus a date range (30 / 90 / 365 days). Cube publishes both tenantId and org_id so embed RLS matches the warehouse column.
Three audiences reuse the same dashboards: public OpenDev (unscoped session + host filters), DevMetrics customer (RLS on org_id), DevMetrics internal (skipTenantRls).
What each tab shows
Overview — launch KPIs from the governed metrics API, plus an embedded org dashboard.
Delivery — PR throughput as a hosted time-series (merge activity over the selected range).
Collaboration — first-review heatmap (weekday × hour) on PullRequests.
Issues — weekly intake stacked by bug vs other, with optional Prophet forecast in the hosted chart.
Contributors — active authors and top-10 concentration; embed is PR volume by author.
Repositories — catalog table plus an embed that can take a repo_id host filter when you select a row.
The same metrics, three surfaces
median_cycle_time
Median PR cycle time
percentile_cont(0.5) of (merged_at - created_at) in hours
OpenDev is a customer of Embedded Canvas: session mint from a BFF, chromeless @embeddedcanvas/embed-sdk, row-level security on org_id. The host app for this site is public on GitHub.