Skip to content

Commit

Permalink
change to percentile
Browse files Browse the repository at this point in the history
  • Loading branch information
mrproliu committed Jan 24, 2025
1 parent 7803794 commit 7e819f9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ browser_app_web_vitals_fmp_avg = from(BrowserAppWebVitalsPerf.fmpTime).filter(fm
browser_app_web_vitals_cls_avg = from(BrowserAppWebVitalsPerf.clsTime).filter(clsTime > 0).longAvg();
browser_app_web_vitals_lcp_avg = from(BrowserAppWebVitalsPerf.lcpTime).filter(lcpTime > 0).longAvg();

browser_app_web_interaction_inp_avg = from(BrowserAppWebInteractionPerf.inpTime).longAvg();
browser_app_web_interaction_inp_percentile = from(BrowserAppWebInteractionPerf.inpTime).percentile2(10);

// Disable unnecessary hard core stream, targeting @Stream#name
/////////
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1155,7 +1155,7 @@
"i": "18",
"type": "Widget",
"expressions": [
"browser_app_web_interaction_inp_avg"
"relabels(browser_app_web_interaction_inp_percentile{p='50,75,90,95,99'},p='50,75,90,95,99',percentile='50,75,90,95,99')"
],
"graph": {
"type": "Line",
Expand All @@ -1166,7 +1166,7 @@
"showYAxis": true
},
"widget": {
"title": "Web Interaction to Next Paint Avg Time(ms)"
"title": "Web Interaction to Next Paint Use Time(ms)"
},
"associate": [
{
Expand Down Expand Up @@ -1214,6 +1214,12 @@
{
"widgetId": "12-0-18"
}
],
"metricConfig": [
{
"unit": "ms",
"label": "Time"
}
]
}
]
Expand Down

0 comments on commit 7e819f9

Please sign in to comment.