Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make network API performance metrics queryable #19686

Open
18 tasks
pauldambra opened this issue Jan 9, 2024 · 1 comment
Open
18 tasks

Make network API performance metrics queryable #19686

pauldambra opened this issue Jan 9, 2024 · 1 comment
Labels
enhancement New feature or request feature/apm Feature Tag: Application Performance Monitoring feature/replay Features for Team Replay

Comments

@pauldambra
Copy link
Member

pauldambra commented Jan 9, 2024

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

  • split ingestion so we also ingest performance data into ClickHouse
  • add the PerformanceEntry table into HogQL
    • allow search for sessions
      • by network status code
      • network response time
    • allow finding network requests
      • by their parent page
      • by their target url
      • by their resource type
      • by their network status
  • update insights (once they are converted to use HogQL) so that we can query this data in insights
    • allow graphing
      • request/response size
      • speed
      • status
  • build a performance waterfall view on top of this data per session
  • build a "lighthouse" performance view on top of this data per page
  • show "page score" in the toolbar as you navigate around your site

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!

@pauldambra pauldambra added the enhancement New feature or request label Jan 9, 2024
@pauldambra pauldambra added feature/recordings feature/apm Feature Tag: Application Performance Monitoring labels Jan 9, 2024
@peauc
Copy link

peauc commented Jan 26, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature/apm Feature Tag: Application Performance Monitoring feature/replay Features for Team Replay
Development

No branches or pull requests

3 participants