mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
feat(chord): telemetry from pages and workers stored by the server, who a span was for
The four telemetry gaps (rows on commits, chord.host, microsecond times, a read-only store) and: pages record and send span batches over their link to the server's ingest object (checked, capped, rate-limited, stamped browser and with the link's principal); workers send theirs too, so the server is the store's only writer; principalAttributes lets an app choose what a span records about its principal. The tutorial shows a real page's click traced to the worker, with the trace viewer.
This commit is contained in:
parent
80f7a11494
commit
ff33ef42c4
95 changed files with 3358 additions and 967 deletions
|
|
@ -56,6 +56,11 @@
|
|||
"types": "./dist/telemetry-sqlite/index.d.ts",
|
||||
"import": "./dist/telemetry-sqlite/index.js"
|
||||
},
|
||||
"./telemetry-sqlite/node": {
|
||||
"source": "./src/telemetry-sqlite/node.ts",
|
||||
"types": "./dist/telemetry-sqlite/node.d.ts",
|
||||
"import": "./dist/telemetry-sqlite/node.js"
|
||||
},
|
||||
"./http": {
|
||||
"source": "./src/node/http/index.ts",
|
||||
"types": "./dist/node/http/index.d.ts",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue