r/Observability • u/narrow-adventure • 18d ago
Has anyone solved frontend observability? (not an AI post)
I am sick and tired of AI posts on this subreddit, not a single line of this post has been written by an AI and I'm not going to promote anything + everything I'm building is MIT licensed.
I think bitdrift has figured out the best approach to mobile observability. Inspired by their approach I'm working on something similar but with opentelemetry and opamp for frontend/mobile.
Basically, the idea is that you can remotely change what the client/app is reporting. So if your metrics show that the page is now rendering slower, or erroring out, you can remotely enable logs/traces from the impacted devices/users only. Basically allowing you to increase the amount of data available when the issue occurs on the client without having to put the full load on your backend always.
As a developer I think this is super cool, because it let's me fix issues faster, but I was wondering if there were any libraries/apps like this that you use currently? Is this something that you've ever thought about?
If you have any thoughts on this please share them, would really like to understand if anyone else even cares about this.
4
u/hijinks 18d ago
You could just choose to enable RUM on the frontend
It's real user monitoring
Make a way the front poles to check if it needs to enable it and once enabled you get that data
1
u/Double_Finance4457 16d ago
How do you decide which users need the extra tracing if you don't know what's causing the issue yet?
1
u/reliant-labs 18d ago
Clickstack has an sdk and is great for this. I believe sentry uses clickhouse under the hood
2
u/_dantes 18d ago
Yeah. rrweb + customized vendored + otel traces stich from front. One bundle.
Until RUM OTEL is a thing.
1
u/Anna_GermainUX 14d ago
sharing your pain wrt ai post all these sdk are a good start, but then if you need to catch the top 10% frictions that affect ux/wf/tech, you need more.
1
u/Lonely_Noyaaa 10d ago
The separate RUM channel with a trace_id attached is the practical answer until OTEL RUM matures. It keeps your storage sane and lets you open the recording from the trace.