by no_wizard · 3y ago · 0 comments
The web browser collector published by the OTEL project uses Zone.js to hijack just about everything in the browser into contexts. If you used modern Angular before, you may recognize zone.js, its a real pain sometimes, and messes with globals, which isn't great, as it can create situations where behavior isn't predictable.
I don't know that OTEL has any standard around things like session replays either. Lots of telemetry platforms support this (Sentry, Rollbar, DataDog etc)
I think alot of backend teams have really like it. I do like the cross boundary nature of spans where you can follow them by a unique tag across your entire system.
I personally find its extremely verbose at times, in terms of the payload it generates, some logging platforms are more compact in this regard, but in practice, I haven't noticed it to be an issue
Though I agree that async context is better fit for this generally, the ERM should be good for telemetry around objects that have defined lifetime semantics, which is a step in the right direction you can use today
[0]: https://github.com/tc39/proposal-explicit-resource-managemen...
[1]: https://www.totaltypescript.com/typescript-5-2-new-keyword-u...
Being able to connect frontend sessions -> backend trace/logs has been a huge DX change though imo.
[1] https://www.hyperdx.io/blog/browser-based-distributed-tracin...
It is not completely solving the issue, but a starting point
Does anyone have an even part way start at doing front end tracing?
I've had better runs with Bugsnag for pure error reporting and more recently Sentry, which can do RUM / Session Replay collections.
None are what you expect though. If you want really good user behavior analytics FullStory is still top notch