Skip to content

Commit 4e9e480

Browse files
fix(site): fix latency values (#8749)
1 parent f28bac1 commit 4e9e480

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

site/src/pages/TemplatePage/TemplateInsightsPage/TemplateInsightsPage.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ const UserLatencyPanel = ({
133133
{users && users.length === 0 && <NoDataAvailable />}
134134
{users &&
135135
users
136-
.sort((a, b) => b.latency_ms.p95 - a.latency_ms.p95)
136+
.sort((a, b) => b.latency_ms.p50 - a.latency_ms.p50)
137137
.map((row) => (
138138
<Box
139139
key={row.user_id}
@@ -153,13 +153,13 @@ const UserLatencyPanel = ({
153153
</Box>
154154
<Box
155155
sx={{
156-
color: getLatencyColor(theme, row.latency_ms.p95),
156+
color: getLatencyColor(theme, row.latency_ms.p50),
157157
fontWeight: 500,
158158
fontSize: 13,
159159
textAlign: "right",
160160
}}
161161
>
162-
{row.latency_ms.p95.toFixed(0)}ms
162+
{row.latency_ms.p50.toFixed(0)}ms
163163
</Box>
164164
</Box>
165165
))}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy