Tiny fix in the monitoring
This commit is contained in:
@@ -102,19 +102,23 @@ export default function MonitoringPage() {
|
||||
<Card>
|
||||
<CardContent className="p-4">
|
||||
<div className="text-xs text-muted-foreground uppercase tracking-wider mb-1">
|
||||
Cluster CPU
|
||||
CPU usage
|
||||
</div>
|
||||
<div className="stat-value">68%</div>
|
||||
<Progress value={68} className="w-full" />
|
||||
<div className="stat-value">
|
||||
{liveData?.cpuUsage?.toFixed(0) || 0}%
|
||||
</div>
|
||||
<Progress value={liveData?.cpuUsage} className="w-full" />
|
||||
</CardContent>
|
||||
</Card>
|
||||
<Card>
|
||||
<CardContent className="p-4">
|
||||
<div className="text-xs text-muted-foreground uppercase tracking-wider mb-1">
|
||||
Cluster Memory
|
||||
Memory usage
|
||||
</div>
|
||||
<div className="stat-value">71%</div>
|
||||
<Progress value={71} className="w-full" />
|
||||
<div className="stat-value">
|
||||
{liveData?.ramUsage?.toFixed(0) || 0}%
|
||||
</div>
|
||||
<Progress value={liveData?.ramUsage} className="w-full" />
|
||||
</CardContent>
|
||||
</Card>
|
||||
<Card>
|
||||
|
||||
Reference in New Issue
Block a user