"use client";
import { SpecializedOpsPage } from "@/src/modules/accounting/components/SpecializedOpsPage";
export function MonitoringPerformancePage() {
  return (
    <SpecializedOpsPage
      title="عملکرد سیستم"
      description="عملکرد سیستم — ثبت آستانه/شاخص پایش."
      module="monitoring"
      docType="performance"
      createLabel="ثبت عملکرد سیستم"
      fields={[
        { key: "metric_name", label: "نام شاخص", kind: "text" },
        { key: "threshold", label: "آستانه", kind: "money" },
        { key: "severity", label: "اولویت", kind: "select", options: [
          { value: "info", label: "اطلاعات" },
          { value: "warning", label: "هشدار" },
          { value: "critical", label: "بحرانی" },
        ]},
        ]}
    />
  );
}
