tldraw/apps/dotcom-worker/src/lib
alex 408a269114
log message size in worker analytics (#3274)
Adds logging of message size in worker analytics.

This also adds the environment to worker analytics as `blob2`. We need
this because previously, all the analytics from all environments were
going to the same place with no ability to tell them apart, which means
we can't easily compare analytics on e.g. a particular PR.

This means that all the other blobs get shifted along one, so we won't
be able to query across the boundary of when this gets released for
those properties. I think this is fine though - it's things like
`roomId` that I don't think we were querying on anyway.

You can query the analytics through grafana - [docs
here](https://www.notion.so/tldraw/How-to-11fce2ed0be5480bb8e711c7ff1a0488?pvs=4#a66fae7bfcfe4ffe9d5348504598c6a0)

### Change Type
- [x] `internal` — Does not affect user-facing stuff
- [x] `chore` — Updating dependencies, other boring stuff
2024-03-27 11:33:47 +00:00
..
routes Prevent iframe embedding for dotcom (except on tldraw.com) (#2947) 2024-02-26 18:30:55 +00:00
utils unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
AlarmScheduler.test.ts Unbiome (#2776) 2024-02-07 16:02:22 +00:00
AlarmScheduler.ts unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
config.ts unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
r2.ts unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
TLDrawDurableObject.ts log message size in worker analytics (#3274) 2024-03-27 11:33:47 +00:00
types.ts log message size in worker analytics (#3274) 2024-03-27 11:33:47 +00:00
worker.ts unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00