PostHog / posthog

🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
https://posthog.com
Other
19.43k stars 1.14k forks source link

Make network API performance metrics queryable #19686

Open pauldambra opened 6 months ago

pauldambra commented 6 months ago

The replay team is currently considering improving PostHog by adding the ability to query network requests response times

We already capture network calls that are made and their performance data using the browsers' built-in PerformanceObserver. But we store these in blob storage as part of the source recording so we can't query them. If these were stored in ClickHouse we could allow you to query them using HogQL.

🗂 Considered Goals

These goals are being considered by the Replay Team and we'd love to hear user feedback, as well as ideas for stretch goals or implementation. Please add to this issue!

If you like this idea, please leave a 👍 or ❤️ reaction on this post to vote for it -- your votes and feedback help us prioritize what to work on next!

peauc commented 5 months ago

This performance feature would really be the cherry on the cake to an already great Posthog :)

pauldambra commented 1 month ago

As a step towards this... so that we can understand what data would be useful to store we've added a feature preview for a waterfall view on top of session replay data.

It doesn't make anything queryable yet 😅 but when you've an interesting session it lets you dig in to the network data gathered with it. It has a few sharp edges but we'd love feedback on what would improve it

2024-05-29 09 27 17