-
Notifications
You must be signed in to change notification settings - Fork 713
feat: Updated RUM Web Vitals #9610
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
base: main
Are you sure you want to change the base?
Conversation
|
Failed to generate code suggestions for PR |
Greptile OverviewGreptile SummaryUpdated RUM dashboard configurations to reflect current Web Vitals standards by replacing the deprecated First Input Delay (FID) metric with Interaction to Next Paint (INP), and adding three new important metrics: First Contentful Paint (FCP), Time to First Byte (TTFB), and Page Load Time. Key Changes:
Confidence Score: 5/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant User as User/Browser
participant RUM as RUM SDK
participant Dashboard as Dashboard Config
participant Backend as OpenObserve Backend
participant DB as _rumdata Stream
Note over User,DB: Web Vitals Data Collection & Visualization
User->>RUM: Navigate & Interact with Page
RUM->>RUM: Collect Web Vitals Metrics<br/>(LCP, INP, CLS, FCP, TTFB, Load Time)
RUM->>Backend: POST /rum/v1/{org_id}/rum<br/>(view_interaction_to_next_paint,<br/>view_first_contentful_paint, etc.)
Backend->>DB: Store RUM metrics
Note over Dashboard: Configuration Update (This PR)
Dashboard->>Dashboard: Update web_vitals.json<br/>- Replace FID → INP<br/>- Add FCP, TTFB, Page Load Time panels
Dashboard->>Dashboard: Update overview.json<br/>- Replace FID → INP metric
User->>Dashboard: View RUM Dashboard
Dashboard->>Backend: Query _rumdata stream<br/>SELECT avg(view_interaction_to_next_paint),<br/>avg(view_first_contentful_paint), etc.
Backend->>DB: Fetch aggregated metrics
DB-->>Backend: Return metric data
Backend-->>Dashboard: Return query results
Dashboard-->>User: Display Updated Web Vitals<br/>(INP, FCP, TTFB, etc.)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 files reviewed, no comments
96a6757 to
292f79c
Compare
#9611
Design at: rum