Source
pub async fn admin_show_alerts( &self, num_alerts: i32, ) -> Result<AdminShowAlertsResponse, KineticaError>
Show a list of generated alerts.
Requests a list of the most recent alerts.
num_alerts- Number of most recent alerts to request. The response will include up tonum_alertsdepending on how many alerts there are in the system. A value of 0 returns all stored alerts.
Source
pub async fn admin_show_alerts_with_opts( &self, num_alerts: i32, options: AdminShowAlertsRequestOptions, ) -> Result<AdminShowAlertsResponse, KineticaError>
Show a list of generated alerts.
Requests a list of the most recent alerts.
num_alerts- Number of most recent alerts to request. The response will include up tonum_alertsdepending on how many alerts there are in the system. A value of 0 returns all stored alerts.options- The optional parameters; any left unset take the server’s defaults.
Source
pub async fn admin_show_alerts_raw( &self, request: &AdminShowAlertsRequest, ) -> Result<AdminShowAlertsResponse, KineticaError>
Sends a pre-built AdminShowAlertsRequest to the /admin/show/alerts endpoint.
Source
pub async fn admin_show_alerts_from_url( &self, url: &str, request: &AdminShowAlertsRequest, ) -> Result<AdminShowAlertsResponse, KineticaError>
Sends a pre-built AdminShowAlertsRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.