@oneuptime/common 16.0.0 → 17.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (572) hide show
  1. package/Models/AnalyticsModels/RumProductAnalyticsEvent.js +15 -6
  2. package/Models/AnalyticsModels/RumProductAnalyticsSession.js +27 -10
  3. package/Models/AnalyticsModels/RumProductAnalyticsUser.js +16 -4
  4. package/Models/AnalyticsModels/RumSession.js +12 -0
  5. package/Models/DatabaseModels/AlertSeverity.js +12 -3
  6. package/Models/DatabaseModels/DataAsset.d.mts +1 -0
  7. package/Models/DatabaseModels/DataAsset.d.ts +1 -0
  8. package/Models/DatabaseModels/DataAsset.js +23 -0
  9. package/Models/DatabaseModels/DataBiConnection.d.mts +2 -1
  10. package/Models/DatabaseModels/DataBiConnection.d.ts +2 -1
  11. package/Models/DatabaseModels/DataBiConnection.js +15 -0
  12. package/Models/DatabaseModels/DataCheck.d.mts +3 -0
  13. package/Models/DatabaseModels/DataCheck.d.ts +3 -0
  14. package/Models/DatabaseModels/DataCheck.js +49 -0
  15. package/Models/DatabaseModels/DataDashboard.d.mts +1 -0
  16. package/Models/DatabaseModels/DataDashboard.d.ts +1 -0
  17. package/Models/DatabaseModels/DataDashboard.js +15 -0
  18. package/Models/DatabaseModels/DataPipeline.d.mts +1 -0
  19. package/Models/DatabaseModels/DataPipeline.d.ts +1 -0
  20. package/Models/DatabaseModels/DataPipeline.js +25 -0
  21. package/Models/DatabaseModels/DataPipelineOwnerTeam.d.mts +19 -0
  22. package/Models/DatabaseModels/DataPipelineOwnerTeam.d.ts +19 -0
  23. package/Models/DatabaseModels/DataPipelineOwnerTeam.js +477 -0
  24. package/Models/DatabaseModels/DataPipelineOwnerTeam.mjs +2 -0
  25. package/Models/DatabaseModels/DataPipelineOwnerUser.d.mts +18 -0
  26. package/Models/DatabaseModels/DataPipelineOwnerUser.d.ts +18 -0
  27. package/Models/DatabaseModels/DataPipelineOwnerUser.js +476 -0
  28. package/Models/DatabaseModels/DataPipelineOwnerUser.mjs +2 -0
  29. package/Models/DatabaseModels/DataStore.d.mts +1 -0
  30. package/Models/DatabaseModels/DataStore.d.ts +1 -0
  31. package/Models/DatabaseModels/DataStore.js +23 -0
  32. package/Models/DatabaseModels/DataStoreFinding.d.mts +2 -0
  33. package/Models/DatabaseModels/DataStoreFinding.d.ts +2 -0
  34. package/Models/DatabaseModels/DataStoreFinding.js +21 -0
  35. package/Models/DatabaseModels/EmailLog.d.mts +1 -0
  36. package/Models/DatabaseModels/EmailLog.d.ts +1 -0
  37. package/Models/DatabaseModels/EmailLog.js +35 -0
  38. package/Models/DatabaseModels/GlobalConfig.d.mts +5 -0
  39. package/Models/DatabaseModels/GlobalConfig.d.ts +5 -0
  40. package/Models/DatabaseModels/GlobalConfig.js +128 -0
  41. package/Models/DatabaseModels/GlobalOidc.d.mts +1 -0
  42. package/Models/DatabaseModels/GlobalOidc.d.ts +1 -0
  43. package/Models/DatabaseModels/GlobalOidc.js +29 -0
  44. package/Models/DatabaseModels/IncidentSeverity.js +12 -3
  45. package/Models/DatabaseModels/Index.js +6 -0
  46. package/Models/DatabaseModels/Monitor.js +18 -0
  47. package/Models/DatabaseModels/NetworkDevice.d.mts +1 -0
  48. package/Models/DatabaseModels/NetworkDevice.d.ts +1 -0
  49. package/Models/DatabaseModels/NetworkDevice.js +49 -0
  50. package/Models/DatabaseModels/NetworkDeviceAutoImportRule.js +2 -2
  51. package/Models/DatabaseModels/OnCallDutyPolicyEscalationRule.js +1 -1
  52. package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.mts +6 -0
  53. package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.ts +6 -0
  54. package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +156 -1
  55. package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayer.js +1 -1
  56. package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayerUser.js +1 -1
  57. package/Models/DatabaseModels/Probe.d.mts +4 -0
  58. package/Models/DatabaseModels/Probe.d.ts +4 -0
  59. package/Models/DatabaseModels/Probe.js +100 -0
  60. package/Models/DatabaseModels/ProductFeedback.d.mts +2 -1
  61. package/Models/DatabaseModels/ProductFeedback.d.ts +2 -1
  62. package/Models/DatabaseModels/ProductFeedback.js +34 -2
  63. package/Models/DatabaseModels/Project.d.mts +4 -1
  64. package/Models/DatabaseModels/Project.d.ts +4 -1
  65. package/Models/DatabaseModels/Project.js +147 -7
  66. package/Models/DatabaseModels/ProjectCallSMSConfig.js +8 -2
  67. package/Models/DatabaseModels/ProjectOidc.d.mts +1 -0
  68. package/Models/DatabaseModels/ProjectOidc.d.ts +1 -0
  69. package/Models/DatabaseModels/ProjectOidc.js +46 -0
  70. package/Models/DatabaseModels/Reseller.js +8 -2
  71. package/Models/DatabaseModels/ResellerPlan.js +12 -3
  72. package/Models/DatabaseModels/RumApplication.d.mts +1 -0
  73. package/Models/DatabaseModels/RumApplication.d.ts +1 -0
  74. package/Models/DatabaseModels/RumApplication.js +58 -0
  75. package/Models/DatabaseModels/RumSessionErasureRequest.d.mts +1 -0
  76. package/Models/DatabaseModels/RumSessionErasureRequest.d.ts +1 -0
  77. package/Models/DatabaseModels/RumSessionErasureRequest.js +40 -0
  78. package/Models/DatabaseModels/SecurityCaseTask.d.mts +1 -0
  79. package/Models/DatabaseModels/SecurityCaseTask.d.ts +1 -0
  80. package/Models/DatabaseModels/SecurityCaseTask.js +27 -0
  81. package/Models/DatabaseModels/ServerEmailLog.d.mts +12 -0
  82. package/Models/DatabaseModels/ServerEmailLog.d.ts +12 -0
  83. package/Models/DatabaseModels/ServerEmailLog.js +206 -0
  84. package/Models/DatabaseModels/ServerEmailLog.mjs +2 -0
  85. package/Models/DatabaseModels/StatusPageGroup.js +1 -1
  86. package/Models/DatabaseModels/StatusPageResource.js +1 -1
  87. package/Models/DatabaseModels/TelemetryException.js +15 -2
  88. package/Models/DatabaseModels/TelemetryIngestionKey.js +10 -0
  89. package/Models/DatabaseModels/User.d.mts +3 -0
  90. package/Models/DatabaseModels/User.d.ts +3 -0
  91. package/Models/DatabaseModels/User.js +66 -0
  92. package/Models/DatabaseModels/UserSession.d.mts +1 -0
  93. package/Models/DatabaseModels/UserSession.d.ts +1 -0
  94. package/Models/DatabaseModels/UserSession.js +32 -0
  95. package/Models/DatabaseModels/WorkspaceLiveMessage.js +21 -15
  96. package/Models/DatabaseModels/WorkspaceNotificationLog.js +17 -9
  97. package/Models/DatabaseModels/WorkspaceNotificationRule.js +8 -2
  98. package/Models/DatabaseModels/WorkspaceNotificationSummary.js +1 -1
  99. package/Server/Services/DatabaseService.d.mts +6 -0
  100. package/Server/Services/DatabaseService.d.ts +6 -0
  101. package/Server/Utils/Workspace/WorkspaceBase.d.mts +1 -0
  102. package/Server/Utils/Workspace/WorkspaceBase.d.ts +1 -0
  103. package/Types/AI/AIActionWords.js +1 -0
  104. package/Types/AI/AIChatPageContext.d.mts +1 -0
  105. package/Types/AI/AIChatPageContext.d.ts +1 -0
  106. package/Types/AI/AIChatPageContext.js +6 -0
  107. package/Types/AI/AIRunProducts.d.mts +14 -0
  108. package/Types/AI/AIRunProducts.d.ts +14 -0
  109. package/Types/AI/AIRunProducts.js +40 -0
  110. package/Types/AI/AIRunProducts.mjs +2 -0
  111. package/Types/AI/AskAiRatings.d.mts +31 -0
  112. package/Types/AI/AskAiRatings.d.ts +31 -0
  113. package/Types/AI/AskAiRatings.js +173 -0
  114. package/Types/AI/AskAiRatings.mjs +13 -0
  115. package/Types/Accounts/SignUpInvitation.d.mts +12 -0
  116. package/Types/Accounts/SignUpInvitation.d.ts +12 -0
  117. package/Types/Accounts/SignUpInvitation.js +84 -0
  118. package/Types/Accounts/SignUpInvitation.mjs +5 -0
  119. package/Types/Analytics/ActivationMilestone.d.mts +2 -1
  120. package/Types/Analytics/ActivationMilestone.d.ts +2 -1
  121. package/Types/Analytics/ActivationMilestone.js +11 -0
  122. package/Types/Analytics/ProductEvent.d.mts +11 -0
  123. package/Types/Analytics/ProductEvent.d.ts +11 -0
  124. package/Types/Analytics/ProductEvent.js +166 -13
  125. package/Types/Analytics/ProductEvent.mjs +3 -0
  126. package/Types/Backup/BackupScriptRun.d.mts +17 -0
  127. package/Types/Backup/BackupScriptRun.d.ts +17 -0
  128. package/Types/Backup/BackupScriptRun.js +96 -0
  129. package/Types/Backup/BackupScriptRun.mjs +6 -0
  130. package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.mts +2 -0
  131. package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.ts +2 -0
  132. package/Types/BaseDatabase/ReadAudience.d.mts +9 -0
  133. package/Types/BaseDatabase/ReadAudience.d.ts +9 -0
  134. package/Types/BaseDatabase/ReadAudience.js +2 -0
  135. package/Types/BaseDatabase/ReadAudience.mjs +1 -0
  136. package/Types/Cloud/CloudKeyMetricGroup.d.mts +17 -0
  137. package/Types/Cloud/CloudKeyMetricGroup.d.ts +17 -0
  138. package/Types/Cloud/CloudKeyMetricGroup.js +84 -0
  139. package/Types/Cloud/CloudKeyMetricGroup.mjs +5 -0
  140. package/Types/Cloud/CloudKeyMetrics.d.mts +28 -1
  141. package/Types/Cloud/CloudKeyMetrics.d.ts +28 -1
  142. package/Types/Cloud/CloudKeyMetrics.js +1209 -206
  143. package/Types/Cloud/CloudKeyMetrics.mjs +6 -0
  144. package/Types/Cloud/CloudResourceCatalog.js +43 -12
  145. package/Types/CloudConnection/CloudConnectionSetupCommands.d.mts +1 -0
  146. package/Types/CloudConnection/CloudConnectionSetupCommands.d.ts +1 -0
  147. package/Types/CloudConnection/CloudConnectionSetupCommands.js +49 -6
  148. package/Types/CloudConnection/CloudConnectionSetupCommands.mjs +1 -0
  149. package/Types/CloudConnection/CloudStreamTemplate.js +6 -2
  150. package/Types/CreateFormAddress.d.mts +3 -0
  151. package/Types/CreateFormAddress.d.ts +3 -0
  152. package/Types/CreateFormAddress.js +17 -0
  153. package/Types/CreateFormAddress.mjs +4 -0
  154. package/Types/DataObservability/DataAssetFreshness.d.mts +5 -0
  155. package/Types/DataObservability/DataAssetFreshness.d.ts +5 -0
  156. package/Types/DataObservability/DataAssetFreshness.js +28 -5
  157. package/Types/DataObservability/DataAssetFreshness.mjs +1 -0
  158. package/Types/DataObservability/DataBiLineage.d.mts +69 -0
  159. package/Types/DataObservability/DataBiLineage.d.ts +69 -0
  160. package/Types/DataObservability/DataBiLineage.js +198 -0
  161. package/Types/DataObservability/DataBiLineage.mjs +13 -0
  162. package/Types/DataObservability/DataLineageColumnTrail.d.mts +2 -1
  163. package/Types/DataObservability/DataLineageColumnTrail.d.ts +2 -1
  164. package/Types/DataObservability/DataLineageColumnTrail.js +41 -3
  165. package/Types/DataObservability/DataLineageColumnTrail.mjs +1 -0
  166. package/Types/DataObservability/DataLineageMap.d.mts +67 -1
  167. package/Types/DataObservability/DataLineageMap.d.ts +67 -1
  168. package/Types/DataObservability/DataLineageMap.js +335 -3
  169. package/Types/DataObservability/DataLineageMap.mjs +14 -0
  170. package/Types/DataObservability/DataObservabilityApiTypes.d.mts +42 -2
  171. package/Types/DataObservability/DataObservabilityApiTypes.d.ts +42 -2
  172. package/Types/DataObservability/DataObservabilityApiTypes.js +21 -1
  173. package/Types/DataObservability/DataObservabilityApiTypes.mjs +4 -0
  174. package/Types/DataObservability/DataObservabilityAttention.d.mts +5 -0
  175. package/Types/DataObservability/DataObservabilityAttention.d.ts +5 -0
  176. package/Types/DataObservability/DataObservabilityAttention.js +48 -1
  177. package/Types/DataObservability/DataObservabilityAttention.mjs +5 -0
  178. package/Types/DataObservability/DataPipelineSchedule.d.mts +4 -0
  179. package/Types/DataObservability/DataPipelineSchedule.d.ts +4 -0
  180. package/Types/DataObservability/DataPipelineSchedule.js +26 -6
  181. package/Types/DataObservability/DataPipelineSchedule.mjs +1 -0
  182. package/Types/DataObservability/DataTableLineage.d.mts +6 -0
  183. package/Types/DataObservability/DataTableLineage.d.ts +6 -0
  184. package/Types/DataSecurity/DataSecurityApiTypes.d.mts +24 -0
  185. package/Types/DataSecurity/DataSecurityApiTypes.d.ts +24 -0
  186. package/Types/DataSecurity/DataSecurityApiTypes.js +21 -1
  187. package/Types/DataSecurity/DataSecurityApiTypes.mjs +2 -0
  188. package/Types/DataSecurity/FindingSampleRecord.d.mts +16 -0
  189. package/Types/DataSecurity/FindingSampleRecord.d.ts +16 -0
  190. package/Types/DataSecurity/FindingSampleRecord.js +112 -0
  191. package/Types/DataSecurity/FindingSampleRecord.mjs +6 -0
  192. package/Types/Database/AccessControl/PermissionScopeNarrowing.js +6 -0
  193. package/Types/Database/MoveInList.d.mts +41 -0
  194. package/Types/Database/MoveInList.d.ts +41 -0
  195. package/Types/Database/MoveInList.js +177 -0
  196. package/Types/Database/MoveInList.mjs +4 -0
  197. package/Types/Email/ServerEmailLog.d.mts +41 -0
  198. package/Types/Email/ServerEmailLog.d.ts +41 -0
  199. package/Types/Email/ServerEmailLog.js +136 -0
  200. package/Types/Email/ServerEmailLog.mjs +11 -0
  201. package/Types/Exception/ProductSwitchedOffException.d.mts +12 -0
  202. package/Types/Exception/ProductSwitchedOffException.d.ts +12 -0
  203. package/Types/Exception/ProductSwitchedOffException.js +38 -0
  204. package/Types/Exception/ProductSwitchedOffException.mjs +2 -0
  205. package/Types/Exception/UnexplainedError.d.mts +7 -0
  206. package/Types/Exception/UnexplainedError.d.ts +7 -0
  207. package/Types/Exception/UnexplainedError.js +36 -1
  208. package/Types/Exception/UnexplainedError.mjs +2 -0
  209. package/Types/InstallationHealth/InstallationHealth.d.mts +39 -0
  210. package/Types/InstallationHealth/InstallationHealth.d.ts +39 -0
  211. package/Types/InstallationHealth/InstallationHealth.js +163 -0
  212. package/Types/Kubernetes/KubernetesHealth.d.mts +16 -0
  213. package/Types/Kubernetes/KubernetesHealth.d.ts +16 -0
  214. package/Types/Kubernetes/KubernetesHealth.js +128 -6
  215. package/Types/Kubernetes/KubernetesHealth.mjs +2 -0
  216. package/Types/Monitor/CloudAppAlertTemplates.d.mts +3 -13
  217. package/Types/Monitor/CloudAppAlertTemplates.d.ts +3 -13
  218. package/Types/Monitor/CloudAppAlertTemplates.js +13 -199
  219. package/Types/Monitor/CriteriaFilter.d.mts +2 -1
  220. package/Types/Monitor/CriteriaFilter.d.ts +2 -1
  221. package/Types/Monitor/CriteriaFilter.js +9 -1
  222. package/Types/Monitor/CriteriaFilterTerms.js +1 -0
  223. package/Types/Monitor/MessageQueueAlertTemplates.d.mts +6 -0
  224. package/Types/Monitor/MessageQueueAlertTemplates.d.ts +6 -0
  225. package/Types/Monitor/MessageQueueAlertTemplates.js +32 -0
  226. package/Types/Monitor/MessageQueueAlertTemplates.mjs +2 -0
  227. package/Types/Monitor/MonitorCriteriaInstance.d.mts +2 -0
  228. package/Types/Monitor/MonitorCriteriaInstance.d.ts +2 -0
  229. package/Types/Monitor/MonitorCriteriaInstance.js +52 -0
  230. package/Types/Monitor/MonitorMetricType.d.mts +2 -1
  231. package/Types/Monitor/MonitorMetricType.d.ts +2 -1
  232. package/Types/Monitor/MonitorMetricType.js +1 -0
  233. package/Types/Monitor/MonitorStepLimit.d.mts +8 -0
  234. package/Types/Monitor/MonitorStepLimit.d.ts +8 -0
  235. package/Types/Monitor/MonitorStepLimit.js +62 -0
  236. package/Types/Monitor/MonitorStepLimit.mjs +3 -0
  237. package/Types/Monitor/MonitorSteps.js +5 -0
  238. package/Types/Monitor/MonitorType.js +2 -1
  239. package/Types/Monitor/ProbeStatusMonitor/ProbeStatusMonitorResponse.d.mts +5 -0
  240. package/Types/Monitor/ProbeStatusMonitor/ProbeStatusMonitorResponse.d.ts +5 -0
  241. package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.mts +1 -1
  242. package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.ts +1 -1
  243. package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.js +111 -1
  244. package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.mts +7 -1
  245. package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.ts +7 -1
  246. package/Types/Monitor/Recommendation/MonitorRecommendationTypes.js +15 -0
  247. package/Types/Monitor/RequestHealthAlertTemplates.d.mts +66 -0
  248. package/Types/Monitor/RequestHealthAlertTemplates.d.ts +66 -0
  249. package/Types/Monitor/RequestHealthAlertTemplates.js +227 -0
  250. package/Types/Monitor/RequestHealthAlertTemplates.mjs +4 -0
  251. package/Types/Monitor/ServerlessAlertTemplates.d.mts +23 -0
  252. package/Types/Monitor/ServerlessAlertTemplates.d.ts +23 -0
  253. package/Types/Monitor/ServerlessAlertTemplates.js +111 -0
  254. package/Types/Monitor/ServerlessAlertTemplates.mjs +7 -0
  255. package/Types/Monitor/ServiceAlertTemplates.d.mts +3 -0
  256. package/Types/Monitor/ServiceAlertTemplates.d.ts +3 -0
  257. package/Types/Monitor/ServiceAlertTemplates.js +61 -0
  258. package/Types/Monitor/ServiceAlertTemplates.mjs +2 -0
  259. package/Types/Monitor/TelemetryRulePreview.js +18 -6
  260. package/Types/Monitor/WhoIsTold.d.mts +71 -0
  261. package/Types/Monitor/WhoIsTold.d.ts +71 -0
  262. package/Types/Monitor/WhoIsTold.js +348 -121
  263. package/Types/Monitor/WhoIsTold.mjs +7 -0
  264. package/Types/NetworkAutomation/RuleRunResult.js +9 -5
  265. package/Types/NetworkDevice/DiscoveredDevice.d.mts +40 -0
  266. package/Types/NetworkDevice/DiscoveredDevice.d.ts +40 -0
  267. package/Types/NetworkDevice/DiscoveredDevice.js +205 -1
  268. package/Types/NetworkDevice/DiscoveredDevice.mjs +9 -0
  269. package/Types/NetworkDevice/DiscoveryImport.js +8 -3
  270. package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.d.mts +26 -3
  271. package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.d.ts +26 -3
  272. package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.js +75 -3
  273. package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.mjs +2 -0
  274. package/Types/Notification/WhoWasTold.d.mts +190 -0
  275. package/Types/Notification/WhoWasTold.d.ts +190 -0
  276. package/Types/Notification/WhoWasTold.js +662 -0
  277. package/Types/Notification/WhoWasTold.mjs +16 -0
  278. package/Types/NotificationRule/PagingLadderDefault.d.mts +75 -0
  279. package/Types/NotificationRule/PagingLadderDefault.d.ts +75 -0
  280. package/Types/NotificationRule/PagingLadderDefault.js +529 -0
  281. package/Types/NotificationRule/PagingLadderDefault.mjs +24 -0
  282. package/Types/OnCallDutyPolicy/EveryNewEventRules.d.mts +7 -0
  283. package/Types/OnCallDutyPolicy/EveryNewEventRules.d.ts +7 -0
  284. package/Types/OnCallDutyPolicy/EveryNewEventRules.js +53 -2
  285. package/Types/OnCallDutyPolicy/EveryNewEventRules.mjs +3 -0
  286. package/Types/OnCallDutyPolicy/NotificationSetupToFinish.d.mts +6 -0
  287. package/Types/OnCallDutyPolicy/NotificationSetupToFinish.d.ts +6 -0
  288. package/Types/OnCallDutyPolicy/NotificationSetupToFinish.js +27 -0
  289. package/Types/OnCallDutyPolicy/NotificationSetupToFinish.mjs +3 -0
  290. package/Types/OnCallDutyPolicy/OnCallFireDrill.d.mts +83 -0
  291. package/Types/OnCallDutyPolicy/OnCallFireDrill.d.ts +83 -0
  292. package/Types/OnCallDutyPolicy/OnCallFireDrill.js +105 -0
  293. package/Types/OnCallDutyPolicy/OnCallFireDrill.mjs +9 -0
  294. package/Types/OnCallDutyPolicy/OnCallPagePassOn.js +12 -4
  295. package/Types/OnCallDutyPolicy/OnCallRunLevel.d.mts +12 -0
  296. package/Types/OnCallDutyPolicy/OnCallRunLevel.d.ts +12 -0
  297. package/Types/OnCallDutyPolicy/OnCallRunLevel.js +69 -8
  298. package/Types/OnCallDutyPolicy/OnCallRunLevel.mjs +3 -0
  299. package/Types/OnCallDutyPolicy/OnCallTestPage.d.mts +4 -0
  300. package/Types/OnCallDutyPolicy/OnCallTestPage.d.ts +4 -0
  301. package/Types/OnCallDutyPolicy/OnCallTestPage.js +20 -7
  302. package/Types/OnCallDutyPolicy/OnCallTestPage.mjs +2 -0
  303. package/Types/OnCallDutyPolicy/ScheduleLayersSave.d.mts +2 -0
  304. package/Types/OnCallDutyPolicy/ScheduleLayersSave.d.ts +2 -0
  305. package/Types/OnCallDutyPolicy/ScheduleLayersSave.js +14 -1
  306. package/Types/OnCallDutyPolicy/ScheduleLayersSave.mjs +2 -0
  307. package/Types/OnCallDutyPolicy/UserOverrideEdit.d.mts +7 -0
  308. package/Types/OnCallDutyPolicy/UserOverrideEdit.d.ts +7 -0
  309. package/Types/OnCallDutyPolicy/UserOverrideEdit.js +63 -1
  310. package/Types/OnCallDutyPolicy/UserOverrideEdit.mjs +4 -0
  311. package/Types/OnCallDutyPolicy/UserOverrideOverlap.d.mts +21 -1
  312. package/Types/OnCallDutyPolicy/UserOverrideOverlap.d.ts +21 -1
  313. package/Types/OnCallDutyPolicy/UserOverrideOverlap.js +46 -2
  314. package/Types/Permission.d.mts +8 -0
  315. package/Types/Permission.d.ts +8 -0
  316. package/Types/Permission.js +84 -0
  317. package/Types/Probe/ProbeBehind.d.mts +48 -0
  318. package/Types/Probe/ProbeBehind.d.ts +48 -0
  319. package/Types/Probe/ProbeBehind.js +196 -0
  320. package/Types/Probe/ProbeBehind.mjs +6 -0
  321. package/Types/Product/ProductRecordTables.d.mts +8 -0
  322. package/Types/Product/ProductRecordTables.d.ts +8 -0
  323. package/Types/Product/ProductRecordTables.js +847 -0
  324. package/Types/Product/ProductRecordTables.mjs +5 -0
  325. package/Types/Product/ProductUsage.d.mts +2 -0
  326. package/Types/Product/ProductUsage.d.ts +2 -0
  327. package/Types/Product/ProductUsage.js +41 -6
  328. package/Types/Product/ProductUsage.mjs +2 -0
  329. package/Types/Product/ServerProductOffReason.d.mts +4 -0
  330. package/Types/Product/ServerProductOffReason.d.ts +4 -0
  331. package/Types/Product/ServerProductOffReason.js +19 -0
  332. package/Types/Product/ServerProductOffReason.mjs +2 -0
  333. package/Types/Product/ServerProducts.d.mts +2 -4
  334. package/Types/Product/ServerProducts.d.ts +2 -4
  335. package/Types/Product/ServerProducts.js +19 -17
  336. package/Types/ProductFeedback/ProductFeedback.d.mts +45 -1
  337. package/Types/ProductFeedback/ProductFeedback.d.ts +45 -1
  338. package/Types/ProductFeedback/ProductFeedback.js +185 -5
  339. package/Types/ProductFeedback/ProductFeedback.mjs +11 -0
  340. package/Types/PushNotification/PushNotificationCategory.d.mts +1 -0
  341. package/Types/PushNotification/PushNotificationCategory.d.ts +1 -0
  342. package/Types/PushNotification/PushNotificationCategory.js +17 -6
  343. package/Types/PushNotification/PushNotificationCategory.mjs +1 -0
  344. package/Types/Rules/RuleCriteriaFieldRegistry.d.mts +18 -0
  345. package/Types/Rules/RuleCriteriaFieldRegistry.d.ts +18 -0
  346. package/Types/Rules/RuleCriteriaFieldRegistry.js +34 -1
  347. package/Types/Rules/RuleCriteriaFieldRegistry.mjs +4 -0
  348. package/Types/Rum/ProductAnalytics.d.mts +9 -0
  349. package/Types/Rum/ProductAnalytics.d.ts +9 -0
  350. package/Types/Rum/ProductAnalytics.js +56 -8
  351. package/Types/Rum/ProductAnalytics.mjs +6 -0
  352. package/Types/Rum/ProductAnalyticsEvents.js +2 -1
  353. package/Types/Rum/SessionReplay.d.mts +3 -0
  354. package/Types/Rum/SessionReplay.d.ts +3 -0
  355. package/Types/Rum/SessionReplay.js +35 -1
  356. package/Types/Rum/SessionReplay.mjs +2 -0
  357. package/Types/Runbook/RunbookTriggerType.d.mts +1 -0
  358. package/Types/Runbook/RunbookTriggerType.d.ts +1 -0
  359. package/Types/Runbook/RunbookTriggerType.js +19 -1
  360. package/Types/Runbook/RunbookTriggerType.mjs +1 -0
  361. package/Types/SSO/IdentityProviderSignOut.d.mts +24 -0
  362. package/Types/SSO/IdentityProviderSignOut.d.ts +24 -0
  363. package/Types/SSO/IdentityProviderSignOut.js +124 -0
  364. package/Types/SSO/IdentityProviderSignOut.mjs +10 -0
  365. package/Types/SecurityCase/SecurityCaseEventEvidence.d.mts +4 -0
  366. package/Types/SecurityCase/SecurityCaseEventEvidence.d.ts +4 -0
  367. package/Types/SecurityCase/SecurityCaseEventEvidence.js +12 -0
  368. package/Types/SecurityCase/SecurityCaseMatches.d.mts +78 -0
  369. package/Types/SecurityCase/SecurityCaseMatches.d.ts +78 -0
  370. package/Types/SecurityCase/SecurityCaseMatches.js +252 -0
  371. package/Types/SecurityCase/SecurityCaseMatches.mjs +17 -0
  372. package/Types/ServerSending/ProjectCanSend.d.mts +10 -0
  373. package/Types/ServerSending/ProjectCanSend.d.ts +10 -0
  374. package/Types/ServerSending/ProjectCanSend.js +49 -0
  375. package/Types/ServerSending/ProjectCanSend.mjs +4 -0
  376. package/Types/ServerSending/ServerAlerts.d.mts +78 -0
  377. package/Types/ServerSending/ServerAlerts.d.ts +78 -0
  378. package/Types/ServerSending/ServerAlerts.js +393 -0
  379. package/Types/ServerSending/ServerAlerts.mjs +8 -0
  380. package/Types/ServerSending/ServerSendingStatus.d.mts +6 -0
  381. package/Types/ServerSending/ServerSendingStatus.d.ts +6 -0
  382. package/Types/ServerSending/ServerSendingStatus.js +23 -0
  383. package/Types/ServerSending/ServerSetUpProblem.d.mts +46 -0
  384. package/Types/ServerSending/ServerSetUpProblem.d.ts +46 -0
  385. package/Types/ServerSending/ServerSetUpProblem.js +164 -0
  386. package/Types/ServerSending/ServerSetUpProblem.mjs +6 -0
  387. package/Types/ServerSetup/ServerSetupChecklist.d.mts +35 -1
  388. package/Types/ServerSetup/ServerSetupChecklist.d.ts +35 -1
  389. package/Types/ServerSetup/ServerSetupChecklist.js +270 -33
  390. package/Types/ServerSetup/ServerSetupChecklist.mjs +5 -0
  391. package/Types/ServerSetup/ServerTestSend.d.mts +11 -0
  392. package/Types/ServerSetup/ServerTestSend.d.ts +11 -0
  393. package/Types/ServerSetup/ServerTestSend.js +60 -3
  394. package/Types/ServerSetup/ServerTestSend.mjs +2 -0
  395. package/Types/ServiceLevelObjective/SloStatus.d.mts +3 -0
  396. package/Types/ServiceLevelObjective/SloStatus.d.ts +3 -0
  397. package/Types/ServiceLevelObjective/SloStatus.js +38 -0
  398. package/Types/ServiceLevelObjective/SloStatus.mjs +2 -0
  399. package/Types/ServiceLevelObjective/SloStatusChange.d.mts +10 -0
  400. package/Types/ServiceLevelObjective/SloStatusChange.d.ts +10 -0
  401. package/Types/ServiceLevelObjective/SloStatusChange.js +71 -0
  402. package/Types/ServiceLevelObjective/SloStatusChange.mjs +5 -0
  403. package/Types/SetupHealth/SetupHealth.d.mts +31 -3
  404. package/Types/SetupHealth/SetupHealth.d.ts +31 -3
  405. package/Types/SetupHealth/SetupHealth.js +333 -4
  406. package/Types/SetupHealth/SetupHealth.mjs +5 -0
  407. package/Types/StatusPage/NewIncidentSubscriberNotificationDefault.js +8 -5
  408. package/Types/StatusPage/StatusPagePublicName.d.mts +6 -0
  409. package/Types/StatusPage/StatusPagePublicName.d.ts +6 -0
  410. package/Types/StatusPage/StatusPagePublicName.js +32 -0
  411. package/Types/StatusPage/StatusPagePublicName.mjs +3 -0
  412. package/Types/Team/InvitationEmailsNotSent.d.mts +28 -0
  413. package/Types/Team/InvitationEmailsNotSent.d.ts +28 -0
  414. package/Types/Team/InvitationEmailsNotSent.js +261 -0
  415. package/Types/Team/InvitationEmailsNotSent.mjs +13 -0
  416. package/Types/Team/ProjectMemberSearch.d.mts +15 -0
  417. package/Types/Team/ProjectMemberSearch.d.ts +15 -0
  418. package/Types/Team/ProjectMemberSearch.js +180 -0
  419. package/Types/Team/ProjectMemberSearch.mjs +10 -0
  420. package/Types/Team/ProjectRemovalReach.d.mts +15 -0
  421. package/Types/Team/ProjectRemovalReach.d.ts +15 -0
  422. package/Types/Team/ProjectRemovalReach.js +154 -0
  423. package/Types/Team/ProjectRemovalReach.mjs +8 -0
  424. package/Types/Team/ResendInvitation.d.mts +27 -0
  425. package/Types/Team/ResendInvitation.d.ts +27 -0
  426. package/Types/Team/ResendInvitation.js +123 -0
  427. package/Types/Team/ResendInvitation.mjs +12 -0
  428. package/Types/UsedBy/UsedBy.d.mts +1 -0
  429. package/Types/UsedBy/UsedBy.d.ts +1 -0
  430. package/Types/UsedBy/UsedBy.js +2 -0
  431. package/Types/UsedBy/UsedByServerProducts.js +1 -0
  432. package/Types/WelcomeChecklist/WelcomeChecklist.d.mts +27 -4
  433. package/Types/WelcomeChecklist/WelcomeChecklist.d.ts +27 -4
  434. package/Types/WelcomeChecklist/WelcomeChecklist.js +166 -42
  435. package/Types/WelcomeChecklist/WelcomeChecklist.mjs +8 -0
  436. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.mts +4 -1
  437. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.ts +4 -1
  438. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.js +175 -33
  439. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.mjs +1 -0
  440. package/Types/WelcomeChecklist/WelcomeChecklistState.d.mts +1 -0
  441. package/Types/WelcomeChecklist/WelcomeChecklistState.d.ts +1 -0
  442. package/Types/WelcomeChecklist/WelcomeChecklistState.js +30 -1
  443. package/Types/WelcomeChecklist/WelcomeChecklistState.mjs +1 -0
  444. package/Types/Workflow/Component.d.mts +0 -1
  445. package/Types/Workflow/Component.d.ts +0 -1
  446. package/Types/Workspace/NotificationRules/BaseNotificationRule.d.mts +1 -1
  447. package/Types/Workspace/NotificationRules/BaseNotificationRule.d.ts +1 -1
  448. package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.mts +23 -0
  449. package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.ts +23 -0
  450. package/Types/Workspace/NotificationRules/NotificationRuleUpdates.d.mts +12 -0
  451. package/Types/Workspace/NotificationRules/NotificationRuleUpdates.d.ts +12 -0
  452. package/Types/Workspace/NotificationRules/NotificationRuleUpdates.js +106 -4
  453. package/Types/Workspace/WorkspaceMessagePayload.d.mts +2 -0
  454. package/Types/Workspace/WorkspaceMessagePayload.d.ts +2 -0
  455. package/Types/Workspace/WorkspaceMessagePayload.js +6 -1
  456. package/Types/Workspace/WorkspaceMessagePayload.mjs +1 -0
  457. package/UI/Components/Dropdown/Dropdown.d.mts +2 -0
  458. package/UI/Components/Dropdown/Dropdown.d.ts +2 -0
  459. package/Utils/Dashboard/Components/DashboardProductAnalyticsFunnelComponent.js +6 -1
  460. package/Utils/Dashboard/Components/DashboardProductAnalyticsRetentionComponent.js +6 -1
  461. package/Utils/Dashboard/MonitorListWidgetFormat.d.mts +4 -1
  462. package/Utils/Dashboard/MonitorListWidgetFormat.d.ts +4 -1
  463. package/Utils/Dashboard/MonitorListWidgetFormat.js +9 -4
  464. package/Utils/DataSecurity/CustomDataTypeDetector.js +3 -1
  465. package/Utils/DataSecurity/DetectorPrefilter.d.mts +9 -0
  466. package/Utils/DataSecurity/DetectorPrefilter.d.ts +9 -0
  467. package/Utils/DataSecurity/DetectorPrefilter.js +471 -0
  468. package/Utils/DataSecurity/DetectorPrefilter.mjs +6 -0
  469. package/Utils/DataSecurity/FieldClassifier.d.mts +2 -0
  470. package/Utils/DataSecurity/FieldClassifier.d.ts +2 -0
  471. package/Utils/DataSecurity/FieldClassifier.js +38 -8
  472. package/Utils/DataSecurity/OccurrenceExcerpt.d.mts +22 -0
  473. package/Utils/DataSecurity/OccurrenceExcerpt.d.ts +22 -0
  474. package/Utils/DataSecurity/OccurrenceExcerpt.js +270 -0
  475. package/Utils/DataSecurity/OccurrenceExcerpt.mjs +5 -0
  476. package/Utils/DataSecurity/TextScanner.d.mts +4 -0
  477. package/Utils/DataSecurity/TextScanner.d.ts +4 -0
  478. package/Utils/Monitor/DeviceMonitorDuplicates.d.mts +34 -0
  479. package/Utils/Monitor/DeviceMonitorDuplicates.d.ts +34 -0
  480. package/Utils/Monitor/DeviceMonitorDuplicates.js +134 -0
  481. package/Utils/Monitor/DeviceMonitorDuplicates.mjs +7 -0
  482. package/Utils/Monitor/DeviceMonitorTemplateUtil.d.mts +4 -0
  483. package/Utils/Monitor/DeviceMonitorTemplateUtil.d.ts +4 -0
  484. package/Utils/Monitor/DeviceMonitorTemplateUtil.js +33 -6
  485. package/Utils/Monitor/MonitorMetricType.js +11 -1
  486. package/Utils/Monitor/MonitorOverviewPresentationUtil.js +21 -3
  487. package/Utils/Monitor/ProbeFailureCauses.js +4 -1
  488. package/Utils/Monitor/ProbeStatusMonitorUtil.d.mts +5 -1
  489. package/Utils/Monitor/ProbeStatusMonitorUtil.d.ts +5 -1
  490. package/Utils/Monitor/ProbeStatusMonitorUtil.js +106 -0
  491. package/Utils/NetworkDevice/NetworkDeviceAssetFacts.d.mts +3 -0
  492. package/Utils/NetworkDevice/NetworkDeviceAssetFacts.d.ts +3 -0
  493. package/Utils/NetworkDevice/NetworkDeviceAssetFacts.js +33 -4
  494. package/Utils/NetworkDevice/NetworkDeviceAssetFacts.mjs +1 -0
  495. package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.d.mts +33 -0
  496. package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.d.ts +33 -0
  497. package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.js +105 -0
  498. package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.mjs +8 -0
  499. package/Utils/NetworkDevice/SnmpCredentialUtil.d.mts +5 -0
  500. package/Utils/NetworkDevice/SnmpCredentialUtil.d.ts +5 -0
  501. package/Utils/NetworkDevice/SnmpCredentialUtil.js +28 -3
  502. package/Utils/NetworkDevice/SnmpCredentialUtil.mjs +3 -0
  503. package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.d.mts +1 -0
  504. package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.d.ts +1 -0
  505. package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.js +20 -1
  506. package/Utils/Rules/RuleCriteriaMatcher.d.mts +1 -0
  507. package/Utils/Rules/RuleCriteriaMatcher.d.ts +1 -0
  508. package/Utils/Rules/RuleCriteriaMatcher.js +6 -0
  509. package/Utils/Rules/RuleCriteriaOwnerMatch.d.mts +10 -0
  510. package/Utils/Rules/RuleCriteriaOwnerMatch.d.ts +10 -0
  511. package/Utils/Rules/RuleCriteriaOwnerMatch.js +83 -0
  512. package/Utils/Rules/RuleCriteriaOwnerMatch.mjs +4 -0
  513. package/Utils/SecurityCase/SecurityCaseMatchRules.d.mts +27 -0
  514. package/Utils/SecurityCase/SecurityCaseMatchRules.d.ts +27 -0
  515. package/Utils/SecurityCase/SecurityCaseMatchRules.js +377 -0
  516. package/Utils/SecurityCase/SecurityCaseMatchRules.mjs +9 -0
  517. package/Utils/Slo/SloBulkRecommendedPolicy.d.mts +35 -0
  518. package/Utils/Slo/SloBulkRecommendedPolicy.d.ts +35 -0
  519. package/Utils/Slo/SloBulkRecommendedPolicy.js +168 -0
  520. package/Utils/Slo/SloBulkRecommendedPolicy.mjs +6 -0
  521. package/Utils/Slo/SloBurnRateRuleState.js +3 -6
  522. package/Utils/Slo/SloErrorBudgetPolicy.d.mts +17 -0
  523. package/Utils/Slo/SloErrorBudgetPolicy.d.ts +17 -0
  524. package/Utils/Slo/SloErrorBudgetPolicy.js +72 -1
  525. package/Utils/Slo/SloErrorBudgetPolicy.mjs +4 -0
  526. package/Utils/Slo/SloFeedMarkdown.d.mts +5 -2
  527. package/Utils/Slo/SloFeedMarkdown.d.ts +5 -2
  528. package/Utils/Slo/SloFeedMarkdown.js +19 -7
  529. package/Utils/Slo/SloFeedMarkdown.mjs +1 -0
  530. package/Utils/Slo/SloHealth.d.mts +5 -0
  531. package/Utils/Slo/SloHealth.d.ts +5 -0
  532. package/Utils/Slo/SloHealth.js +27 -0
  533. package/Utils/Slo/SloListWidgetFormat.js +5 -3
  534. package/Utils/Slo/SloMetricType.js +6 -5
  535. package/Utils/Slo/SloMonitorsFirstCheck.d.mts +13 -0
  536. package/Utils/Slo/SloMonitorsFirstCheck.d.ts +13 -0
  537. package/Utils/Slo/SloMonitorsFirstCheck.js +78 -0
  538. package/Utils/Slo/SloMonitorsFirstCheck.mjs +3 -0
  539. package/Utils/Slo/SloOverviewText.js +7 -0
  540. package/Utils/Slo/SloStatusColor.d.mts +3 -0
  541. package/Utils/Slo/SloStatusColor.d.ts +3 -0
  542. package/Utils/Slo/SloStatusColor.js +3 -0
  543. package/Utils/Slo/SloStatusPosts.d.mts +18 -0
  544. package/Utils/Slo/SloStatusPosts.d.ts +18 -0
  545. package/Utils/Slo/SloStatusPosts.js +95 -0
  546. package/Utils/Slo/SloStatusPosts.mjs +3 -0
  547. package/Utils/StatusPage/GridAxisValues.d.mts +2 -0
  548. package/Utils/StatusPage/GridAxisValues.d.ts +2 -0
  549. package/Utils/StatusPage/GridAxisValues.js +33 -0
  550. package/Utils/StatusPage/GridAxisValues.mjs +3 -0
  551. package/Utils/StatusPage/GroupHierarchyView.d.mts +2 -2
  552. package/Utils/StatusPage/GroupHierarchyView.d.ts +2 -2
  553. package/Utils/StatusPage/GroupHierarchyView.js +13 -12
  554. package/Utils/StatusPage/GroupNestingLayout.d.mts +1 -0
  555. package/Utils/StatusPage/GroupNestingLayout.d.ts +1 -0
  556. package/Utils/StatusPage/GroupNestingLayout.js +25 -5
  557. package/Utils/StatusPage/ResourceExplorer.d.mts +2 -2
  558. package/Utils/StatusPage/ResourceExplorer.d.ts +2 -2
  559. package/Utils/StatusPage/ResourceExplorer.js +15 -21
  560. package/Utils/StatusPage/StatusColorsOnDark.d.mts +5 -3
  561. package/Utils/StatusPage/StatusColorsOnDark.d.ts +5 -3
  562. package/Utils/StatusPage/StatusColorsOnDark.js +18 -6
  563. package/Utils/StatusPage/StatusColorsOnDark.mjs +1 -0
  564. package/Utils/Telemetry/MobileAppFaults.d.mts +8 -0
  565. package/Utils/Telemetry/MobileAppFaults.d.ts +8 -0
  566. package/Utils/Telemetry/MobileAppFaults.js +69 -0
  567. package/Utils/Telemetry/MobileAppFaults.mjs +6 -0
  568. package/Utils/Workspace/WorkspaceRefusal.d.mts +108 -0
  569. package/Utils/Workspace/WorkspaceRefusal.d.ts +108 -0
  570. package/Utils/Workspace/WorkspaceRefusal.js +769 -0
  571. package/Utils/Workspace/WorkspaceRefusal.mjs +50 -0
  572. package/package.json +4 -1
@@ -1,3 +1,7 @@
1
+ import ProductKey from "../Product/ProductKey.mjs";
2
+ import { ServerProductsPreset } from "../Product/ServerProducts.mjs";
3
+ import { ServerProductsAnswer, ServerProductsSource } from "../Product/ServerProductsAnswer.mjs";
4
+ import { ProbeBehindWork } from "../Probe/ProbeBehind.mjs";
1
5
  import { ServerSetupChecklistAnswer } from "../ServerSetup/ServerSetupChecklist.mjs";
2
6
  export declare enum InstallationHealthLevel {
3
7
  Fix = "fix",
@@ -11,6 +15,8 @@ export declare enum InstallationHealthFindingId {
11
15
  MigrationsPending = "migrations-pending",
12
16
  ClickhouseDisk = "clickhouse-disk",
13
17
  QueueBacklog = "queue-backlog",
18
+ GlobalProbeBehind = "global-probe-behind",
19
+ GlobalProbeDevicesBehind = "global-probe-devices-behind",
14
20
  UpdateAvailable = "update-available"
15
21
  }
16
22
  export declare enum InstallationHealthCheck {
@@ -20,15 +26,18 @@ export declare enum InstallationHealthCheck {
20
26
  Migrations = "migrations",
21
27
  ClickhouseDisk = "clickhouse-disk",
22
28
  Queues = "queues",
29
+ GlobalProbes = "global-probes",
23
30
  Version = "version",
24
31
  ServerSetup = "server-setup"
25
32
  }
26
33
  export declare const INSTALLATION_HEALTH_ADMIN_PATHS: {
27
34
  clickhouse: string;
28
35
  migrations: string;
36
+ probes: string;
29
37
  setup: string;
30
38
  };
31
39
  export declare const INSTALLATION_HEALTH_GUIDES: {
40
+ probeBehind: string;
32
41
  upgrading: string;
33
42
  };
34
43
  export declare const CLICKHOUSE_DISK_FIX_FREE_PERCENT: number;
@@ -53,6 +62,12 @@ export interface InstallationHealthFinding {
53
62
  sentence: string;
54
63
  fixSentence: string | null;
55
64
  }
65
+ export interface InstallationHealthProbeBehind {
66
+ id: string;
67
+ name: string;
68
+ since: string;
69
+ work?: ProbeBehindWork | undefined;
70
+ }
56
71
  export interface InstallationHealthFacts {
57
72
  isPostgresConnected: boolean;
58
73
  isClickhouseConnected: boolean;
@@ -74,6 +89,7 @@ export interface InstallationHealthFacts {
74
89
  name: string;
75
90
  waiting: number;
76
91
  }>;
92
+ globalProbesBehind?: Array<InstallationHealthProbeBehind> | null | undefined;
77
93
  version: {
78
94
  current: string;
79
95
  latest: string | null;
@@ -81,11 +97,29 @@ export interface InstallationHealthFacts {
81
97
  isUpdateCheckDisabled: boolean;
82
98
  };
83
99
  serverSetup: ServerSetupChecklistAnswer | null;
100
+ serverProducts?: ServerProductsAnswer | null | undefined;
101
+ }
102
+ export interface InstallationHealthProduct {
103
+ product: ProductKey;
104
+ title: string;
105
+ }
106
+ export interface InstallationHealthProducts {
107
+ switchableCount: number;
108
+ onCount: number;
109
+ preset: ServerProductsPreset | null;
110
+ presetTitle: string | null;
111
+ source: ServerProductsSource;
112
+ switchedOff: Array<InstallationHealthProduct>;
113
+ unknownNames: Array<string>;
114
+ isTelemetryIngestionStopped: boolean;
115
+ offByIngestion: Array<InstallationHealthProduct>;
116
+ shouldSuggestStoppingIngestion: boolean;
84
117
  }
85
118
  export interface InstallationHealthAnswer {
86
119
  findings: Array<InstallationHealthFinding>;
87
120
  checked: Array<InstallationHealthCheck>;
88
121
  version: InstallationHealthFacts["version"];
122
+ products: InstallationHealthProducts | null;
89
123
  addressProof: string | null;
90
124
  checkedAt: string;
91
125
  }
@@ -107,6 +141,7 @@ export default class InstallationHealthUtil {
107
141
  static migrationFindings(facts: InstallationHealthFacts): Array<InstallationHealthFinding>;
108
142
  static diskFindings(facts: InstallationHealthFacts): Array<InstallationHealthFinding>;
109
143
  static queueFindings(facts: InstallationHealthFacts): Array<InstallationHealthFinding>;
144
+ static probeFindings(facts: InstallationHealthFacts): Array<InstallationHealthFinding>;
110
145
  static versionFindings(facts: InstallationHealthFacts): Array<InstallationHealthFinding>;
111
146
  static setupFindings(facts: InstallationHealthFacts): Array<InstallationHealthFinding>;
112
147
  private static setupValues;
@@ -117,6 +152,10 @@ export default class InstallationHealthUtil {
117
152
  addressProof: string | null;
118
153
  checkedAt: string;
119
154
  }): InstallationHealthAnswer;
155
+ static getProducts(answer: ServerProductsAnswer | null | undefined): InstallationHealthProducts | null;
156
+ private static readNames;
157
+ private static readProducts;
158
+ static parseProducts(value: unknown): InstallationHealthProducts | null;
120
159
  static parseAnswer(value: unknown): InstallationHealthAnswer | null;
121
160
  private static readPath;
122
161
  }
@@ -1,3 +1,7 @@
1
+ import ProductKey from "../Product/ProductKey";
2
+ import { ServerProductsPreset } from "../Product/ServerProducts";
3
+ import { ServerProductsAnswer, ServerProductsSource } from "../Product/ServerProductsAnswer";
4
+ import { ProbeBehindWork } from "../Probe/ProbeBehind";
1
5
  import { ServerSetupChecklistAnswer } from "../ServerSetup/ServerSetupChecklist";
2
6
  export declare enum InstallationHealthLevel {
3
7
  Fix = "fix",
@@ -11,6 +15,8 @@ export declare enum InstallationHealthFindingId {
11
15
  MigrationsPending = "migrations-pending",
12
16
  ClickhouseDisk = "clickhouse-disk",
13
17
  QueueBacklog = "queue-backlog",
18
+ GlobalProbeBehind = "global-probe-behind",
19
+ GlobalProbeDevicesBehind = "global-probe-devices-behind",
14
20
  UpdateAvailable = "update-available"
15
21
  }
16
22
  export declare enum InstallationHealthCheck {
@@ -20,15 +26,18 @@ export declare enum InstallationHealthCheck {
20
26
  Migrations = "migrations",
21
27
  ClickhouseDisk = "clickhouse-disk",
22
28
  Queues = "queues",
29
+ GlobalProbes = "global-probes",
23
30
  Version = "version",
24
31
  ServerSetup = "server-setup"
25
32
  }
26
33
  export declare const INSTALLATION_HEALTH_ADMIN_PATHS: {
27
34
  clickhouse: string;
28
35
  migrations: string;
36
+ probes: string;
29
37
  setup: string;
30
38
  };
31
39
  export declare const INSTALLATION_HEALTH_GUIDES: {
40
+ probeBehind: string;
32
41
  upgrading: string;
33
42
  };
34
43
  export declare const CLICKHOUSE_DISK_FIX_FREE_PERCENT: number;
@@ -53,6 +62,12 @@ export interface InstallationHealthFinding {
53
62
  sentence: string;
54
63
  fixSentence: string | null;
55
64
  }
65
+ export interface InstallationHealthProbeBehind {
66
+ id: string;
67
+ name: string;
68
+ since: string;
69
+ work?: ProbeBehindWork | undefined;
70
+ }
56
71
  export interface InstallationHealthFacts {
57
72
  isPostgresConnected: boolean;
58
73
  isClickhouseConnected: boolean;
@@ -74,6 +89,7 @@ export interface InstallationHealthFacts {
74
89
  name: string;
75
90
  waiting: number;
76
91
  }>;
92
+ globalProbesBehind?: Array<InstallationHealthProbeBehind> | null | undefined;
77
93
  version: {
78
94
  current: string;
79
95
  latest: string | null;
@@ -81,11 +97,29 @@ export interface InstallationHealthFacts {
81
97
  isUpdateCheckDisabled: boolean;
82
98
  };
83
99
  serverSetup: ServerSetupChecklistAnswer | null;
100
+ serverProducts?: ServerProductsAnswer | null | undefined;
101
+ }
102
+ export interface InstallationHealthProduct {
103
+ product: ProductKey;
104
+ title: string;
105
+ }
106
+ export interface InstallationHealthProducts {
107
+ switchableCount: number;
108
+ onCount: number;
109
+ preset: ServerProductsPreset | null;
110
+ presetTitle: string | null;
111
+ source: ServerProductsSource;
112
+ switchedOff: Array<InstallationHealthProduct>;
113
+ unknownNames: Array<string>;
114
+ isTelemetryIngestionStopped: boolean;
115
+ offByIngestion: Array<InstallationHealthProduct>;
116
+ shouldSuggestStoppingIngestion: boolean;
84
117
  }
85
118
  export interface InstallationHealthAnswer {
86
119
  findings: Array<InstallationHealthFinding>;
87
120
  checked: Array<InstallationHealthCheck>;
88
121
  version: InstallationHealthFacts["version"];
122
+ products: InstallationHealthProducts | null;
89
123
  addressProof: string | null;
90
124
  checkedAt: string;
91
125
  }
@@ -107,6 +141,7 @@ export default class InstallationHealthUtil {
107
141
  static migrationFindings(facts: InstallationHealthFacts): Array<InstallationHealthFinding>;
108
142
  static diskFindings(facts: InstallationHealthFacts): Array<InstallationHealthFinding>;
109
143
  static queueFindings(facts: InstallationHealthFacts): Array<InstallationHealthFinding>;
144
+ static probeFindings(facts: InstallationHealthFacts): Array<InstallationHealthFinding>;
110
145
  static versionFindings(facts: InstallationHealthFacts): Array<InstallationHealthFinding>;
111
146
  static setupFindings(facts: InstallationHealthFacts): Array<InstallationHealthFinding>;
112
147
  private static setupValues;
@@ -117,6 +152,10 @@ export default class InstallationHealthUtil {
117
152
  addressProof: string | null;
118
153
  checkedAt: string;
119
154
  }): InstallationHealthAnswer;
155
+ static getProducts(answer: ServerProductsAnswer | null | undefined): InstallationHealthProducts | null;
156
+ private static readNames;
157
+ private static readProducts;
158
+ static parseProducts(value: unknown): InstallationHealthProducts | null;
120
159
  static parseAnswer(value: unknown): InstallationHealthAnswer | null;
121
160
  private static readPath;
122
161
  }
@@ -35,6 +35,11 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.INSTALLATION_HEALTH_ALL_RIGHT = exports.INSTALLATION_HEALTH_SETUP_FIX = exports.INSTALLATION_HEALTH_WORDS = exports.QUEUE_BACKLOG_LIMIT = exports.CLICKHOUSE_DISK_WARN_FREE_PERCENT = exports.CLICKHOUSE_DISK_FIX_FREE_PERCENT = exports.INSTALLATION_HEALTH_GUIDES = exports.INSTALLATION_HEALTH_ADMIN_PATHS = exports.InstallationHealthCheck = exports.InstallationHealthFindingId = exports.InstallationHealthLevel = void 0;
37
37
  const Translator_1 = require("../Translator");
38
+ const ProductCatalog_1 = require("../Product/ProductCatalog");
39
+ const ProductKey_1 = require("../Product/ProductKey");
40
+ const ServerProducts_1 = require("../Product/ServerProducts");
41
+ const ServerProductsAnswer_1 = require("../Product/ServerProductsAnswer");
42
+ const ProbeBehind_1 = require("../Probe/ProbeBehind");
38
43
  const ServerSetupChecklist_1 = __importStar(require("../ServerSetup/ServerSetupChecklist"));
39
44
  /*
40
45
  * WHAT IS WRONG WITH THIS INSTALLATION, AND THE FIX FOR EACH (#6826).
@@ -47,11 +52,17 @@ const ServerSetupChecklist_1 = __importStar(require("../ServerSetup/ServerSetupC
47
52
  * - the database migrations have all run, and none failed;
48
53
  * - ClickHouse's disks have room;
49
54
  * - the background queues are moving;
55
+ * - the global probes keep up: none is behind, its monitors checked or
56
+ * its network devices polled later than their interval (#9488, #9499,
57
+ * Types/Probe/ProbeBehind);
50
58
  * - the version, against the latest release;
51
59
  * - the server setup checklist (#6824): email, HTTPS, sign-ups, SMS and
52
60
  * calls, probes, backups, update checks. Its words are reused here, so
53
61
  * the checklist and this list never say a thing two ways.
54
62
  *
63
+ * Beside the findings, the answer says which products the server switches
64
+ * off (#7481): facts a terminal prints, not faults.
65
+ *
55
66
  * Three readers print the same findings:
56
67
  *
57
68
  * - `npm run doctor` (Scripts/Install/Doctor.js), on a Docker Compose
@@ -88,6 +99,16 @@ var InstallationHealthFindingId;
88
99
  InstallationHealthFindingId["MigrationsPending"] = "migrations-pending";
89
100
  InstallationHealthFindingId["ClickhouseDisk"] = "clickhouse-disk";
90
101
  InstallationHealthFindingId["QueueBacklog"] = "queue-backlog";
102
+ /*
103
+ * A global probe that is behind: its finding's id is this and the
104
+ * probe's id ("global-probe-behind-<id>"), one finding a probe.
105
+ */
106
+ InstallationHealthFindingId["GlobalProbeBehind"] = "global-probe-behind";
107
+ /*
108
+ * A global probe that is behind on the network devices it polls (#9499):
109
+ * "global-probe-devices-behind-<id>", beside its monitors' finding.
110
+ */
111
+ InstallationHealthFindingId["GlobalProbeDevicesBehind"] = "global-probe-devices-behind";
91
112
  InstallationHealthFindingId["UpdateAvailable"] = "update-available";
92
113
  })(InstallationHealthFindingId || (exports.InstallationHealthFindingId = InstallationHealthFindingId = {}));
93
114
  // What was looked at, so a reader can say what an empty list covers.
@@ -99,6 +120,7 @@ var InstallationHealthCheck;
99
120
  InstallationHealthCheck["Migrations"] = "migrations";
100
121
  InstallationHealthCheck["ClickhouseDisk"] = "clickhouse-disk";
101
122
  InstallationHealthCheck["Queues"] = "queues";
123
+ InstallationHealthCheck["GlobalProbes"] = "global-probes";
102
124
  InstallationHealthCheck["Version"] = "version";
103
125
  InstallationHealthCheck["ServerSetup"] = "server-setup";
104
126
  })(InstallationHealthCheck || (exports.InstallationHealthCheck = InstallationHealthCheck = {}));
@@ -106,9 +128,11 @@ var InstallationHealthCheck;
106
128
  exports.INSTALLATION_HEALTH_ADMIN_PATHS = {
107
129
  clickhouse: "/admin/health/clickhouse",
108
130
  migrations: "/admin/health/migrations",
131
+ probes: "/admin/health/probes",
109
132
  setup: ServerSetupChecklist_1.SERVER_SETUP_ADMIN_PATHS.setup,
110
133
  };
111
134
  exports.INSTALLATION_HEALTH_GUIDES = {
135
+ probeBehind: "/docs/probe/custom-probe#a-probe-is-behind",
112
136
  upgrading: "/docs/installation/upgrading",
113
137
  };
114
138
  /*
@@ -161,6 +185,16 @@ exports.INSTALLATION_HEALTH_WORDS = {
161
185
  words: (0, Translator_1.translationKey)("{{count}} jobs are waiting in the {{queue}} queue, so the workers are behind."),
162
186
  fix: (0, Translator_1.translationKey)("Give the workers more memory and CPU, and read the app's log for jobs that keep failing."),
163
187
  },
188
+ [InstallationHealthFindingId.GlobalProbeBehind]: {
189
+ title: (0, Translator_1.translationKey)("Global probes"),
190
+ words: (0, Translator_1.translationKey)("{{probe}} is behind: since {{time}}, its monitors have waited more than a minute past their check time, so they are checked less often than set."),
191
+ fix: (0, Translator_1.translationKey)("Give the probe more CPU and memory, or let it check more monitors at once: raise GLOBAL_PROBE_1_MONITORING_WORKERS in config.env, or the probe's monitoringWorkers in the Helm values."),
192
+ },
193
+ [InstallationHealthFindingId.GlobalProbeDevicesBehind]: {
194
+ title: (0, Translator_1.translationKey)("Global probes"),
195
+ words: (0, Translator_1.translationKey)("{{probe}} is behind on its network devices: since {{time}}, they have waited more than a minute past their poll time, so they are polled less often than set."),
196
+ fix: (0, Translator_1.translationKey)("Let the probe poll more devices at once: raise GLOBAL_PROBE_1_NETWORK_DEVICE_POLL_CONCURRENCY in config.env, or the probe's networkDevicePollConcurrency in the Helm values, and give it the CPU to match."),
197
+ },
164
198
  [InstallationHealthFindingId.UpdateAvailable]: {
165
199
  title: (0, Translator_1.translationKey)("Version"),
166
200
  words: (0, Translator_1.translationKey)("This server runs OneUptime {{current}}. {{latest}} is out."),
@@ -171,6 +205,9 @@ exports.INSTALLATION_HEALTH_WORDS = {
171
205
  exports.INSTALLATION_HEALTH_SETUP_FIX = (0, Translator_1.translationKey)("Finish it on the Server setup page.");
172
206
  // What the Admin Dashboard says when there is nothing to list.
173
207
  exports.INSTALLATION_HEALTH_ALL_RIGHT = (0, Translator_1.translationKey)("Everything looks right.");
208
+ // At most this many unknown names, each at most this long: they are an operator's typing.
209
+ const MAX_UNKNOWN_NAMES = 10;
210
+ const MAX_UNKNOWN_NAME_LENGTH = 60;
174
211
  const GIGABYTE = 1000 * 1000 * 1000;
175
212
  const isObject = (value) => {
176
213
  return Boolean(value) && typeof value === "object" && !Array.isArray(value);
@@ -349,6 +386,38 @@ class InstallationHealthUtil {
349
386
  }),
350
387
  ];
351
388
  }
389
+ /*
390
+ * Each global probe that is behind, the one behind longest first: worth
391
+ * a look, since its monitors are checked, if less often than set (#9488),
392
+ * and the same of its network devices (#9499), each with its own fix. A
393
+ * probe that does not report at all is the server setup checklist's.
394
+ */
395
+ static probeFindings(facts) {
396
+ const behind = [
397
+ ...(facts.globalProbesBehind || []),
398
+ ].sort((a, b) => {
399
+ return (Date.parse(a.since) || 0) - (Date.parse(b.since) || 0);
400
+ });
401
+ return behind.map((probe) => {
402
+ const findingId = probe.work === ProbeBehind_1.ProbeBehindWork.DevicePolls
403
+ ? InstallationHealthFindingId.GlobalProbeDevicesBehind
404
+ : InstallationHealthFindingId.GlobalProbeBehind;
405
+ const words = exports.INSTALLATION_HEALTH_WORDS[findingId];
406
+ return InstallationHealthUtil.finding({
407
+ id: `${findingId}-${probe.id}`,
408
+ level: InstallationHealthLevel.Warn,
409
+ title: words.title,
410
+ words: words.words,
411
+ fix: words.fix,
412
+ values: {
413
+ probe: probe.name,
414
+ time: InstallationHealthUtil.formatTime(probe.since),
415
+ },
416
+ adminPath: exports.INSTALLATION_HEALTH_ADMIN_PATHS.probes,
417
+ guidePath: exports.INSTALLATION_HEALTH_GUIDES.probeBehind,
418
+ });
419
+ });
420
+ }
352
421
  static versionFindings(facts) {
353
422
  if (!facts.version.isUpdateAvailable || !facts.version.latest) {
354
423
  return [];
@@ -420,6 +489,7 @@ class InstallationHealthUtil {
420
489
  ...InstallationHealthUtil.diskFindings(facts),
421
490
  ...InstallationHealthUtil.setupFindings(facts),
422
491
  ...InstallationHealthUtil.queueFindings(facts),
492
+ ...InstallationHealthUtil.probeFindings(facts),
423
493
  ...InstallationHealthUtil.versionFindings(facts),
424
494
  ];
425
495
  return InstallationHealthUtil.worstFirst(findings);
@@ -440,10 +510,102 @@ class InstallationHealthUtil {
440
510
  findings: InstallationHealthUtil.evaluate(data.facts),
441
511
  checked: Object.values(InstallationHealthCheck),
442
512
  version: data.facts.version,
513
+ products: InstallationHealthUtil.getProducts(data.facts.serverProducts),
443
514
  addressProof: data.addressProof,
444
515
  checkedAt: data.checkedAt,
445
516
  };
446
517
  }
518
+ // Which products the server switches off, for a terminal (#7481); null without an answer.
519
+ static getProducts(answer) {
520
+ if (!answer) {
521
+ return null;
522
+ }
523
+ const titled = (product) => {
524
+ return { product: product, title: (0, ProductCatalog_1.getProductTitle)(product) };
525
+ };
526
+ const switchedOff = ServerProducts_1.SWITCHABLE_PRODUCTS.filter((product) => {
527
+ return answer.switchedOff.includes(product);
528
+ });
529
+ return {
530
+ switchableCount: ServerProducts_1.SWITCHABLE_PRODUCTS.length,
531
+ onCount: ServerProducts_1.SWITCHABLE_PRODUCTS.length - switchedOff.length,
532
+ preset: answer.preset,
533
+ presetTitle: answer.preset ? ServerProducts_1.PRESET_TITLES[answer.preset] : null,
534
+ source: answer.source,
535
+ switchedOff: switchedOff.map(titled),
536
+ unknownNames: InstallationHealthUtil.readNames(answer.startingValueUnknownNames),
537
+ isTelemetryIngestionStopped: answer.isTelemetryIngestionStopped,
538
+ offByIngestion: ProductKey_1.PRODUCT_KEYS.filter((product) => {
539
+ return (answer.off[product] ===
540
+ ServerProducts_1.ServerProductOffReason.TelemetryIngestionStopped);
541
+ }).map(titled),
542
+ shouldSuggestStoppingIngestion: answer.shouldSuggestStoppingIngestion,
543
+ };
544
+ }
545
+ // Names an operator typed, as many and as long as a terminal line takes.
546
+ static readNames(value) {
547
+ if (!Array.isArray(value)) {
548
+ return [];
549
+ }
550
+ return value
551
+ .map((name) => {
552
+ // No control character reaches a terminal.
553
+ return typeof name === "string"
554
+ ? Array.from(name)
555
+ .filter((character) => {
556
+ return character >= " " && character !== "\u007f";
557
+ })
558
+ .join("")
559
+ .trim()
560
+ .slice(0, MAX_UNKNOWN_NAME_LENGTH)
561
+ : "";
562
+ })
563
+ .filter((name) => {
564
+ return name.length > 0;
565
+ })
566
+ .slice(0, MAX_UNKNOWN_NAMES);
567
+ }
568
+ // Products as a browser reads them back: known keys, with their names.
569
+ static readProducts(value) {
570
+ if (!Array.isArray(value)) {
571
+ return [];
572
+ }
573
+ const products = [];
574
+ for (const entry of value) {
575
+ const product = isObject(entry) ? entry["product"] : null;
576
+ if ((0, ProductKey_1.isProductKey)(product) &&
577
+ !products.some((known) => {
578
+ return known.product === product;
579
+ })) {
580
+ products.push({ product: product, title: (0, ProductCatalog_1.getProductTitle)(product) });
581
+ }
582
+ }
583
+ return products;
584
+ }
585
+ // What the doctor's answer says of the products, or null when it says nothing (an older server).
586
+ static parseProducts(value) {
587
+ if (!isObject(value)) {
588
+ return null;
589
+ }
590
+ const switchedOff = InstallationHealthUtil.readProducts(value["switchedOff"]);
591
+ const preset = (0, ServerProducts_1.isServerProductsPreset)(value["preset"])
592
+ ? value["preset"]
593
+ : null;
594
+ return {
595
+ switchableCount: ServerProducts_1.SWITCHABLE_PRODUCTS.length,
596
+ onCount: ServerProducts_1.SWITCHABLE_PRODUCTS.length - switchedOff.length,
597
+ preset: preset,
598
+ presetTitle: preset ? ServerProducts_1.PRESET_TITLES[preset] : null,
599
+ source: value["source"] === ServerProductsAnswer_1.ServerProductsSource.Saved
600
+ ? ServerProductsAnswer_1.ServerProductsSource.Saved
601
+ : ServerProductsAnswer_1.ServerProductsSource.StartingValue,
602
+ switchedOff: switchedOff,
603
+ unknownNames: InstallationHealthUtil.readNames(value["unknownNames"]),
604
+ isTelemetryIngestionStopped: value["isTelemetryIngestionStopped"] === true,
605
+ offByIngestion: InstallationHealthUtil.readProducts(value["offByIngestion"]),
606
+ shouldSuggestStoppingIngestion: value["shouldSuggestStoppingIngestion"] === true,
607
+ };
608
+ }
447
609
  /*
448
610
  * The answer, read in a browser, or null when it is not one (a failed
449
611
  * read, a proxy's page). A finding that is not one is left out.
@@ -501,6 +663,7 @@ class InstallationHealthUtil {
501
663
  isUpdateAvailable: version["isUpdateAvailable"] === true,
502
664
  isUpdateCheckDisabled: version["isUpdateCheckDisabled"] === true,
503
665
  },
666
+ products: InstallationHealthUtil.parseProducts(value["products"]),
504
667
  addressProof: readText(value["addressProof"], 200),
505
668
  checkedAt: readText(value["checkedAt"], 100) || "",
506
669
  };
@@ -20,6 +20,8 @@ export interface KubernetesHealthAssessment {
20
20
  tone: KubernetesHealthTone;
21
21
  reasons: Array<KubernetesHealthText>;
22
22
  message?: string | undefined;
23
+ since?: number | undefined;
24
+ container?: string | undefined;
23
25
  }
24
26
  export interface KubernetesHealthRow {
25
27
  kind?: string | null | undefined;
@@ -88,5 +90,19 @@ export declare function getKubernetesAttentionFindings(rows: Array<KubernetesHea
88
90
  foldPods?: boolean | undefined;
89
91
  }): Array<KubernetesAttentionFinding>;
90
92
  export declare function assessKubernetesCronJobWithRuns(cronJob: KubernetesHealthRow, jobs: Array<KubernetesHealthRow>): KubernetesHealthAssessment;
93
+ export declare enum KubernetesPodStatusBucket {
94
+ Running = "running",
95
+ Pending = "pending",
96
+ CannotRun = "cannotRun",
97
+ Failed = "failed",
98
+ Succeeded = "succeeded",
99
+ Unknown = "unknown",
100
+ NoData = "noData"
101
+ }
102
+ export interface KubernetesPodStatusBucketOf {
103
+ bucket: KubernetesPodStatusBucket;
104
+ reason?: string | undefined;
105
+ }
106
+ export declare function getKubernetesPodStatusBucket(row: KubernetesHealthRow, options?: KubernetesHealthOptions): KubernetesPodStatusBucketOf;
91
107
  export declare function getKubernetesClusterHealth(findings: Array<Pick<KubernetesAttentionFinding, "severity">>): "Healthy" | "Degraded" | "Unhealthy";
92
108
  export {};
@@ -20,6 +20,8 @@ export interface KubernetesHealthAssessment {
20
20
  tone: KubernetesHealthTone;
21
21
  reasons: Array<KubernetesHealthText>;
22
22
  message?: string | undefined;
23
+ since?: number | undefined;
24
+ container?: string | undefined;
23
25
  }
24
26
  export interface KubernetesHealthRow {
25
27
  kind?: string | null | undefined;
@@ -88,5 +90,19 @@ export declare function getKubernetesAttentionFindings(rows: Array<KubernetesHea
88
90
  foldPods?: boolean | undefined;
89
91
  }): Array<KubernetesAttentionFinding>;
90
92
  export declare function assessKubernetesCronJobWithRuns(cronJob: KubernetesHealthRow, jobs: Array<KubernetesHealthRow>): KubernetesHealthAssessment;
93
+ export declare enum KubernetesPodStatusBucket {
94
+ Running = "running",
95
+ Pending = "pending",
96
+ CannotRun = "cannotRun",
97
+ Failed = "failed",
98
+ Succeeded = "succeeded",
99
+ Unknown = "unknown",
100
+ NoData = "noData"
101
+ }
102
+ export interface KubernetesPodStatusBucketOf {
103
+ bucket: KubernetesPodStatusBucket;
104
+ reason?: string | undefined;
105
+ }
106
+ export declare function getKubernetesPodStatusBucket(row: KubernetesHealthRow, options?: KubernetesHealthOptions): KubernetesPodStatusBucketOf;
91
107
  export declare function getKubernetesClusterHealth(findings: Array<Pick<KubernetesAttentionFinding, "severity">>): "Healthy" | "Degraded" | "Unhealthy";
92
108
  export {};