@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.
- package/Models/AnalyticsModels/RumProductAnalyticsEvent.js +15 -6
- package/Models/AnalyticsModels/RumProductAnalyticsSession.js +27 -10
- package/Models/AnalyticsModels/RumProductAnalyticsUser.js +16 -4
- package/Models/AnalyticsModels/RumSession.js +12 -0
- package/Models/DatabaseModels/AlertSeverity.js +12 -3
- package/Models/DatabaseModels/DataAsset.d.mts +1 -0
- package/Models/DatabaseModels/DataAsset.d.ts +1 -0
- package/Models/DatabaseModels/DataAsset.js +23 -0
- package/Models/DatabaseModels/DataBiConnection.d.mts +2 -1
- package/Models/DatabaseModels/DataBiConnection.d.ts +2 -1
- package/Models/DatabaseModels/DataBiConnection.js +15 -0
- package/Models/DatabaseModels/DataCheck.d.mts +3 -0
- package/Models/DatabaseModels/DataCheck.d.ts +3 -0
- package/Models/DatabaseModels/DataCheck.js +49 -0
- package/Models/DatabaseModels/DataDashboard.d.mts +1 -0
- package/Models/DatabaseModels/DataDashboard.d.ts +1 -0
- package/Models/DatabaseModels/DataDashboard.js +15 -0
- package/Models/DatabaseModels/DataPipeline.d.mts +1 -0
- package/Models/DatabaseModels/DataPipeline.d.ts +1 -0
- package/Models/DatabaseModels/DataPipeline.js +25 -0
- package/Models/DatabaseModels/DataPipelineOwnerTeam.d.mts +19 -0
- package/Models/DatabaseModels/DataPipelineOwnerTeam.d.ts +19 -0
- package/Models/DatabaseModels/DataPipelineOwnerTeam.js +477 -0
- package/Models/DatabaseModels/DataPipelineOwnerTeam.mjs +2 -0
- package/Models/DatabaseModels/DataPipelineOwnerUser.d.mts +18 -0
- package/Models/DatabaseModels/DataPipelineOwnerUser.d.ts +18 -0
- package/Models/DatabaseModels/DataPipelineOwnerUser.js +476 -0
- package/Models/DatabaseModels/DataPipelineOwnerUser.mjs +2 -0
- package/Models/DatabaseModels/DataStore.d.mts +1 -0
- package/Models/DatabaseModels/DataStore.d.ts +1 -0
- package/Models/DatabaseModels/DataStore.js +23 -0
- package/Models/DatabaseModels/DataStoreFinding.d.mts +2 -0
- package/Models/DatabaseModels/DataStoreFinding.d.ts +2 -0
- package/Models/DatabaseModels/DataStoreFinding.js +21 -0
- package/Models/DatabaseModels/EmailLog.d.mts +1 -0
- package/Models/DatabaseModels/EmailLog.d.ts +1 -0
- package/Models/DatabaseModels/EmailLog.js +35 -0
- package/Models/DatabaseModels/GlobalConfig.d.mts +5 -0
- package/Models/DatabaseModels/GlobalConfig.d.ts +5 -0
- package/Models/DatabaseModels/GlobalConfig.js +128 -0
- package/Models/DatabaseModels/GlobalOidc.d.mts +1 -0
- package/Models/DatabaseModels/GlobalOidc.d.ts +1 -0
- package/Models/DatabaseModels/GlobalOidc.js +29 -0
- package/Models/DatabaseModels/IncidentSeverity.js +12 -3
- package/Models/DatabaseModels/Index.js +6 -0
- package/Models/DatabaseModels/Monitor.js +18 -0
- package/Models/DatabaseModels/NetworkDevice.d.mts +1 -0
- package/Models/DatabaseModels/NetworkDevice.d.ts +1 -0
- package/Models/DatabaseModels/NetworkDevice.js +49 -0
- package/Models/DatabaseModels/NetworkDeviceAutoImportRule.js +2 -2
- package/Models/DatabaseModels/OnCallDutyPolicyEscalationRule.js +1 -1
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.mts +6 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.ts +6 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +156 -1
- package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayer.js +1 -1
- package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayerUser.js +1 -1
- package/Models/DatabaseModels/Probe.d.mts +4 -0
- package/Models/DatabaseModels/Probe.d.ts +4 -0
- package/Models/DatabaseModels/Probe.js +100 -0
- package/Models/DatabaseModels/ProductFeedback.d.mts +2 -1
- package/Models/DatabaseModels/ProductFeedback.d.ts +2 -1
- package/Models/DatabaseModels/ProductFeedback.js +34 -2
- package/Models/DatabaseModels/Project.d.mts +4 -1
- package/Models/DatabaseModels/Project.d.ts +4 -1
- package/Models/DatabaseModels/Project.js +147 -7
- package/Models/DatabaseModels/ProjectCallSMSConfig.js +8 -2
- package/Models/DatabaseModels/ProjectOidc.d.mts +1 -0
- package/Models/DatabaseModels/ProjectOidc.d.ts +1 -0
- package/Models/DatabaseModels/ProjectOidc.js +46 -0
- package/Models/DatabaseModels/Reseller.js +8 -2
- package/Models/DatabaseModels/ResellerPlan.js +12 -3
- package/Models/DatabaseModels/RumApplication.d.mts +1 -0
- package/Models/DatabaseModels/RumApplication.d.ts +1 -0
- package/Models/DatabaseModels/RumApplication.js +58 -0
- package/Models/DatabaseModels/RumSessionErasureRequest.d.mts +1 -0
- package/Models/DatabaseModels/RumSessionErasureRequest.d.ts +1 -0
- package/Models/DatabaseModels/RumSessionErasureRequest.js +40 -0
- package/Models/DatabaseModels/SecurityCaseTask.d.mts +1 -0
- package/Models/DatabaseModels/SecurityCaseTask.d.ts +1 -0
- package/Models/DatabaseModels/SecurityCaseTask.js +27 -0
- package/Models/DatabaseModels/ServerEmailLog.d.mts +12 -0
- package/Models/DatabaseModels/ServerEmailLog.d.ts +12 -0
- package/Models/DatabaseModels/ServerEmailLog.js +206 -0
- package/Models/DatabaseModels/ServerEmailLog.mjs +2 -0
- package/Models/DatabaseModels/StatusPageGroup.js +1 -1
- package/Models/DatabaseModels/StatusPageResource.js +1 -1
- package/Models/DatabaseModels/TelemetryException.js +15 -2
- package/Models/DatabaseModels/TelemetryIngestionKey.js +10 -0
- package/Models/DatabaseModels/User.d.mts +3 -0
- package/Models/DatabaseModels/User.d.ts +3 -0
- package/Models/DatabaseModels/User.js +66 -0
- package/Models/DatabaseModels/UserSession.d.mts +1 -0
- package/Models/DatabaseModels/UserSession.d.ts +1 -0
- package/Models/DatabaseModels/UserSession.js +32 -0
- package/Models/DatabaseModels/WorkspaceLiveMessage.js +21 -15
- package/Models/DatabaseModels/WorkspaceNotificationLog.js +17 -9
- package/Models/DatabaseModels/WorkspaceNotificationRule.js +8 -2
- package/Models/DatabaseModels/WorkspaceNotificationSummary.js +1 -1
- package/Server/Services/DatabaseService.d.mts +6 -0
- package/Server/Services/DatabaseService.d.ts +6 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.mts +1 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.ts +1 -0
- package/Types/AI/AIActionWords.js +1 -0
- package/Types/AI/AIChatPageContext.d.mts +1 -0
- package/Types/AI/AIChatPageContext.d.ts +1 -0
- package/Types/AI/AIChatPageContext.js +6 -0
- package/Types/AI/AIRunProducts.d.mts +14 -0
- package/Types/AI/AIRunProducts.d.ts +14 -0
- package/Types/AI/AIRunProducts.js +40 -0
- package/Types/AI/AIRunProducts.mjs +2 -0
- package/Types/AI/AskAiRatings.d.mts +31 -0
- package/Types/AI/AskAiRatings.d.ts +31 -0
- package/Types/AI/AskAiRatings.js +173 -0
- package/Types/AI/AskAiRatings.mjs +13 -0
- package/Types/Accounts/SignUpInvitation.d.mts +12 -0
- package/Types/Accounts/SignUpInvitation.d.ts +12 -0
- package/Types/Accounts/SignUpInvitation.js +84 -0
- package/Types/Accounts/SignUpInvitation.mjs +5 -0
- package/Types/Analytics/ActivationMilestone.d.mts +2 -1
- package/Types/Analytics/ActivationMilestone.d.ts +2 -1
- package/Types/Analytics/ActivationMilestone.js +11 -0
- package/Types/Analytics/ProductEvent.d.mts +11 -0
- package/Types/Analytics/ProductEvent.d.ts +11 -0
- package/Types/Analytics/ProductEvent.js +166 -13
- package/Types/Analytics/ProductEvent.mjs +3 -0
- package/Types/Backup/BackupScriptRun.d.mts +17 -0
- package/Types/Backup/BackupScriptRun.d.ts +17 -0
- package/Types/Backup/BackupScriptRun.js +96 -0
- package/Types/Backup/BackupScriptRun.mjs +6 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.mts +2 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.ts +2 -0
- package/Types/BaseDatabase/ReadAudience.d.mts +9 -0
- package/Types/BaseDatabase/ReadAudience.d.ts +9 -0
- package/Types/BaseDatabase/ReadAudience.js +2 -0
- package/Types/BaseDatabase/ReadAudience.mjs +1 -0
- package/Types/Cloud/CloudKeyMetricGroup.d.mts +17 -0
- package/Types/Cloud/CloudKeyMetricGroup.d.ts +17 -0
- package/Types/Cloud/CloudKeyMetricGroup.js +84 -0
- package/Types/Cloud/CloudKeyMetricGroup.mjs +5 -0
- package/Types/Cloud/CloudKeyMetrics.d.mts +28 -1
- package/Types/Cloud/CloudKeyMetrics.d.ts +28 -1
- package/Types/Cloud/CloudKeyMetrics.js +1209 -206
- package/Types/Cloud/CloudKeyMetrics.mjs +6 -0
- package/Types/Cloud/CloudResourceCatalog.js +43 -12
- package/Types/CloudConnection/CloudConnectionSetupCommands.d.mts +1 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.d.ts +1 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.js +49 -6
- package/Types/CloudConnection/CloudConnectionSetupCommands.mjs +1 -0
- package/Types/CloudConnection/CloudStreamTemplate.js +6 -2
- package/Types/CreateFormAddress.d.mts +3 -0
- package/Types/CreateFormAddress.d.ts +3 -0
- package/Types/CreateFormAddress.js +17 -0
- package/Types/CreateFormAddress.mjs +4 -0
- package/Types/DataObservability/DataAssetFreshness.d.mts +5 -0
- package/Types/DataObservability/DataAssetFreshness.d.ts +5 -0
- package/Types/DataObservability/DataAssetFreshness.js +28 -5
- package/Types/DataObservability/DataAssetFreshness.mjs +1 -0
- package/Types/DataObservability/DataBiLineage.d.mts +69 -0
- package/Types/DataObservability/DataBiLineage.d.ts +69 -0
- package/Types/DataObservability/DataBiLineage.js +198 -0
- package/Types/DataObservability/DataBiLineage.mjs +13 -0
- package/Types/DataObservability/DataLineageColumnTrail.d.mts +2 -1
- package/Types/DataObservability/DataLineageColumnTrail.d.ts +2 -1
- package/Types/DataObservability/DataLineageColumnTrail.js +41 -3
- package/Types/DataObservability/DataLineageColumnTrail.mjs +1 -0
- package/Types/DataObservability/DataLineageMap.d.mts +67 -1
- package/Types/DataObservability/DataLineageMap.d.ts +67 -1
- package/Types/DataObservability/DataLineageMap.js +335 -3
- package/Types/DataObservability/DataLineageMap.mjs +14 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.mts +42 -2
- package/Types/DataObservability/DataObservabilityApiTypes.d.ts +42 -2
- package/Types/DataObservability/DataObservabilityApiTypes.js +21 -1
- package/Types/DataObservability/DataObservabilityApiTypes.mjs +4 -0
- package/Types/DataObservability/DataObservabilityAttention.d.mts +5 -0
- package/Types/DataObservability/DataObservabilityAttention.d.ts +5 -0
- package/Types/DataObservability/DataObservabilityAttention.js +48 -1
- package/Types/DataObservability/DataObservabilityAttention.mjs +5 -0
- package/Types/DataObservability/DataPipelineSchedule.d.mts +4 -0
- package/Types/DataObservability/DataPipelineSchedule.d.ts +4 -0
- package/Types/DataObservability/DataPipelineSchedule.js +26 -6
- package/Types/DataObservability/DataPipelineSchedule.mjs +1 -0
- package/Types/DataObservability/DataTableLineage.d.mts +6 -0
- package/Types/DataObservability/DataTableLineage.d.ts +6 -0
- package/Types/DataSecurity/DataSecurityApiTypes.d.mts +24 -0
- package/Types/DataSecurity/DataSecurityApiTypes.d.ts +24 -0
- package/Types/DataSecurity/DataSecurityApiTypes.js +21 -1
- package/Types/DataSecurity/DataSecurityApiTypes.mjs +2 -0
- package/Types/DataSecurity/FindingSampleRecord.d.mts +16 -0
- package/Types/DataSecurity/FindingSampleRecord.d.ts +16 -0
- package/Types/DataSecurity/FindingSampleRecord.js +112 -0
- package/Types/DataSecurity/FindingSampleRecord.mjs +6 -0
- package/Types/Database/AccessControl/PermissionScopeNarrowing.js +6 -0
- package/Types/Database/MoveInList.d.mts +41 -0
- package/Types/Database/MoveInList.d.ts +41 -0
- package/Types/Database/MoveInList.js +177 -0
- package/Types/Database/MoveInList.mjs +4 -0
- package/Types/Email/ServerEmailLog.d.mts +41 -0
- package/Types/Email/ServerEmailLog.d.ts +41 -0
- package/Types/Email/ServerEmailLog.js +136 -0
- package/Types/Email/ServerEmailLog.mjs +11 -0
- package/Types/Exception/ProductSwitchedOffException.d.mts +12 -0
- package/Types/Exception/ProductSwitchedOffException.d.ts +12 -0
- package/Types/Exception/ProductSwitchedOffException.js +38 -0
- package/Types/Exception/ProductSwitchedOffException.mjs +2 -0
- package/Types/Exception/UnexplainedError.d.mts +7 -0
- package/Types/Exception/UnexplainedError.d.ts +7 -0
- package/Types/Exception/UnexplainedError.js +36 -1
- package/Types/Exception/UnexplainedError.mjs +2 -0
- package/Types/InstallationHealth/InstallationHealth.d.mts +39 -0
- package/Types/InstallationHealth/InstallationHealth.d.ts +39 -0
- package/Types/InstallationHealth/InstallationHealth.js +163 -0
- package/Types/Kubernetes/KubernetesHealth.d.mts +16 -0
- package/Types/Kubernetes/KubernetesHealth.d.ts +16 -0
- package/Types/Kubernetes/KubernetesHealth.js +128 -6
- package/Types/Kubernetes/KubernetesHealth.mjs +2 -0
- package/Types/Monitor/CloudAppAlertTemplates.d.mts +3 -13
- package/Types/Monitor/CloudAppAlertTemplates.d.ts +3 -13
- package/Types/Monitor/CloudAppAlertTemplates.js +13 -199
- package/Types/Monitor/CriteriaFilter.d.mts +2 -1
- package/Types/Monitor/CriteriaFilter.d.ts +2 -1
- package/Types/Monitor/CriteriaFilter.js +9 -1
- package/Types/Monitor/CriteriaFilterTerms.js +1 -0
- package/Types/Monitor/MessageQueueAlertTemplates.d.mts +6 -0
- package/Types/Monitor/MessageQueueAlertTemplates.d.ts +6 -0
- package/Types/Monitor/MessageQueueAlertTemplates.js +32 -0
- package/Types/Monitor/MessageQueueAlertTemplates.mjs +2 -0
- package/Types/Monitor/MonitorCriteriaInstance.d.mts +2 -0
- package/Types/Monitor/MonitorCriteriaInstance.d.ts +2 -0
- package/Types/Monitor/MonitorCriteriaInstance.js +52 -0
- package/Types/Monitor/MonitorMetricType.d.mts +2 -1
- package/Types/Monitor/MonitorMetricType.d.ts +2 -1
- package/Types/Monitor/MonitorMetricType.js +1 -0
- package/Types/Monitor/MonitorStepLimit.d.mts +8 -0
- package/Types/Monitor/MonitorStepLimit.d.ts +8 -0
- package/Types/Monitor/MonitorStepLimit.js +62 -0
- package/Types/Monitor/MonitorStepLimit.mjs +3 -0
- package/Types/Monitor/MonitorSteps.js +5 -0
- package/Types/Monitor/MonitorType.js +2 -1
- package/Types/Monitor/ProbeStatusMonitor/ProbeStatusMonitorResponse.d.mts +5 -0
- package/Types/Monitor/ProbeStatusMonitor/ProbeStatusMonitorResponse.d.ts +5 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.mts +1 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.ts +1 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.js +111 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.mts +7 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.ts +7 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.js +15 -0
- package/Types/Monitor/RequestHealthAlertTemplates.d.mts +66 -0
- package/Types/Monitor/RequestHealthAlertTemplates.d.ts +66 -0
- package/Types/Monitor/RequestHealthAlertTemplates.js +227 -0
- package/Types/Monitor/RequestHealthAlertTemplates.mjs +4 -0
- package/Types/Monitor/ServerlessAlertTemplates.d.mts +23 -0
- package/Types/Monitor/ServerlessAlertTemplates.d.ts +23 -0
- package/Types/Monitor/ServerlessAlertTemplates.js +111 -0
- package/Types/Monitor/ServerlessAlertTemplates.mjs +7 -0
- package/Types/Monitor/ServiceAlertTemplates.d.mts +3 -0
- package/Types/Monitor/ServiceAlertTemplates.d.ts +3 -0
- package/Types/Monitor/ServiceAlertTemplates.js +61 -0
- package/Types/Monitor/ServiceAlertTemplates.mjs +2 -0
- package/Types/Monitor/TelemetryRulePreview.js +18 -6
- package/Types/Monitor/WhoIsTold.d.mts +71 -0
- package/Types/Monitor/WhoIsTold.d.ts +71 -0
- package/Types/Monitor/WhoIsTold.js +348 -121
- package/Types/Monitor/WhoIsTold.mjs +7 -0
- package/Types/NetworkAutomation/RuleRunResult.js +9 -5
- package/Types/NetworkDevice/DiscoveredDevice.d.mts +40 -0
- package/Types/NetworkDevice/DiscoveredDevice.d.ts +40 -0
- package/Types/NetworkDevice/DiscoveredDevice.js +205 -1
- package/Types/NetworkDevice/DiscoveredDevice.mjs +9 -0
- package/Types/NetworkDevice/DiscoveryImport.js +8 -3
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.d.mts +26 -3
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.d.ts +26 -3
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.js +75 -3
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.mjs +2 -0
- package/Types/Notification/WhoWasTold.d.mts +190 -0
- package/Types/Notification/WhoWasTold.d.ts +190 -0
- package/Types/Notification/WhoWasTold.js +662 -0
- package/Types/Notification/WhoWasTold.mjs +16 -0
- package/Types/NotificationRule/PagingLadderDefault.d.mts +75 -0
- package/Types/NotificationRule/PagingLadderDefault.d.ts +75 -0
- package/Types/NotificationRule/PagingLadderDefault.js +529 -0
- package/Types/NotificationRule/PagingLadderDefault.mjs +24 -0
- package/Types/OnCallDutyPolicy/EveryNewEventRules.d.mts +7 -0
- package/Types/OnCallDutyPolicy/EveryNewEventRules.d.ts +7 -0
- package/Types/OnCallDutyPolicy/EveryNewEventRules.js +53 -2
- package/Types/OnCallDutyPolicy/EveryNewEventRules.mjs +3 -0
- package/Types/OnCallDutyPolicy/NotificationSetupToFinish.d.mts +6 -0
- package/Types/OnCallDutyPolicy/NotificationSetupToFinish.d.ts +6 -0
- package/Types/OnCallDutyPolicy/NotificationSetupToFinish.js +27 -0
- package/Types/OnCallDutyPolicy/NotificationSetupToFinish.mjs +3 -0
- package/Types/OnCallDutyPolicy/OnCallFireDrill.d.mts +83 -0
- package/Types/OnCallDutyPolicy/OnCallFireDrill.d.ts +83 -0
- package/Types/OnCallDutyPolicy/OnCallFireDrill.js +105 -0
- package/Types/OnCallDutyPolicy/OnCallFireDrill.mjs +9 -0
- package/Types/OnCallDutyPolicy/OnCallPagePassOn.js +12 -4
- package/Types/OnCallDutyPolicy/OnCallRunLevel.d.mts +12 -0
- package/Types/OnCallDutyPolicy/OnCallRunLevel.d.ts +12 -0
- package/Types/OnCallDutyPolicy/OnCallRunLevel.js +69 -8
- package/Types/OnCallDutyPolicy/OnCallRunLevel.mjs +3 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.d.mts +4 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.d.ts +4 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.js +20 -7
- package/Types/OnCallDutyPolicy/OnCallTestPage.mjs +2 -0
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.d.mts +2 -0
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.d.ts +2 -0
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.js +14 -1
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.mjs +2 -0
- package/Types/OnCallDutyPolicy/UserOverrideEdit.d.mts +7 -0
- package/Types/OnCallDutyPolicy/UserOverrideEdit.d.ts +7 -0
- package/Types/OnCallDutyPolicy/UserOverrideEdit.js +63 -1
- package/Types/OnCallDutyPolicy/UserOverrideEdit.mjs +4 -0
- package/Types/OnCallDutyPolicy/UserOverrideOverlap.d.mts +21 -1
- package/Types/OnCallDutyPolicy/UserOverrideOverlap.d.ts +21 -1
- package/Types/OnCallDutyPolicy/UserOverrideOverlap.js +46 -2
- package/Types/Permission.d.mts +8 -0
- package/Types/Permission.d.ts +8 -0
- package/Types/Permission.js +84 -0
- package/Types/Probe/ProbeBehind.d.mts +48 -0
- package/Types/Probe/ProbeBehind.d.ts +48 -0
- package/Types/Probe/ProbeBehind.js +196 -0
- package/Types/Probe/ProbeBehind.mjs +6 -0
- package/Types/Product/ProductRecordTables.d.mts +8 -0
- package/Types/Product/ProductRecordTables.d.ts +8 -0
- package/Types/Product/ProductRecordTables.js +847 -0
- package/Types/Product/ProductRecordTables.mjs +5 -0
- package/Types/Product/ProductUsage.d.mts +2 -0
- package/Types/Product/ProductUsage.d.ts +2 -0
- package/Types/Product/ProductUsage.js +41 -6
- package/Types/Product/ProductUsage.mjs +2 -0
- package/Types/Product/ServerProductOffReason.d.mts +4 -0
- package/Types/Product/ServerProductOffReason.d.ts +4 -0
- package/Types/Product/ServerProductOffReason.js +19 -0
- package/Types/Product/ServerProductOffReason.mjs +2 -0
- package/Types/Product/ServerProducts.d.mts +2 -4
- package/Types/Product/ServerProducts.d.ts +2 -4
- package/Types/Product/ServerProducts.js +19 -17
- package/Types/ProductFeedback/ProductFeedback.d.mts +45 -1
- package/Types/ProductFeedback/ProductFeedback.d.ts +45 -1
- package/Types/ProductFeedback/ProductFeedback.js +185 -5
- package/Types/ProductFeedback/ProductFeedback.mjs +11 -0
- package/Types/PushNotification/PushNotificationCategory.d.mts +1 -0
- package/Types/PushNotification/PushNotificationCategory.d.ts +1 -0
- package/Types/PushNotification/PushNotificationCategory.js +17 -6
- package/Types/PushNotification/PushNotificationCategory.mjs +1 -0
- package/Types/Rules/RuleCriteriaFieldRegistry.d.mts +18 -0
- package/Types/Rules/RuleCriteriaFieldRegistry.d.ts +18 -0
- package/Types/Rules/RuleCriteriaFieldRegistry.js +34 -1
- package/Types/Rules/RuleCriteriaFieldRegistry.mjs +4 -0
- package/Types/Rum/ProductAnalytics.d.mts +9 -0
- package/Types/Rum/ProductAnalytics.d.ts +9 -0
- package/Types/Rum/ProductAnalytics.js +56 -8
- package/Types/Rum/ProductAnalytics.mjs +6 -0
- package/Types/Rum/ProductAnalyticsEvents.js +2 -1
- package/Types/Rum/SessionReplay.d.mts +3 -0
- package/Types/Rum/SessionReplay.d.ts +3 -0
- package/Types/Rum/SessionReplay.js +35 -1
- package/Types/Rum/SessionReplay.mjs +2 -0
- package/Types/Runbook/RunbookTriggerType.d.mts +1 -0
- package/Types/Runbook/RunbookTriggerType.d.ts +1 -0
- package/Types/Runbook/RunbookTriggerType.js +19 -1
- package/Types/Runbook/RunbookTriggerType.mjs +1 -0
- package/Types/SSO/IdentityProviderSignOut.d.mts +24 -0
- package/Types/SSO/IdentityProviderSignOut.d.ts +24 -0
- package/Types/SSO/IdentityProviderSignOut.js +124 -0
- package/Types/SSO/IdentityProviderSignOut.mjs +10 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.d.mts +4 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.d.ts +4 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.js +12 -0
- package/Types/SecurityCase/SecurityCaseMatches.d.mts +78 -0
- package/Types/SecurityCase/SecurityCaseMatches.d.ts +78 -0
- package/Types/SecurityCase/SecurityCaseMatches.js +252 -0
- package/Types/SecurityCase/SecurityCaseMatches.mjs +17 -0
- package/Types/ServerSending/ProjectCanSend.d.mts +10 -0
- package/Types/ServerSending/ProjectCanSend.d.ts +10 -0
- package/Types/ServerSending/ProjectCanSend.js +49 -0
- package/Types/ServerSending/ProjectCanSend.mjs +4 -0
- package/Types/ServerSending/ServerAlerts.d.mts +78 -0
- package/Types/ServerSending/ServerAlerts.d.ts +78 -0
- package/Types/ServerSending/ServerAlerts.js +393 -0
- package/Types/ServerSending/ServerAlerts.mjs +8 -0
- package/Types/ServerSending/ServerSendingStatus.d.mts +6 -0
- package/Types/ServerSending/ServerSendingStatus.d.ts +6 -0
- package/Types/ServerSending/ServerSendingStatus.js +23 -0
- package/Types/ServerSending/ServerSetUpProblem.d.mts +46 -0
- package/Types/ServerSending/ServerSetUpProblem.d.ts +46 -0
- package/Types/ServerSending/ServerSetUpProblem.js +164 -0
- package/Types/ServerSending/ServerSetUpProblem.mjs +6 -0
- package/Types/ServerSetup/ServerSetupChecklist.d.mts +35 -1
- package/Types/ServerSetup/ServerSetupChecklist.d.ts +35 -1
- package/Types/ServerSetup/ServerSetupChecklist.js +270 -33
- package/Types/ServerSetup/ServerSetupChecklist.mjs +5 -0
- package/Types/ServerSetup/ServerTestSend.d.mts +11 -0
- package/Types/ServerSetup/ServerTestSend.d.ts +11 -0
- package/Types/ServerSetup/ServerTestSend.js +60 -3
- package/Types/ServerSetup/ServerTestSend.mjs +2 -0
- package/Types/ServiceLevelObjective/SloStatus.d.mts +3 -0
- package/Types/ServiceLevelObjective/SloStatus.d.ts +3 -0
- package/Types/ServiceLevelObjective/SloStatus.js +38 -0
- package/Types/ServiceLevelObjective/SloStatus.mjs +2 -0
- package/Types/ServiceLevelObjective/SloStatusChange.d.mts +10 -0
- package/Types/ServiceLevelObjective/SloStatusChange.d.ts +10 -0
- package/Types/ServiceLevelObjective/SloStatusChange.js +71 -0
- package/Types/ServiceLevelObjective/SloStatusChange.mjs +5 -0
- package/Types/SetupHealth/SetupHealth.d.mts +31 -3
- package/Types/SetupHealth/SetupHealth.d.ts +31 -3
- package/Types/SetupHealth/SetupHealth.js +333 -4
- package/Types/SetupHealth/SetupHealth.mjs +5 -0
- package/Types/StatusPage/NewIncidentSubscriberNotificationDefault.js +8 -5
- package/Types/StatusPage/StatusPagePublicName.d.mts +6 -0
- package/Types/StatusPage/StatusPagePublicName.d.ts +6 -0
- package/Types/StatusPage/StatusPagePublicName.js +32 -0
- package/Types/StatusPage/StatusPagePublicName.mjs +3 -0
- package/Types/Team/InvitationEmailsNotSent.d.mts +28 -0
- package/Types/Team/InvitationEmailsNotSent.d.ts +28 -0
- package/Types/Team/InvitationEmailsNotSent.js +261 -0
- package/Types/Team/InvitationEmailsNotSent.mjs +13 -0
- package/Types/Team/ProjectMemberSearch.d.mts +15 -0
- package/Types/Team/ProjectMemberSearch.d.ts +15 -0
- package/Types/Team/ProjectMemberSearch.js +180 -0
- package/Types/Team/ProjectMemberSearch.mjs +10 -0
- package/Types/Team/ProjectRemovalReach.d.mts +15 -0
- package/Types/Team/ProjectRemovalReach.d.ts +15 -0
- package/Types/Team/ProjectRemovalReach.js +154 -0
- package/Types/Team/ProjectRemovalReach.mjs +8 -0
- package/Types/Team/ResendInvitation.d.mts +27 -0
- package/Types/Team/ResendInvitation.d.ts +27 -0
- package/Types/Team/ResendInvitation.js +123 -0
- package/Types/Team/ResendInvitation.mjs +12 -0
- package/Types/UsedBy/UsedBy.d.mts +1 -0
- package/Types/UsedBy/UsedBy.d.ts +1 -0
- package/Types/UsedBy/UsedBy.js +2 -0
- package/Types/UsedBy/UsedByServerProducts.js +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.d.mts +27 -4
- package/Types/WelcomeChecklist/WelcomeChecklist.d.ts +27 -4
- package/Types/WelcomeChecklist/WelcomeChecklist.js +166 -42
- package/Types/WelcomeChecklist/WelcomeChecklist.mjs +8 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.mts +4 -1
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.ts +4 -1
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.js +175 -33
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.mjs +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.d.mts +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.d.ts +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.js +30 -1
- package/Types/WelcomeChecklist/WelcomeChecklistState.mjs +1 -0
- package/Types/Workflow/Component.d.mts +0 -1
- package/Types/Workflow/Component.d.ts +0 -1
- package/Types/Workspace/NotificationRules/BaseNotificationRule.d.mts +1 -1
- package/Types/Workspace/NotificationRules/BaseNotificationRule.d.ts +1 -1
- package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.mts +23 -0
- package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.ts +23 -0
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.d.mts +12 -0
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.d.ts +12 -0
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.js +106 -4
- package/Types/Workspace/WorkspaceMessagePayload.d.mts +2 -0
- package/Types/Workspace/WorkspaceMessagePayload.d.ts +2 -0
- package/Types/Workspace/WorkspaceMessagePayload.js +6 -1
- package/Types/Workspace/WorkspaceMessagePayload.mjs +1 -0
- package/UI/Components/Dropdown/Dropdown.d.mts +2 -0
- package/UI/Components/Dropdown/Dropdown.d.ts +2 -0
- package/Utils/Dashboard/Components/DashboardProductAnalyticsFunnelComponent.js +6 -1
- package/Utils/Dashboard/Components/DashboardProductAnalyticsRetentionComponent.js +6 -1
- package/Utils/Dashboard/MonitorListWidgetFormat.d.mts +4 -1
- package/Utils/Dashboard/MonitorListWidgetFormat.d.ts +4 -1
- package/Utils/Dashboard/MonitorListWidgetFormat.js +9 -4
- package/Utils/DataSecurity/CustomDataTypeDetector.js +3 -1
- package/Utils/DataSecurity/DetectorPrefilter.d.mts +9 -0
- package/Utils/DataSecurity/DetectorPrefilter.d.ts +9 -0
- package/Utils/DataSecurity/DetectorPrefilter.js +471 -0
- package/Utils/DataSecurity/DetectorPrefilter.mjs +6 -0
- package/Utils/DataSecurity/FieldClassifier.d.mts +2 -0
- package/Utils/DataSecurity/FieldClassifier.d.ts +2 -0
- package/Utils/DataSecurity/FieldClassifier.js +38 -8
- package/Utils/DataSecurity/OccurrenceExcerpt.d.mts +22 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.d.ts +22 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.js +270 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.mjs +5 -0
- package/Utils/DataSecurity/TextScanner.d.mts +4 -0
- package/Utils/DataSecurity/TextScanner.d.ts +4 -0
- package/Utils/Monitor/DeviceMonitorDuplicates.d.mts +34 -0
- package/Utils/Monitor/DeviceMonitorDuplicates.d.ts +34 -0
- package/Utils/Monitor/DeviceMonitorDuplicates.js +134 -0
- package/Utils/Monitor/DeviceMonitorDuplicates.mjs +7 -0
- package/Utils/Monitor/DeviceMonitorTemplateUtil.d.mts +4 -0
- package/Utils/Monitor/DeviceMonitorTemplateUtil.d.ts +4 -0
- package/Utils/Monitor/DeviceMonitorTemplateUtil.js +33 -6
- package/Utils/Monitor/MonitorMetricType.js +11 -1
- package/Utils/Monitor/MonitorOverviewPresentationUtil.js +21 -3
- package/Utils/Monitor/ProbeFailureCauses.js +4 -1
- package/Utils/Monitor/ProbeStatusMonitorUtil.d.mts +5 -1
- package/Utils/Monitor/ProbeStatusMonitorUtil.d.ts +5 -1
- package/Utils/Monitor/ProbeStatusMonitorUtil.js +106 -0
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.d.mts +3 -0
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.d.ts +3 -0
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.js +33 -4
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.mjs +1 -0
- package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.d.mts +33 -0
- package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.d.ts +33 -0
- package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.js +105 -0
- package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.mjs +8 -0
- package/Utils/NetworkDevice/SnmpCredentialUtil.d.mts +5 -0
- package/Utils/NetworkDevice/SnmpCredentialUtil.d.ts +5 -0
- package/Utils/NetworkDevice/SnmpCredentialUtil.js +28 -3
- package/Utils/NetworkDevice/SnmpCredentialUtil.mjs +3 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.d.mts +1 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.d.ts +1 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.js +20 -1
- package/Utils/Rules/RuleCriteriaMatcher.d.mts +1 -0
- package/Utils/Rules/RuleCriteriaMatcher.d.ts +1 -0
- package/Utils/Rules/RuleCriteriaMatcher.js +6 -0
- package/Utils/Rules/RuleCriteriaOwnerMatch.d.mts +10 -0
- package/Utils/Rules/RuleCriteriaOwnerMatch.d.ts +10 -0
- package/Utils/Rules/RuleCriteriaOwnerMatch.js +83 -0
- package/Utils/Rules/RuleCriteriaOwnerMatch.mjs +4 -0
- package/Utils/SecurityCase/SecurityCaseMatchRules.d.mts +27 -0
- package/Utils/SecurityCase/SecurityCaseMatchRules.d.ts +27 -0
- package/Utils/SecurityCase/SecurityCaseMatchRules.js +377 -0
- package/Utils/SecurityCase/SecurityCaseMatchRules.mjs +9 -0
- package/Utils/Slo/SloBulkRecommendedPolicy.d.mts +35 -0
- package/Utils/Slo/SloBulkRecommendedPolicy.d.ts +35 -0
- package/Utils/Slo/SloBulkRecommendedPolicy.js +168 -0
- package/Utils/Slo/SloBulkRecommendedPolicy.mjs +6 -0
- package/Utils/Slo/SloBurnRateRuleState.js +3 -6
- package/Utils/Slo/SloErrorBudgetPolicy.d.mts +17 -0
- package/Utils/Slo/SloErrorBudgetPolicy.d.ts +17 -0
- package/Utils/Slo/SloErrorBudgetPolicy.js +72 -1
- package/Utils/Slo/SloErrorBudgetPolicy.mjs +4 -0
- package/Utils/Slo/SloFeedMarkdown.d.mts +5 -2
- package/Utils/Slo/SloFeedMarkdown.d.ts +5 -2
- package/Utils/Slo/SloFeedMarkdown.js +19 -7
- package/Utils/Slo/SloFeedMarkdown.mjs +1 -0
- package/Utils/Slo/SloHealth.d.mts +5 -0
- package/Utils/Slo/SloHealth.d.ts +5 -0
- package/Utils/Slo/SloHealth.js +27 -0
- package/Utils/Slo/SloListWidgetFormat.js +5 -3
- package/Utils/Slo/SloMetricType.js +6 -5
- package/Utils/Slo/SloMonitorsFirstCheck.d.mts +13 -0
- package/Utils/Slo/SloMonitorsFirstCheck.d.ts +13 -0
- package/Utils/Slo/SloMonitorsFirstCheck.js +78 -0
- package/Utils/Slo/SloMonitorsFirstCheck.mjs +3 -0
- package/Utils/Slo/SloOverviewText.js +7 -0
- package/Utils/Slo/SloStatusColor.d.mts +3 -0
- package/Utils/Slo/SloStatusColor.d.ts +3 -0
- package/Utils/Slo/SloStatusColor.js +3 -0
- package/Utils/Slo/SloStatusPosts.d.mts +18 -0
- package/Utils/Slo/SloStatusPosts.d.ts +18 -0
- package/Utils/Slo/SloStatusPosts.js +95 -0
- package/Utils/Slo/SloStatusPosts.mjs +3 -0
- package/Utils/StatusPage/GridAxisValues.d.mts +2 -0
- package/Utils/StatusPage/GridAxisValues.d.ts +2 -0
- package/Utils/StatusPage/GridAxisValues.js +33 -0
- package/Utils/StatusPage/GridAxisValues.mjs +3 -0
- package/Utils/StatusPage/GroupHierarchyView.d.mts +2 -2
- package/Utils/StatusPage/GroupHierarchyView.d.ts +2 -2
- package/Utils/StatusPage/GroupHierarchyView.js +13 -12
- package/Utils/StatusPage/GroupNestingLayout.d.mts +1 -0
- package/Utils/StatusPage/GroupNestingLayout.d.ts +1 -0
- package/Utils/StatusPage/GroupNestingLayout.js +25 -5
- package/Utils/StatusPage/ResourceExplorer.d.mts +2 -2
- package/Utils/StatusPage/ResourceExplorer.d.ts +2 -2
- package/Utils/StatusPage/ResourceExplorer.js +15 -21
- package/Utils/StatusPage/StatusColorsOnDark.d.mts +5 -3
- package/Utils/StatusPage/StatusColorsOnDark.d.ts +5 -3
- package/Utils/StatusPage/StatusColorsOnDark.js +18 -6
- package/Utils/StatusPage/StatusColorsOnDark.mjs +1 -0
- package/Utils/Telemetry/MobileAppFaults.d.mts +8 -0
- package/Utils/Telemetry/MobileAppFaults.d.ts +8 -0
- package/Utils/Telemetry/MobileAppFaults.js +69 -0
- package/Utils/Telemetry/MobileAppFaults.mjs +6 -0
- package/Utils/Workspace/WorkspaceRefusal.d.mts +108 -0
- package/Utils/Workspace/WorkspaceRefusal.d.ts +108 -0
- package/Utils/Workspace/WorkspaceRefusal.js +769 -0
- package/Utils/Workspace/WorkspaceRefusal.mjs +50 -0
- 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 {};
|