HF-24: onboard hospital-fabric to observe.gmac.io analytics #12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/HF-24-observe-analytics"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Issue: HF-24 (https://tasks.gmac.io/gmacko/issue/HF-24)
Summary
Sends privacy-conservative pageview analytics to the shared Dataflare deployment at https://observe.gmac.io (project
hospital-fabric), so per-app session journeys and Sankeys work.apps/hospital/dataflare.jsis embedded byscripts/build-console.mjsasDATAFLARE_JSand served atGET /dataflare.jsonly in the cloud (public synthetic demo) profile. Site and local profiles return 404, so on-premise hospital fleets never load analytics./and/hospital) and the delivery lab (/delivery-lab). It is not added to the operator console.https://observe.gmac.ioadded toscript-srcandconnect-src.'self' https://observe.gmac.ioadded toscript-srcandhttps://observe.gmac.iotoconnect-src. The page already allowed'unsafe-inline'scripts, so'self'adds no meaningful exposure.Privacy
.glass/comes fromdataflare client-init --localand holds no secrets.Observe project
Registered
hospital-fabricwith allowed origins: https://hospital.gmac.io, https://med.gmac.io.Checks
npm run check:sql: pass.node --checkonscripts/build-console.mjsandapps/worker/src/api/router.ts: ok.npm run typecheckandnpm testwere not run locally: the build host disk was full (ENOSPC duringnpm ci). Existing CSP assertions (toContain("script-src 'self'"),/connect-src 'self'/) still hold.Acceptance
hospital-fabric.hospital-fabric.Delivery target: production
🤖 Generated with Claude Code