mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-09-26 19:28:58 +03:00
Improve System Health pane (#24188)
* build out system health pane * tweaks * fixes * fix notice link so it opens the correct camera * tweak language
This commit is contained in:
committed by
Nicolas Mowen
parent
6d33b31bc6
commit
70ce193e09
@@ -114,6 +114,11 @@ export default function EnrichmentMetrics({
|
||||
}
|
||||
|
||||
Object.entries(stats.embeddings).forEach(([rawKey, stat]) => {
|
||||
// embeddings.devices is a label map, not a metric series
|
||||
if (typeof stat !== "number") {
|
||||
return;
|
||||
}
|
||||
|
||||
const key = rawKey.replaceAll("_", " ");
|
||||
if (!(key in series)) {
|
||||
const classificationIndex = rawKey.indexOf("_classification_");
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
import HardwarePane from "@/components/health/HardwarePane";
|
||||
import NoticesPane from "@/components/health/NoticesPane";
|
||||
|
||||
export default function HealthMetrics() {
|
||||
return (
|
||||
<div className="scrollbar-container mt-4 flex size-full flex-col gap-4 overflow-y-auto">
|
||||
<NoticesPane />
|
||||
<HardwarePane />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user