import * as plugins from './plugins.js'; import type { IControllerFailureDetail, IControllerSystemMetrics, IControllerSystemMetricsHistoryPoint } from './interfaces.js'; export interface IReq_ControllerSystemMetrics extends plugins.typedrequestInterfaces.implementsTR { method: 'controller.system.metrics'; request: Record; response: IControllerSystemMetrics; } export interface IReq_ControllerSystemMetricsHistory extends plugins.typedrequestInterfaces.implementsTR { method: 'controller.system.metrics.history'; request: Record; response: { points: IControllerSystemMetricsHistoryPoint[]; }; } /** * Reads the causes behind generic controller failures the owner UI collected references for. * A reference with no record left in the bounded journal is simply absent from the response. */ export interface IReq_ControllerFailureDetailGet extends plugins.typedrequestInterfaces.implementsTR { method: 'controller.failure.detail.get'; request: { references: string[]; }; response: { failures: IControllerFailureDetail[]; }; }