Hello
I'd like to track metrics that originate from within the browser with Prometheus. Is anyone doing this, and if so willing to share how?
I'd like to track things like:
- Errors during page load, anything that propagates to window.onerror
- Client-side histogram of HTTP request latency
If nothing to do this exists, I'd envisage having something like the push-gateway running in our backend for prometheus to scrape, and adding plumbing for client-side JS to push metrics to it. One problem with this is the push-gateway explicitly not doing aggregation, and I don't want to run a push gateway per user!
Any thoughts?
Thanks
Tom