We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0920836 commit f478439Copy full SHA for f478439
apps/web/src/components/tools/vercel_logs/dashboard.tsx
@@ -143,7 +143,7 @@ export default function VercelLogsDashboard() {
143
</CardHeader>
144
<CardContent>
145
<div className="text-2xl font-bold text-destructive">
146
- {isLoading ? "Loading..." : `${Math.round(errorsData[0]?.error_rate ?? 0)}%`}
+ {isLoading ? "Loading..." : `${Math.round(requestsData.filter(d => d.status > 399).reduce((acc, curr) => acc + curr.percentage, 0))}%`}
147
</div>
148
</CardContent>
149
</Card>
0 commit comments