feat: Add basic infrastructure metrics to server monitor summary view

This commit is contained in:
Simon Larsen
2024-07-02 13:06:23 +01:00
parent 0de8e2d818
commit 0df7209723

View File

@@ -27,6 +27,15 @@ const ServerMonitorSummaryView: FunctionComponent<ComponentProps> = (
});
}
if(props.serverMonitorResponse.basicInfrastructureMetrics){
fields.push({
key: "basicInfrastructureMetrics",
title: "Basic Infrastructure Metrics",
description: "CPU, Memory, Disk and Network usage.",
fieldType: FieldType.JSON,
});
}
return (
<div className="space-y-5">
<div className="flex space-x-3">