Uses of Class
org.jenkinsci.plugins.vmanager.charts.util.VManagerSessionsClient.RunAnomalies
Packages that use VManagerSessionsClient.RunAnomalies
-
Uses of VManagerSessionsClient.RunAnomalies in org.jenkinsci.plugins.vmanager.charts.util
Methods in org.jenkinsci.plugins.vmanager.charts.util that return VManagerSessionsClient.RunAnomaliesModifier and TypeMethodDescriptionVManagerSessionsClient.fetchRunAnomalies(String baseUrl, Collection<String> sessionNames, com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials creds, TaskListener listener) Two-step fetch for the build-level Run Anomalies chart: POST/rest/sessions/listwith.InFilteronsession_nameand projection[name, id, total_runs_in_session]to translate session names → ids and sumtotal_runs_in_sessionacross them. POST/rest/data-mining/get-sessions-exceptions-aggregated-countswith the resulting array of ids as the raw JSON body; the response is a single object with the*_critical_ex_count_vmgr_latestand*_unknown_ex_count_vmgr_latestfields for each of the four metrics. Returnsnullif there are no sessions or no ids could be resolved (caller should skip storing the build action in that case).