@oneuptime/common 15.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/AIAgent.js +2 -0
- package/Models/DatabaseModels/AIAgentTaskPullRequest.d.mts +2 -0
- package/Models/DatabaseModels/AIAgentTaskPullRequest.d.ts +2 -0
- package/Models/DatabaseModels/AIAgentTaskPullRequest.js +62 -0
- package/Models/DatabaseModels/AIRun.d.mts +2 -0
- package/Models/DatabaseModels/AIRun.d.ts +2 -0
- package/Models/DatabaseModels/AIRun.js +63 -0
- package/Models/DatabaseModels/AlertSeverity.js +12 -3
- package/Models/DatabaseModels/CustomNotificationChannel.js +17 -9
- 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/DataProduct.js +3 -2
- 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 +129 -1
- 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/IoTDeviceCredential.js +3 -1
- package/Models/DatabaseModels/Monitor.d.mts +4 -0
- package/Models/DatabaseModels/Monitor.d.ts +4 -0
- package/Models/DatabaseModels/Monitor.js +126 -5
- package/Models/DatabaseModels/NetworkDevice.d.mts +1 -0
- package/Models/DatabaseModels/NetworkDevice.d.ts +1 -0
- package/Models/DatabaseModels/NetworkDevice.js +92 -17
- package/Models/DatabaseModels/NetworkDeviceAutoImportRule.js +2 -2
- package/Models/DatabaseModels/NetworkDeviceDiscoveryScan.js +38 -15
- package/Models/DatabaseModels/NetworkSnmpCredentialProfile.js +4 -4
- 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/OpenStackProjectNotice.js +29 -10
- package/Models/DatabaseModels/Probe.d.mts +4 -0
- package/Models/DatabaseModels/Probe.d.ts +4 -0
- package/Models/DatabaseModels/Probe.js +102 -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/ProjectSCIM.d.mts +2 -1
- package/Models/DatabaseModels/ProjectSCIM.d.ts +2 -1
- package/Models/DatabaseModels/ProjectSCIM.js +21 -9
- 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/Runbook.js +3 -2
- package/Models/DatabaseModels/Runner.js +2 -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/StatusPage.js +3 -2
- package/Models/DatabaseModels/StatusPageGroup.js +1 -1
- package/Models/DatabaseModels/StatusPageResource.js +1 -1
- package/Models/DatabaseModels/StatusPageSCIM.d.mts +2 -1
- package/Models/DatabaseModels/StatusPageSCIM.d.ts +2 -1
- package/Models/DatabaseModels/StatusPageSCIM.js +17 -8
- package/Models/DatabaseModels/StatusPageSubscriber.js +35 -15
- package/Models/DatabaseModels/TelemetryException.js +15 -2
- package/Models/DatabaseModels/TelemetryIngestionKey.d.mts +2 -0
- package/Models/DatabaseModels/TelemetryIngestionKey.d.ts +2 -0
- package/Models/DatabaseModels/TelemetryIngestionKey.js +46 -1
- 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/UserWebhook.js +25 -17
- package/Models/DatabaseModels/WebhookLog.js +12 -2
- package/Models/DatabaseModels/Workflow.d.mts +3 -0
- package/Models/DatabaseModels/Workflow.d.ts +3 -0
- package/Models/DatabaseModels/Workflow.js +70 -1
- 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 +27 -1
- package/Server/Services/DatabaseService.d.ts +27 -1
- package/Server/Utils/Workspace/WorkspaceBase.d.mts +1 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.ts +1 -0
- package/Types/AI/AIActionWords.js +2 -1
- 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/AI/CarriedRecords.d.mts +35 -0
- package/Types/AI/CarriedRecords.d.ts +35 -0
- package/Types/AI/CarriedRecords.js +211 -0
- package/Types/AI/CarriedRecords.mjs +3 -0
- package/Types/Accounts/SetPasswordLink.d.mts +6 -0
- package/Types/Accounts/SetPasswordLink.d.ts +6 -0
- package/Types/Accounts/SetPasswordLink.js +47 -0
- package/Types/Accounts/SetPasswordLink.mjs +7 -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/DatabaseCommonInteractionPropsUtil.js +1 -1
- 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/CodeRepository/ProductionReview.d.mts +5 -0
- package/Types/CodeRepository/ProductionReview.d.ts +5 -0
- package/Types/CodeRepository/ProductionReview.js +108 -0
- 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/DatabaseProperty.d.mts +1 -0
- package/Types/Database/DatabaseProperty.d.ts +1 -0
- package/Types/Database/DatabaseProperty.js +27 -0
- package/Types/Database/EncryptedValue.d.mts +2 -0
- package/Types/Database/EncryptedValue.d.ts +2 -0
- package/Types/Database/EncryptedValue.js +27 -0
- package/Types/Database/EncryptedValue.mjs +3 -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/Database/TableColumn.d.mts +3 -0
- package/Types/Database/TableColumn.d.ts +3 -0
- package/Types/Docs/GlossaryTerm.d.mts +1 -0
- package/Types/Docs/GlossaryTerm.d.ts +1 -0
- package/Types/Docs/GlossaryTerm.js +2 -0
- package/Types/Email/EmailSendFailure.d.mts +20 -0
- package/Types/Email/EmailSendFailure.d.ts +20 -0
- package/Types/Email/EmailSendFailure.js +244 -0
- package/Types/Email/EmailSendFailure.mjs +3 -0
- package/Types/Email/EmailTemplateType.d.mts +1 -0
- package/Types/Email/EmailTemplateType.d.ts +1 -0
- package/Types/Email/EmailTemplateType.js +5 -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/Runner/RunnerCodeFixCapability.d.mts +3 -1
- package/Types/Runner/RunnerCodeFixCapability.d.ts +3 -1
- package/Types/Runner/RunnerCodeFixCapability.js +19 -1
- package/Types/Runner/RunnerCodeFixCapability.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/SSO/SessionsWithoutSso.js +2 -2
- 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 +29 -2
- package/Types/ServerSending/ServerSendingStatus.d.ts +29 -2
- package/Types/ServerSending/ServerSendingStatus.js +231 -10
- package/Types/ServerSending/ServerSendingStatus.mjs +3 -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 +275 -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/StatusPageMagicLink.js +1 -1
- 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/StatusPage/StatusPageSignInMessages.d.mts +3 -0
- package/Types/StatusPage/StatusPageSignInMessages.d.ts +3 -0
- package/Types/StatusPage/StatusPageSignInMessages.js +16 -0
- package/Types/StatusPage/StatusPageSignInMessages.mjs +4 -0
- package/Types/StatusPage/StatusPageSingleSignOnProtocol.d.mts +12 -0
- package/Types/StatusPage/StatusPageSingleSignOnProtocol.d.ts +12 -0
- package/Types/StatusPage/StatusPageSingleSignOnProtocol.js +63 -0
- package/Types/StatusPage/StatusPageSingleSignOnProtocol.mjs +8 -0
- package/Types/StatusPage/StatusPageSubscriberChannel.d.mts +18 -0
- package/Types/StatusPage/StatusPageSubscriberChannel.d.ts +18 -0
- package/Types/StatusPage/StatusPageSubscriberChannel.js +91 -0
- package/Types/StatusPage/StatusPageSubscriberChannel.mjs +10 -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/ConnectCallback.d.mts +2 -1
- package/Types/Workspace/ConnectCallback.d.ts +2 -1
- package/Types/Workspace/ConnectCallback.js +8 -0
- 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/AiRemediation/DeclaredCodeChange.d.mts +4 -1
- package/Utils/AiRemediation/DeclaredCodeChange.d.ts +4 -1
- package/Utils/AiRemediation/DeclaredCodeChange.js +6 -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 +10 -5
- 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/Incident/PostmortemActionItemCodeTask.d.mts +2 -0
- package/Utils/Incident/PostmortemActionItemCodeTask.d.ts +2 -0
- package/Utils/Incident/PostmortemActionItemCodeTask.js +22 -5
- package/Utils/Incident/PostmortemActionItemCodeTask.mjs +1 -0
- package/Utils/LookupTable.d.mts +1 -0
- package/Utils/LookupTable.d.ts +1 -0
- package/Utils/LookupTable.js +19 -0
- package/Utils/LookupTable.mjs +1 -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/MonitorFirstCheckOverdue.js +5 -5
- package/Utils/Monitor/MonitorMetricType.js +11 -1
- package/Utils/Monitor/MonitorOverviewFamily.d.mts +2 -10
- package/Utils/Monitor/MonitorOverviewFamily.d.ts +2 -10
- package/Utils/Monitor/MonitorOverviewFamily.js +19 -99
- package/Utils/Monitor/MonitorOverviewPresentationUtil.d.mts +1 -1
- package/Utils/Monitor/MonitorOverviewPresentationUtil.d.ts +1 -1
- package/Utils/Monitor/MonitorOverviewPresentationUtil.js +27 -9
- package/Utils/Monitor/MonitorRowStatus.js +2 -2
- package/Utils/Monitor/MonitorTypeFamily.d.mts +14 -0
- package/Utils/Monitor/MonitorTypeFamily.d.ts +14 -0
- package/Utils/Monitor/MonitorTypeFamily.js +105 -0
- package/Utils/Monitor/MonitorTypeFamily.mjs +3 -0
- 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/Monitor/StoredCheckEvidence.d.mts +10 -0
- package/Utils/Monitor/StoredCheckEvidence.d.ts +10 -0
- package/Utils/Monitor/StoredCheckEvidence.js +53 -0
- package/Utils/Monitor/StoredCheckEvidence.mjs +5 -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/NetworkDiscovery/SnmpScanConfigUtil.js +11 -4
- package/Utils/Project/ProjectBilling.d.mts +1 -0
- package/Utils/Project/ProjectBilling.d.ts +1 -0
- package/Utils/Project/ProjectBilling.js +9 -1
- package/Utils/Project/ProjectBilling.mjs +1 -0
- 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/HistoryWindow.d.mts +3 -0
- package/Utils/StatusPage/HistoryWindow.d.ts +3 -0
- package/Utils/StatusPage/HistoryWindow.js +24 -0
- package/Utils/StatusPage/HistoryWindow.mjs +4 -0
- 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/Suggestions/CodeFixSuggestion.d.mts +2 -1
- package/Utils/Suggestions/CodeFixSuggestion.d.ts +2 -1
- package/Utils/Suggestions/CodeFixSuggestion.js +9 -0
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.d.mts +1 -0
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.d.ts +1 -0
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.js +24 -3
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.mjs +1 -0
- package/Utils/Suggestions/ProfileFixSuggestion.d.mts +1 -0
- package/Utils/Suggestions/ProfileFixSuggestion.d.ts +1 -0
- package/Utils/Suggestions/ProfileFixSuggestion.js +16 -4
- package/Utils/Suggestions/TelemetryAiFixSuggestion.d.mts +2 -0
- package/Utils/Suggestions/TelemetryAiFixSuggestion.d.ts +2 -0
- package/Utils/Suggestions/TelemetryAiFixSuggestion.js +17 -5
- package/Utils/Suggestions/TelemetryAiFixSuggestion.mjs +1 -0
- package/Utils/Suggestions/TracePerformanceFixSuggestion.js +16 -7
- 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/WebhookAddressMask.d.mts +9 -0
- package/Utils/WebhookAddressMask.d.ts +9 -0
- package/Utils/WebhookAddressMask.js +66 -0
- package/Utils/WebhookAddressMask.mjs +2 -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
|
@@ -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 {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.KUBERNETES_ATTENTION_KIND_ORDER = exports.KUBERNETES_FAILING_WAIT_REASONS = exports.KUBERNETES_REASON_AS_WRITTEN = exports.KubernetesHealthSeverity = exports.KUBERNETES_HEALTH_RECENT_MS = exports.KUBERNETES_HEALTH_GRACE_MS = void 0;
|
|
3
|
+
exports.KubernetesPodStatusBucket = exports.KUBERNETES_ATTENTION_KIND_ORDER = exports.KUBERNETES_FAILING_WAIT_REASONS = exports.KUBERNETES_REASON_AS_WRITTEN = exports.KubernetesHealthSeverity = exports.KUBERNETES_HEALTH_RECENT_MS = exports.KUBERNETES_HEALTH_GRACE_MS = void 0;
|
|
4
4
|
exports.getKubernetesOwners = getKubernetesOwners;
|
|
5
5
|
exports.getDeploymentNameFromReplicaSet = getDeploymentNameFromReplicaSet;
|
|
6
6
|
exports.getDeploymentConfigNameFromReplicationController = getDeploymentConfigNameFromReplicationController;
|
|
@@ -25,6 +25,7 @@ exports.sortKubernetesAttentionFindings = sortKubernetesAttentionFindings;
|
|
|
25
25
|
exports.getNewestKubernetesJobs = getNewestKubernetesJobs;
|
|
26
26
|
exports.getKubernetesAttentionFindings = getKubernetesAttentionFindings;
|
|
27
27
|
exports.assessKubernetesCronJobWithRuns = assessKubernetesCronJobWithRuns;
|
|
28
|
+
exports.getKubernetesPodStatusBucket = getKubernetesPodStatusBucket;
|
|
28
29
|
exports.getKubernetesClusterHealth = getKubernetesClusterHealth;
|
|
29
30
|
/*
|
|
30
31
|
* WHAT IN A KUBERNETES CLUSTER NEEDS SOMEONE, AND HOW BAD IT IS.
|
|
@@ -129,6 +130,8 @@ const REASON_DISK_PRESSURE = translationKey("Disk pressure");
|
|
|
129
130
|
const REASON_PID_PRESSURE = translationKey("PID pressure");
|
|
130
131
|
const REASON_LAST_RESTART = translationKey("Last restart: {{reason}}");
|
|
131
132
|
const REASON_LAST_RESTART_WITH_CODE = translationKey("Last restart: {{reason}}, exit code {{code}}");
|
|
133
|
+
// How a container's own run ended: "Error, exit code 1".
|
|
134
|
+
const REASON_ENDED_WITH_CODE = translationKey("{{reason}}, exit code {{code}}");
|
|
132
135
|
const REASON_CANNOT_BE_SCHEDULED = translationKey("Can't be scheduled");
|
|
133
136
|
const REASON_PENDING = translationKey("Pending");
|
|
134
137
|
const REASON_EVICTED = translationKey("Evicted");
|
|
@@ -219,12 +222,38 @@ function readContainerStatuses(status, key) {
|
|
|
219
222
|
state: readString(container, "state"),
|
|
220
223
|
reason: readString(container, "reason"),
|
|
221
224
|
message: readString(container, "message"),
|
|
225
|
+
exitCode: readNumber(container, "exitCode"),
|
|
222
226
|
lastTerminationReason: readString(container, "lastTerminationReason"),
|
|
223
227
|
lastTerminationExitCode: readNumber(container, "lastTerminationExitCode"),
|
|
224
228
|
lastTerminatedAt: toTime(container["lastTerminatedAt"]),
|
|
225
229
|
};
|
|
226
230
|
});
|
|
227
231
|
}
|
|
232
|
+
/*
|
|
233
|
+
* Since when a pod has not been ready: its Ready condition's last change
|
|
234
|
+
* while it is not True, else its ContainersReady condition's. Null when
|
|
235
|
+
* Kubernetes recorded neither.
|
|
236
|
+
*/
|
|
237
|
+
function notReadySinceOf(conditions) {
|
|
238
|
+
for (const type of ["Ready", "ContainersReady"]) {
|
|
239
|
+
const condition = findCondition(conditions, type);
|
|
240
|
+
if (condition &&
|
|
241
|
+
condition.status !== "True" &&
|
|
242
|
+
condition.lastTransitionTime !== null) {
|
|
243
|
+
return condition.lastTransitionTime;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
return null;
|
|
247
|
+
}
|
|
248
|
+
// A time Kubernetes recorded, or nothing: never NaN, never null.
|
|
249
|
+
function sinceOf(...times) {
|
|
250
|
+
for (const time of times) {
|
|
251
|
+
if (typeof time === "number" && Number.isFinite(time)) {
|
|
252
|
+
return time;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
return undefined;
|
|
256
|
+
}
|
|
228
257
|
/*
|
|
229
258
|
* Waits that mean a container cannot run as it is: it crashes, its image
|
|
230
259
|
* cannot be pulled, or its configuration is wrong. A container waiting in
|
|
@@ -357,8 +386,22 @@ function lastRestartReason(container) {
|
|
|
357
386
|
}
|
|
358
387
|
return text(REASON_LAST_RESTART, { reason: reason });
|
|
359
388
|
}
|
|
389
|
+
/*
|
|
390
|
+
* How a container's own run ended, in Kubernetes' word with its exit code
|
|
391
|
+
* when that says more: "Error, exit code 1". An OOM kill's code (137) and a
|
|
392
|
+
* clean exit's (0) add nothing to the word.
|
|
393
|
+
*/
|
|
394
|
+
function endedReason(word, exitCode) {
|
|
395
|
+
if (exitCode !== null && exitCode !== 0 && !word.endsWith("OOMKilled")) {
|
|
396
|
+
return text(REASON_ENDED_WITH_CODE, {
|
|
397
|
+
reason: word,
|
|
398
|
+
code: String(exitCode),
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
return asWritten(word);
|
|
402
|
+
}
|
|
360
403
|
function assessKubernetesPod(row, options) {
|
|
361
|
-
var _a, _b;
|
|
404
|
+
var _a, _b, _c;
|
|
362
405
|
const clock = clockOf(row, options);
|
|
363
406
|
const status = asObject(row.status);
|
|
364
407
|
const phase = row.phase || readString(status, "phase");
|
|
@@ -368,6 +411,7 @@ function assessKubernetesPod(row, options) {
|
|
|
368
411
|
const podReason = readString(status, "reason");
|
|
369
412
|
const podMessage = readString(status, "message");
|
|
370
413
|
const workload = getKubernetesPodWorkload(row);
|
|
414
|
+
const createdAt = toTime(row.resourceCreationTimestamp);
|
|
371
415
|
if (phase === "Succeeded") {
|
|
372
416
|
return healthy(text(STATUS_COMPLETED), "neutral");
|
|
373
417
|
}
|
|
@@ -391,7 +435,12 @@ function assessKubernetesPod(row, options) {
|
|
|
391
435
|
const word = failing
|
|
392
436
|
? container.reason
|
|
393
437
|
: `Init:${container.reason}`;
|
|
394
|
-
|
|
438
|
+
// A failed init container ended rather than waits: say how.
|
|
439
|
+
const reasons = [
|
|
440
|
+
container.state === "terminated"
|
|
441
|
+
? endedReason(word, container.exitCode)
|
|
442
|
+
: asWritten(word),
|
|
443
|
+
];
|
|
395
444
|
if (container.lastTerminationReason) {
|
|
396
445
|
reasons.push(lastRestartReason(container));
|
|
397
446
|
}
|
|
@@ -401,6 +450,12 @@ function assessKubernetesPod(row, options) {
|
|
|
401
450
|
tone: "danger",
|
|
402
451
|
reasons: reasons,
|
|
403
452
|
message: container.message || undefined,
|
|
453
|
+
/*
|
|
454
|
+
* Since it stopped being ready - the first crash, the first pull that
|
|
455
|
+
* failed - else since its last run ended, else since it was created.
|
|
456
|
+
*/
|
|
457
|
+
since: sinceOf(notReadySinceOf(conditions), container.lastTerminatedAt, createdAt),
|
|
458
|
+
container: container.name || undefined,
|
|
404
459
|
};
|
|
405
460
|
}
|
|
406
461
|
if (phase === "Failed") {
|
|
@@ -433,7 +488,7 @@ function assessKubernetesPod(row, options) {
|
|
|
433
488
|
evicted ? text(REASON_EVICTED) : text(REASON_FAILED),
|
|
434
489
|
];
|
|
435
490
|
if (!evicted && failedContainer) {
|
|
436
|
-
reasons.push(
|
|
491
|
+
reasons.push(endedReason(failedContainer.reason, failedContainer.exitCode));
|
|
437
492
|
}
|
|
438
493
|
const severity = isRecent && (workload === null || workload === void 0 ? void 0 : workload.kind) !== "Job"
|
|
439
494
|
? KubernetesHealthSeverity.Warning
|
|
@@ -445,6 +500,8 @@ function assessKubernetesPod(row, options) {
|
|
|
445
500
|
tone: severity ? "warning" : "neutral",
|
|
446
501
|
reasons: reasons,
|
|
447
502
|
message: podMessage || (failedContainer === null || failedContainer === void 0 ? void 0 : failedContainer.message) || undefined,
|
|
503
|
+
since: sinceOf(failedAt),
|
|
504
|
+
container: (failedContainer === null || failedContainer === void 0 ? void 0 : failedContainer.name) || undefined,
|
|
448
505
|
};
|
|
449
506
|
}
|
|
450
507
|
if (phase === "Pending") {
|
|
@@ -470,6 +527,9 @@ function assessKubernetesPod(row, options) {
|
|
|
470
527
|
message: (unschedulable ? scheduled === null || scheduled === void 0 ? void 0 : scheduled.message : waiting === null || waiting === void 0 ? void 0 : waiting.message) ||
|
|
471
528
|
podMessage ||
|
|
472
529
|
undefined,
|
|
530
|
+
// Pending since the scheduler gave up on it, else since it was made.
|
|
531
|
+
since: sinceOf(unschedulable ? scheduled === null || scheduled === void 0 ? void 0 : scheduled.lastTransitionTime : null, createdAt),
|
|
532
|
+
container: (waiting === null || waiting === void 0 ? void 0 : waiting.name) || undefined,
|
|
473
533
|
};
|
|
474
534
|
}
|
|
475
535
|
if (phase === "Running") {
|
|
@@ -499,7 +559,7 @@ function assessKubernetesPod(row, options) {
|
|
|
499
559
|
});
|
|
500
560
|
const reasons = [];
|
|
501
561
|
if (justEnded) {
|
|
502
|
-
reasons.push(
|
|
562
|
+
reasons.push(endedReason(justEnded.reason, justEnded.exitCode));
|
|
503
563
|
}
|
|
504
564
|
else if (notReadyLong) {
|
|
505
565
|
reasons.push(text(REASON_NOT_READY));
|
|
@@ -520,6 +580,10 @@ function assessKubernetesPod(row, options) {
|
|
|
520
580
|
message: (justEnded === null || justEnded === void 0 ? void 0 : justEnded.message) ||
|
|
521
581
|
(notReadyLong ? ready === null || ready === void 0 ? void 0 : ready.message : undefined) ||
|
|
522
582
|
undefined,
|
|
583
|
+
since: justEnded || notReadyLong
|
|
584
|
+
? sinceOf(notReadySince)
|
|
585
|
+
: sinceOf(oomKilled === null || oomKilled === void 0 ? void 0 : oomKilled.lastTerminatedAt),
|
|
586
|
+
container: ((_c = (justEnded || (notReadyLong ? notReady[0] : undefined) || oomKilled)) === null || _c === void 0 ? void 0 : _c.name) || undefined,
|
|
523
587
|
};
|
|
524
588
|
}
|
|
525
589
|
return notReady.length > 0
|
|
@@ -533,12 +597,13 @@ function assessKubernetesPod(row, options) {
|
|
|
533
597
|
tone: "warning",
|
|
534
598
|
reasons: [text(REASON_UNKNOWN_STATE)],
|
|
535
599
|
message: podMessage || undefined,
|
|
600
|
+
since: sinceOf(notReadySinceOf(conditions)),
|
|
536
601
|
};
|
|
537
602
|
}
|
|
538
603
|
return healthy(text(STATUS_NO_DATA), "neutral");
|
|
539
604
|
}
|
|
540
605
|
function assessKubernetesNode(row) {
|
|
541
|
-
var _a;
|
|
606
|
+
var _a, _b;
|
|
542
607
|
const status = asObject(row.status);
|
|
543
608
|
const spec = asObject(row.spec);
|
|
544
609
|
const conditions = readConditions(status);
|
|
@@ -566,6 +631,7 @@ function assessKubernetesNode(row) {
|
|
|
566
631
|
tone: "danger",
|
|
567
632
|
reasons: reasons,
|
|
568
633
|
message: (ready === null || ready === void 0 ? void 0 : ready.message) || undefined,
|
|
634
|
+
since: sinceOf(ready === null || ready === void 0 ? void 0 : ready.lastTransitionTime),
|
|
569
635
|
};
|
|
570
636
|
}
|
|
571
637
|
if ((network === null || network === void 0 ? void 0 : network.status) === "True") {
|
|
@@ -575,6 +641,7 @@ function assessKubernetesNode(row) {
|
|
|
575
641
|
tone: "danger",
|
|
576
642
|
reasons: [text(REASON_NETWORK_UNAVAILABLE)],
|
|
577
643
|
message: network.message || undefined,
|
|
644
|
+
since: sinceOf(network.lastTransitionTime),
|
|
578
645
|
};
|
|
579
646
|
}
|
|
580
647
|
const pressures = [
|
|
@@ -608,6 +675,7 @@ function assessKubernetesNode(row) {
|
|
|
608
675
|
return text(pressure.word);
|
|
609
676
|
}),
|
|
610
677
|
message: ((_a = findCondition(conditions, first.condition)) === null || _a === void 0 ? void 0 : _a.message) || undefined,
|
|
678
|
+
since: sinceOf((_b = findCondition(conditions, first.condition)) === null || _b === void 0 ? void 0 : _b.lastTransitionTime),
|
|
611
679
|
};
|
|
612
680
|
}
|
|
613
681
|
if (isCordoned) {
|
|
@@ -790,6 +858,7 @@ function assessKubernetesJob(row) {
|
|
|
790
858
|
tone: "warning",
|
|
791
859
|
reasons: reasons,
|
|
792
860
|
message: failed.message || undefined,
|
|
861
|
+
since: sinceOf(failed.lastTransitionTime),
|
|
793
862
|
};
|
|
794
863
|
}
|
|
795
864
|
const complete = conditions.some((condition) => {
|
|
@@ -1262,8 +1331,61 @@ function assessKubernetesCronJobWithRuns(cronJob, jobs) {
|
|
|
1262
1331
|
}),
|
|
1263
1332
|
],
|
|
1264
1333
|
message: run.message,
|
|
1334
|
+
since: run.since,
|
|
1265
1335
|
};
|
|
1266
1336
|
}
|
|
1337
|
+
/*
|
|
1338
|
+
* ---------------------------------------------------------------------------
|
|
1339
|
+
* How a pod counts in its cluster's hero
|
|
1340
|
+
* ---------------------------------------------------------------------------
|
|
1341
|
+
*
|
|
1342
|
+
* Each pod once, by what kubectl's STATUS column would say of it: a pod
|
|
1343
|
+
* whose container cannot run reads "CrashLoopBackOff" or "ImagePullBackOff"
|
|
1344
|
+
* there, not "Running" or "Pending", although that is still its phase. The
|
|
1345
|
+
* hero counted phases, so "71 Running" held the pods that crash-looped
|
|
1346
|
+
* (#9537). A pod that cannot run is exactly one the rules call critical, so
|
|
1347
|
+
* the server counts it from the verdict ingest stored (healthSeverity) and
|
|
1348
|
+
* names it by the same word this returns
|
|
1349
|
+
* (KubernetesResourceService.getInventorySummary).
|
|
1350
|
+
*/
|
|
1351
|
+
var KubernetesPodStatusBucket;
|
|
1352
|
+
(function (KubernetesPodStatusBucket) {
|
|
1353
|
+
KubernetesPodStatusBucket["Running"] = "running";
|
|
1354
|
+
KubernetesPodStatusBucket["Pending"] = "pending";
|
|
1355
|
+
// A container that cannot run: the bucket's reason says which word.
|
|
1356
|
+
KubernetesPodStatusBucket["CannotRun"] = "cannotRun";
|
|
1357
|
+
KubernetesPodStatusBucket["Failed"] = "failed";
|
|
1358
|
+
KubernetesPodStatusBucket["Succeeded"] = "succeeded";
|
|
1359
|
+
// Kubernetes' own Unknown phase: the pod's node stopped reporting it.
|
|
1360
|
+
KubernetesPodStatusBucket["Unknown"] = "unknown";
|
|
1361
|
+
// No phase recorded yet: nothing to say, and never a problem.
|
|
1362
|
+
KubernetesPodStatusBucket["NoData"] = "noData";
|
|
1363
|
+
})(KubernetesPodStatusBucket || (exports.KubernetesPodStatusBucket = KubernetesPodStatusBucket = {}));
|
|
1364
|
+
function getKubernetesPodStatusBucket(row, options) {
|
|
1365
|
+
var _a;
|
|
1366
|
+
const assessment = assessKubernetesPod(row, options);
|
|
1367
|
+
if (assessment.severity === KubernetesHealthSeverity.Critical) {
|
|
1368
|
+
return {
|
|
1369
|
+
bucket: KubernetesPodStatusBucket.CannotRun,
|
|
1370
|
+
reason: ((_a = assessment.status.values) === null || _a === void 0 ? void 0 : _a["reason"]) || undefined,
|
|
1371
|
+
};
|
|
1372
|
+
}
|
|
1373
|
+
const phase = row.phase || readString(asObject(row.status), "phase");
|
|
1374
|
+
switch (phase) {
|
|
1375
|
+
case "Running":
|
|
1376
|
+
return { bucket: KubernetesPodStatusBucket.Running };
|
|
1377
|
+
case "Pending":
|
|
1378
|
+
return { bucket: KubernetesPodStatusBucket.Pending };
|
|
1379
|
+
case "Failed":
|
|
1380
|
+
return { bucket: KubernetesPodStatusBucket.Failed };
|
|
1381
|
+
case "Succeeded":
|
|
1382
|
+
return { bucket: KubernetesPodStatusBucket.Succeeded };
|
|
1383
|
+
case "Unknown":
|
|
1384
|
+
return { bucket: KubernetesPodStatusBucket.Unknown };
|
|
1385
|
+
default:
|
|
1386
|
+
return { bucket: KubernetesPodStatusBucket.NoData };
|
|
1387
|
+
}
|
|
1388
|
+
}
|
|
1267
1389
|
/*
|
|
1268
1390
|
* The cluster's health from what needs attention in it: anything critical
|
|
1269
1391
|
* makes it Unhealthy, anything else Degraded, nothing Healthy.
|
|
@@ -5,6 +5,7 @@ export const KUBERNETES_HEALTH_GRACE_MS = commonJsModule.KUBERNETES_HEALTH_GRACE
|
|
|
5
5
|
export const KUBERNETES_HEALTH_RECENT_MS = commonJsModule.KUBERNETES_HEALTH_RECENT_MS;
|
|
6
6
|
export const KUBERNETES_REASON_AS_WRITTEN = commonJsModule.KUBERNETES_REASON_AS_WRITTEN;
|
|
7
7
|
export const KubernetesHealthSeverity = commonJsModule.KubernetesHealthSeverity;
|
|
8
|
+
export const KubernetesPodStatusBucket = commonJsModule.KubernetesPodStatusBucket;
|
|
8
9
|
export const assessKubernetesAutoscaler = commonJsModule.assessKubernetesAutoscaler;
|
|
9
10
|
export const assessKubernetesCronJob = commonJsModule.assessKubernetesCronJob;
|
|
10
11
|
export const assessKubernetesCronJobWithRuns = commonJsModule.assessKubernetesCronJobWithRuns;
|
|
@@ -26,6 +27,7 @@ export const getKubernetesClusterHealth = commonJsModule.getKubernetesClusterHea
|
|
|
26
27
|
export const getKubernetesHealthSeverity = commonJsModule.getKubernetesHealthSeverity;
|
|
27
28
|
export const getKubernetesJobCronJob = commonJsModule.getKubernetesJobCronJob;
|
|
28
29
|
export const getKubernetesOwners = commonJsModule.getKubernetesOwners;
|
|
30
|
+
export const getKubernetesPodStatusBucket = commonJsModule.getKubernetesPodStatusBucket;
|
|
29
31
|
export const getKubernetesPodWorkload = commonJsModule.getKubernetesPodWorkload;
|
|
30
32
|
export const getNewestKubernetesJobs = commonJsModule.getNewestKubernetesJobs;
|
|
31
33
|
export const kubernetesObjectKey = commonJsModule.kubernetesObjectKey;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import Dictionary from "../Dictionary.mjs";
|
|
2
2
|
import ObjectID from "../ObjectID.mjs";
|
|
3
|
-
import
|
|
4
|
-
import MonitorType from "./MonitorType.mjs";
|
|
3
|
+
import { RequestHealthAlertTemplate, RequestHealthAlertTemplateSeverity } from "./RequestHealthAlertTemplates.mjs";
|
|
5
4
|
export type CloudAppAlertTemplateCategory = "Errors" | "Latency" | "Throughput";
|
|
6
|
-
export type CloudAppAlertTemplateSeverity =
|
|
5
|
+
export type CloudAppAlertTemplateSeverity = RequestHealthAlertTemplateSeverity;
|
|
7
6
|
export interface CloudAppAlertTemplateArgs {
|
|
8
7
|
cloudAppId: string;
|
|
9
8
|
telemetryFilters: Dictionary<string>;
|
|
@@ -13,16 +12,7 @@ export interface CloudAppAlertTemplateArgs {
|
|
|
13
12
|
defaultAlertSeverityId: ObjectID;
|
|
14
13
|
monitorName: string;
|
|
15
14
|
}
|
|
16
|
-
export
|
|
17
|
-
id: string;
|
|
18
|
-
name: string;
|
|
19
|
-
summary: string;
|
|
20
|
-
description: string;
|
|
21
|
-
category: CloudAppAlertTemplateCategory;
|
|
22
|
-
severity: CloudAppAlertTemplateSeverity;
|
|
23
|
-
monitorType: MonitorType;
|
|
24
|
-
getMonitorStep: (args: CloudAppAlertTemplateArgs) => MonitorStep;
|
|
25
|
-
}
|
|
15
|
+
export type CloudAppAlertTemplate = RequestHealthAlertTemplate<CloudAppAlertTemplateCategory, CloudAppAlertTemplateArgs>;
|
|
26
16
|
export declare const CLOUD_APP_PLATFORM_FILTER: string;
|
|
27
17
|
export declare const CLOUD_APP_REQUEST_DURATION_METRIC: string;
|
|
28
18
|
export declare function readCloudAppTelemetryFilters(value: unknown): Dictionary<string>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import Dictionary from "../Dictionary";
|
|
2
2
|
import ObjectID from "../ObjectID";
|
|
3
|
-
import
|
|
4
|
-
import MonitorType from "./MonitorType";
|
|
3
|
+
import { RequestHealthAlertTemplate, RequestHealthAlertTemplateSeverity } from "./RequestHealthAlertTemplates";
|
|
5
4
|
export type CloudAppAlertTemplateCategory = "Errors" | "Latency" | "Throughput";
|
|
6
|
-
export type CloudAppAlertTemplateSeverity =
|
|
5
|
+
export type CloudAppAlertTemplateSeverity = RequestHealthAlertTemplateSeverity;
|
|
7
6
|
export interface CloudAppAlertTemplateArgs {
|
|
8
7
|
cloudAppId: string;
|
|
9
8
|
telemetryFilters: Dictionary<string>;
|
|
@@ -13,16 +12,7 @@ export interface CloudAppAlertTemplateArgs {
|
|
|
13
12
|
defaultAlertSeverityId: ObjectID;
|
|
14
13
|
monitorName: string;
|
|
15
14
|
}
|
|
16
|
-
export
|
|
17
|
-
id: string;
|
|
18
|
-
name: string;
|
|
19
|
-
summary: string;
|
|
20
|
-
description: string;
|
|
21
|
-
category: CloudAppAlertTemplateCategory;
|
|
22
|
-
severity: CloudAppAlertTemplateSeverity;
|
|
23
|
-
monitorType: MonitorType;
|
|
24
|
-
getMonitorStep: (args: CloudAppAlertTemplateArgs) => MonitorStep;
|
|
25
|
-
}
|
|
15
|
+
export type CloudAppAlertTemplate = RequestHealthAlertTemplate<CloudAppAlertTemplateCategory, CloudAppAlertTemplateArgs>;
|
|
26
16
|
export declare const CLOUD_APP_PLATFORM_FILTER: string;
|
|
27
17
|
export declare const CLOUD_APP_REQUEST_DURATION_METRIC: string;
|
|
28
18
|
export declare function readCloudAppTelemetryFilters(value: unknown): Dictionary<string>;
|