@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
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import Dictionary from "../Dictionary.mjs";
|
|
2
|
+
import ObjectID from "../ObjectID.mjs";
|
|
3
|
+
import { RequestHealthAlertTemplate, RequestHealthAlertTemplateArgs, RequestHealthAlertTemplateSeverity } from "./RequestHealthAlertTemplates.mjs";
|
|
4
|
+
export declare const SERVERLESS_FUNCTION_NAME_FILTER: string;
|
|
5
|
+
export type ServerlessAlertTemplateCategory = "Errors";
|
|
6
|
+
export interface ServerlessAlertTemplateArgs extends RequestHealthAlertTemplateArgs {
|
|
7
|
+
serverlessFunctionId: string;
|
|
8
|
+
telemetryFilters: Dictionary<string>;
|
|
9
|
+
onlineMonitorStatusId: ObjectID;
|
|
10
|
+
offlineMonitorStatusId: ObjectID;
|
|
11
|
+
defaultIncidentSeverityId: ObjectID;
|
|
12
|
+
defaultAlertSeverityId: ObjectID;
|
|
13
|
+
monitorName: string;
|
|
14
|
+
}
|
|
15
|
+
export type ServerlessAlertTemplateSeverity = RequestHealthAlertTemplateSeverity;
|
|
16
|
+
export type ServerlessAlertTemplate = RequestHealthAlertTemplate<ServerlessAlertTemplateCategory, ServerlessAlertTemplateArgs>;
|
|
17
|
+
export declare function getServerlessFunctionTelemetryFilters(functionIdentifier: unknown): Dictionary<string>;
|
|
18
|
+
export declare function isServerlessFunctionTelemetryScoped(filters: Dictionary<string> | null | undefined): boolean;
|
|
19
|
+
export declare function getAllServerlessAlertTemplates(): Array<ServerlessAlertTemplate>;
|
|
20
|
+
export declare function getServerlessAlertTemplate(id: string): ServerlessAlertTemplate | undefined;
|
|
21
|
+
export declare function getServerlessAlertTemplatesFor(data: {
|
|
22
|
+
telemetryFilters?: Dictionary<string> | null | undefined;
|
|
23
|
+
}): Array<ServerlessAlertTemplate>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import Dictionary from "../Dictionary";
|
|
2
|
+
import ObjectID from "../ObjectID";
|
|
3
|
+
import { RequestHealthAlertTemplate, RequestHealthAlertTemplateArgs, RequestHealthAlertTemplateSeverity } from "./RequestHealthAlertTemplates";
|
|
4
|
+
export declare const SERVERLESS_FUNCTION_NAME_FILTER: string;
|
|
5
|
+
export type ServerlessAlertTemplateCategory = "Errors";
|
|
6
|
+
export interface ServerlessAlertTemplateArgs extends RequestHealthAlertTemplateArgs {
|
|
7
|
+
serverlessFunctionId: string;
|
|
8
|
+
telemetryFilters: Dictionary<string>;
|
|
9
|
+
onlineMonitorStatusId: ObjectID;
|
|
10
|
+
offlineMonitorStatusId: ObjectID;
|
|
11
|
+
defaultIncidentSeverityId: ObjectID;
|
|
12
|
+
defaultAlertSeverityId: ObjectID;
|
|
13
|
+
monitorName: string;
|
|
14
|
+
}
|
|
15
|
+
export type ServerlessAlertTemplateSeverity = RequestHealthAlertTemplateSeverity;
|
|
16
|
+
export type ServerlessAlertTemplate = RequestHealthAlertTemplate<ServerlessAlertTemplateCategory, ServerlessAlertTemplateArgs>;
|
|
17
|
+
export declare function getServerlessFunctionTelemetryFilters(functionIdentifier: unknown): Dictionary<string>;
|
|
18
|
+
export declare function isServerlessFunctionTelemetryScoped(filters: Dictionary<string> | null | undefined): boolean;
|
|
19
|
+
export declare function getAllServerlessAlertTemplates(): Array<ServerlessAlertTemplate>;
|
|
20
|
+
export declare function getServerlessAlertTemplate(id: string): ServerlessAlertTemplate | undefined;
|
|
21
|
+
export declare function getServerlessAlertTemplatesFor(data: {
|
|
22
|
+
telemetryFilters?: Dictionary<string> | null | undefined;
|
|
23
|
+
}): Array<ServerlessAlertTemplate>;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SERVERLESS_FUNCTION_NAME_FILTER = void 0;
|
|
4
|
+
exports.getServerlessFunctionTelemetryFilters = getServerlessFunctionTelemetryFilters;
|
|
5
|
+
exports.isServerlessFunctionTelemetryScoped = isServerlessFunctionTelemetryScoped;
|
|
6
|
+
exports.getAllServerlessAlertTemplates = getAllServerlessAlertTemplates;
|
|
7
|
+
exports.getServerlessAlertTemplate = getServerlessAlertTemplate;
|
|
8
|
+
exports.getServerlessAlertTemplatesFor = getServerlessAlertTemplatesFor;
|
|
9
|
+
const Span_1 = require("../../Models/AnalyticsModels/Span");
|
|
10
|
+
const CriteriaFilter_1 = require("./CriteriaFilter");
|
|
11
|
+
const RequestHealthAlertTemplates_1 = require("./RequestHealthAlertTemplates");
|
|
12
|
+
/*
|
|
13
|
+
* THE MONITORS ONEUPTIME RECOMMENDS FOR A SERVERLESS FUNCTION - a Lambda,
|
|
14
|
+
* a Cloud Function, an Azure Function: one ServerlessFunction row (#9307).
|
|
15
|
+
*
|
|
16
|
+
* A function's telemetry is told apart by its faas.name resource attribute
|
|
17
|
+
* (the row's functionIdentifier), the way its own Traces, Metrics and Logs
|
|
18
|
+
* tabs filter it. What its team most needs to hear about is its
|
|
19
|
+
* invocations failing - so both templates count the function's own
|
|
20
|
+
* error-status spans, over the request-health builders every
|
|
21
|
+
* attribute-scoped product shares (RequestHealthAlertTemplates).
|
|
22
|
+
*
|
|
23
|
+
* What is deliberately NOT offered:
|
|
24
|
+
*
|
|
25
|
+
* - "Invocations stopped". An always-on app that stops sending spans is
|
|
26
|
+
* down; a function that is not invoked for fifteen minutes is usually
|
|
27
|
+
* just idle (a nightly job, a webhook nobody called), so the alert
|
|
28
|
+
* would fire for most functions most of the day.
|
|
29
|
+
* - Latency. The faas.invoke_duration histogram is not something the
|
|
30
|
+
* function's setup guide asks for, and nothing on its page reads it: a
|
|
31
|
+
* monitor over a metric the function may never send would never fire.
|
|
32
|
+
*
|
|
33
|
+
* A function with no faas.name yet is offered nothing: a monitor filtered
|
|
34
|
+
* on nothing would read every function's spans.
|
|
35
|
+
*
|
|
36
|
+
* Pure and isomorphic: the catalog, the Dashboard and the tests read it.
|
|
37
|
+
*/
|
|
38
|
+
// The resource attribute a function's telemetry is named by.
|
|
39
|
+
exports.SERVERLESS_FUNCTION_NAME_FILTER = "resource.faas.name";
|
|
40
|
+
// How a function is named in the monitors made for it.
|
|
41
|
+
const SERVERLESS_SCOPE = {
|
|
42
|
+
titlePrefix: "[Function]",
|
|
43
|
+
resourceNoun: "function",
|
|
44
|
+
};
|
|
45
|
+
/*
|
|
46
|
+
* The filter of a function's telemetry: its faas.name, trimmed, or nothing
|
|
47
|
+
* when it has none yet.
|
|
48
|
+
*/
|
|
49
|
+
function getServerlessFunctionTelemetryFilters(functionIdentifier) {
|
|
50
|
+
if (typeof functionIdentifier !== "string" || !functionIdentifier.trim()) {
|
|
51
|
+
return {};
|
|
52
|
+
}
|
|
53
|
+
return { [exports.SERVERLESS_FUNCTION_NAME_FILTER]: functionIdentifier.trim() };
|
|
54
|
+
}
|
|
55
|
+
// Whether a filter names one function: what every template needs.
|
|
56
|
+
function isServerlessFunctionTelemetryScoped(filters) {
|
|
57
|
+
const value = filters === null || filters === void 0 ? void 0 : filters[exports.SERVERLESS_FUNCTION_NAME_FILTER];
|
|
58
|
+
return typeof value === "string" && value.trim().length > 0;
|
|
59
|
+
}
|
|
60
|
+
function spanCountTemplate(data) {
|
|
61
|
+
return (0, RequestHealthAlertTemplates_1.buildSpanCountAlertTemplate)({ ...data, scope: SERVERLESS_SCOPE });
|
|
62
|
+
}
|
|
63
|
+
const SERVERLESS_ALERT_TEMPLATES = [
|
|
64
|
+
spanCountTemplate({
|
|
65
|
+
id: "serverless-failed-invocations",
|
|
66
|
+
name: "Failed Invocations",
|
|
67
|
+
summary: "The function reports a failed invocation in ten minutes.",
|
|
68
|
+
description: "Fires when the function reports any error-status span in ten minutes: the earliest sign its invocations fail, whatever the cause. Reads the function's own spans, by its faas.name.",
|
|
69
|
+
category: "Errors",
|
|
70
|
+
severity: "Warning",
|
|
71
|
+
spanStatuses: [Span_1.SpanStatus.Error],
|
|
72
|
+
lastXSecondsOfSpans: 600,
|
|
73
|
+
unhealthyFilterType: CriteriaFilter_1.FilterType.GreaterThan,
|
|
74
|
+
threshold: 0,
|
|
75
|
+
criteriaName: "Error spans detected",
|
|
76
|
+
criteriaDescription: "Triggers when at least one error-status span is reported in ten minutes.",
|
|
77
|
+
incidentDescription: "The function reported a failed invocation. Open its Traces tab to see which invocation failed and what it called, and its Logs tab for the error it logged.",
|
|
78
|
+
}),
|
|
79
|
+
spanCountTemplate({
|
|
80
|
+
id: "serverless-error-burst",
|
|
81
|
+
name: "Invocation Error Burst",
|
|
82
|
+
summary: "More than 25 invocations fail in five minutes.",
|
|
83
|
+
description: "Fires when the function reports more than 25 error-status spans in five minutes: a failure rate well past routine noise. Reads the function's own spans, by its faas.name.",
|
|
84
|
+
category: "Errors",
|
|
85
|
+
severity: "Critical",
|
|
86
|
+
spanStatuses: [Span_1.SpanStatus.Error],
|
|
87
|
+
lastXSecondsOfSpans: 300,
|
|
88
|
+
unhealthyFilterType: CriteriaFilter_1.FilterType.GreaterThan,
|
|
89
|
+
threshold: 25,
|
|
90
|
+
criteriaName: "Error spans above 25 in five minutes",
|
|
91
|
+
criteriaDescription: "Triggers when more than 25 error-status spans are reported in five minutes.",
|
|
92
|
+
incidentDescription: "The function is failing well past routine noise. Group its failing spans by operation for the common factor, check whether a new version (faas.version) was just deployed, and look for a dependency, a timeout or a concurrency limit it hits.",
|
|
93
|
+
}),
|
|
94
|
+
];
|
|
95
|
+
function getAllServerlessAlertTemplates() {
|
|
96
|
+
return [...SERVERLESS_ALERT_TEMPLATES];
|
|
97
|
+
}
|
|
98
|
+
function getServerlessAlertTemplate(id) {
|
|
99
|
+
return SERVERLESS_ALERT_TEMPLATES.find((template) => {
|
|
100
|
+
return template.id === id;
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
/*
|
|
104
|
+
* The templates a function is offered: every one once its telemetry has a
|
|
105
|
+
* faas.name to filter by; none before.
|
|
106
|
+
*/
|
|
107
|
+
function getServerlessAlertTemplatesFor(data) {
|
|
108
|
+
return isServerlessFunctionTelemetryScoped(data.telemetryFilters)
|
|
109
|
+
? getAllServerlessAlertTemplates()
|
|
110
|
+
: [];
|
|
111
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import commonJsModule from "./ServerlessAlertTemplates.js";
|
|
2
|
+
export const SERVERLESS_FUNCTION_NAME_FILTER = commonJsModule.SERVERLESS_FUNCTION_NAME_FILTER;
|
|
3
|
+
export const getAllServerlessAlertTemplates = commonJsModule.getAllServerlessAlertTemplates;
|
|
4
|
+
export const getServerlessAlertTemplate = commonJsModule.getServerlessAlertTemplate;
|
|
5
|
+
export const getServerlessAlertTemplatesFor = commonJsModule.getServerlessAlertTemplatesFor;
|
|
6
|
+
export const getServerlessFunctionTelemetryFilters = commonJsModule.getServerlessFunctionTelemetryFilters;
|
|
7
|
+
export const isServerlessFunctionTelemetryScoped = commonJsModule.isServerlessFunctionTelemetryScoped;
|
|
@@ -2,6 +2,7 @@ import ObjectID from "../ObjectID.mjs";
|
|
|
2
2
|
import MonitorStep from "./MonitorStep.mjs";
|
|
3
3
|
import MonitorType from "./MonitorType.mjs";
|
|
4
4
|
import { ServiceLanguage } from "../Service/ServiceLanguage.mjs";
|
|
5
|
+
import LogSeverity from "../Log/LogSeverity.mjs";
|
|
5
6
|
export type ServiceAlertTemplateCategory = "Errors" | "Latency" | "Throughput" | "Saturation" | "JVM Runtime" | ".NET Runtime" | "Node.js Runtime" | "Python Runtime" | "Go Runtime";
|
|
6
7
|
export type ServiceAlertTemplateSeverity = "Critical" | "Warning";
|
|
7
8
|
export interface ServiceAlertTemplateArgs {
|
|
@@ -22,6 +23,8 @@ export interface ServiceAlertTemplate {
|
|
|
22
23
|
language?: ServiceLanguage | undefined;
|
|
23
24
|
getMonitorStep: (args: ServiceAlertTemplateArgs) => MonitorStep;
|
|
24
25
|
}
|
|
26
|
+
export declare const SERVICE_ERROR_LOG_SPIKE_TEMPLATE_ID: string;
|
|
27
|
+
export declare const SERVICE_ERROR_LOG_SEVERITIES: ReadonlyArray<LogSeverity>;
|
|
25
28
|
export declare function getAllServiceAlertTemplates(): Array<ServiceAlertTemplate>;
|
|
26
29
|
export declare function getServiceAlertTemplates(language?: ServiceLanguage | null | undefined): Array<ServiceAlertTemplate>;
|
|
27
30
|
export declare function getServiceAlertTemplateById(id: string): ServiceAlertTemplate | undefined;
|
|
@@ -2,6 +2,7 @@ import ObjectID from "../ObjectID";
|
|
|
2
2
|
import MonitorStep from "./MonitorStep";
|
|
3
3
|
import MonitorType from "./MonitorType";
|
|
4
4
|
import { ServiceLanguage } from "../Service/ServiceLanguage";
|
|
5
|
+
import LogSeverity from "../Log/LogSeverity";
|
|
5
6
|
export type ServiceAlertTemplateCategory = "Errors" | "Latency" | "Throughput" | "Saturation" | "JVM Runtime" | ".NET Runtime" | "Node.js Runtime" | "Python Runtime" | "Go Runtime";
|
|
6
7
|
export type ServiceAlertTemplateSeverity = "Critical" | "Warning";
|
|
7
8
|
export interface ServiceAlertTemplateArgs {
|
|
@@ -22,6 +23,8 @@ export interface ServiceAlertTemplate {
|
|
|
22
23
|
language?: ServiceLanguage | undefined;
|
|
23
24
|
getMonitorStep: (args: ServiceAlertTemplateArgs) => MonitorStep;
|
|
24
25
|
}
|
|
26
|
+
export declare const SERVICE_ERROR_LOG_SPIKE_TEMPLATE_ID: string;
|
|
27
|
+
export declare const SERVICE_ERROR_LOG_SEVERITIES: ReadonlyArray<LogSeverity>;
|
|
25
28
|
export declare function getAllServiceAlertTemplates(): Array<ServiceAlertTemplate>;
|
|
26
29
|
export declare function getServiceAlertTemplates(language?: ServiceLanguage | null | undefined): Array<ServiceAlertTemplate>;
|
|
27
30
|
export declare function getServiceAlertTemplateById(id: string): ServiceAlertTemplate | undefined;
|
|
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.SERVICE_ERROR_LOG_SEVERITIES = exports.SERVICE_ERROR_LOG_SPIKE_TEMPLATE_ID = void 0;
|
|
6
7
|
exports.getAllServiceAlertTemplates = getAllServiceAlertTemplates;
|
|
7
8
|
exports.getServiceAlertTemplates = getServiceAlertTemplates;
|
|
8
9
|
exports.getServiceAlertTemplateById = getServiceAlertTemplateById;
|
|
@@ -17,6 +18,7 @@ const CriteriaFilter_1 = require("./CriteriaFilter");
|
|
|
17
18
|
const MonitorType_1 = __importDefault(require("./MonitorType"));
|
|
18
19
|
const RollingTime_1 = __importDefault(require("../RollingTime/RollingTime"));
|
|
19
20
|
const MetricsAggregationType_1 = __importDefault(require("../Metrics/MetricsAggregationType"));
|
|
21
|
+
const LogSeverity_1 = __importDefault(require("../Log/LogSeverity"));
|
|
20
22
|
/*
|
|
21
23
|
* `EvaluateOverTimeType` names the window collapse. The two members these
|
|
22
24
|
* templates use are worth stating once, here, rather than being rediscovered
|
|
@@ -570,6 +572,64 @@ const unhandledExceptionsTemplate = {
|
|
|
570
572
|
return step;
|
|
571
573
|
},
|
|
572
574
|
};
|
|
575
|
+
/*
|
|
576
|
+
* A spike in the service's error logs (#7146, the third monitor #6806 asked
|
|
577
|
+
* the telemetry guided setup to suggest): more than 25 logs at Error or Fatal
|
|
578
|
+
* in five minutes. A Logs monitor on the service's own logs
|
|
579
|
+
* (telemetryServiceIds) counted over a rolling window, as the span and
|
|
580
|
+
* exception counts above are, so a service that sends only logs is watched
|
|
581
|
+
* too: the trace and exception templates would never fire on it.
|
|
582
|
+
*
|
|
583
|
+
* The same bar as Error Burst: an app that logs an error now and then is
|
|
584
|
+
* normal, twenty-five in five minutes is something breaking. Warning rather
|
|
585
|
+
* than Critical, because an error log is often a failure the app handled.
|
|
586
|
+
* Not grouped: the service is the thing that broke, and its name is in the
|
|
587
|
+
* alert's title.
|
|
588
|
+
*/
|
|
589
|
+
exports.SERVICE_ERROR_LOG_SPIKE_TEMPLATE_ID = "service-error-log-spike";
|
|
590
|
+
exports.SERVICE_ERROR_LOG_SEVERITIES = [
|
|
591
|
+
LogSeverity_1.default.Error,
|
|
592
|
+
LogSeverity_1.default.Fatal,
|
|
593
|
+
];
|
|
594
|
+
const errorLogSpikeTemplate = {
|
|
595
|
+
id: exports.SERVICE_ERROR_LOG_SPIKE_TEMPLATE_ID,
|
|
596
|
+
name: "Error Log Spike",
|
|
597
|
+
description: "Alert when the service writes more than 25 error or fatal logs in five minutes, far more than a handled failure now and then.",
|
|
598
|
+
category: "Errors",
|
|
599
|
+
severity: "Warning",
|
|
600
|
+
monitorType: MonitorType_1.default.Logs,
|
|
601
|
+
getMonitorStep: (args) => {
|
|
602
|
+
const step = MonitorStep_1.default.getDefaultMonitorStep({
|
|
603
|
+
monitorName: args.monitorName,
|
|
604
|
+
monitorType: MonitorType_1.default.Logs,
|
|
605
|
+
onlineMonitorStatusId: args.onlineMonitorStatusId,
|
|
606
|
+
offlineMonitorStatusId: args.offlineMonitorStatusId,
|
|
607
|
+
defaultIncidentSeverityId: args.defaultIncidentSeverityId,
|
|
608
|
+
defaultAlertSeverityId: args.defaultAlertSeverityId,
|
|
609
|
+
});
|
|
610
|
+
step.setLogMonitor({
|
|
611
|
+
attributes: {},
|
|
612
|
+
body: "",
|
|
613
|
+
severityTexts: [...exports.SERVICE_ERROR_LOG_SEVERITIES],
|
|
614
|
+
telemetryServiceIds: [new ObjectID_1.default(args.serviceId)],
|
|
615
|
+
entityKeys: [],
|
|
616
|
+
// Five minutes, as Error Burst counts its error spans.
|
|
617
|
+
lastXSecondsOfLogs: 300,
|
|
618
|
+
});
|
|
619
|
+
step.setMonitorCriteria(buildCountCriteria({
|
|
620
|
+
args: args,
|
|
621
|
+
checkOn: CriteriaFilter_1.CheckOn.LogCount,
|
|
622
|
+
unhealthyFilterType: CriteriaFilter_1.FilterType.GreaterThan,
|
|
623
|
+
healthyFilterType: CriteriaFilter_1.FilterType.LessThanOrEqualTo,
|
|
624
|
+
threshold: 25,
|
|
625
|
+
unhealthyName: "Error logs above 25 in five minutes",
|
|
626
|
+
unhealthyDescription: "Triggers when the service writes more than 25 error or fatal logs in five minutes.",
|
|
627
|
+
incidentTitle: `[Service] Error Log Spike - ${args.monitorName}`,
|
|
628
|
+
incidentDescription: "The service is writing error logs far faster than usual. Open its Logs filtered to Error and Fatal to see which message rose, and check what deployed recently.",
|
|
629
|
+
}));
|
|
630
|
+
return step;
|
|
631
|
+
},
|
|
632
|
+
};
|
|
573
633
|
/*
|
|
574
634
|
* New, regressed and spiking exceptions (ExceptionMonitorEvaluation): the
|
|
575
635
|
* alerts an error tracker leads with. A new or a regressed exception is
|
|
@@ -1150,6 +1210,7 @@ const goTemplates = [
|
|
|
1150
1210
|
const ALL_SERVICE_ALERT_TEMPLATES = [
|
|
1151
1211
|
failedOperationsTemplate,
|
|
1152
1212
|
errorBurstTemplate,
|
|
1213
|
+
errorLogSpikeTemplate,
|
|
1153
1214
|
unhandledExceptionsTemplate,
|
|
1154
1215
|
newExceptionTemplate,
|
|
1155
1216
|
regressedExceptionTemplate,
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import commonJsModule from "./ServiceAlertTemplates.js";
|
|
2
|
+
export const SERVICE_ERROR_LOG_SEVERITIES = commonJsModule.SERVICE_ERROR_LOG_SEVERITIES;
|
|
3
|
+
export const SERVICE_ERROR_LOG_SPIKE_TEMPLATE_ID = commonJsModule.SERVICE_ERROR_LOG_SPIKE_TEMPLATE_ID;
|
|
2
4
|
export const getAllServiceAlertTemplates = commonJsModule.getAllServiceAlertTemplates;
|
|
3
5
|
export const getLanguagesWithServiceAlertTemplates = commonJsModule.getLanguagesWithServiceAlertTemplates;
|
|
4
6
|
export const getServiceAlertTemplateById = commonJsModule.getServiceAlertTemplateById;
|
|
@@ -22,8 +22,16 @@ const TelemetryAlertRule_1 = __importDefault(require("./TelemetryAlertRule"));
|
|
|
22
22
|
* Bounded on purpose: at most PREVIEW_WINDOW_COUNT windows, so a one-minute
|
|
23
23
|
* rule reads 2.4 hours back, a five-minute rule 12 hours and a fifteen-minute
|
|
24
24
|
* rule 36 hours, and nothing reads more than MAX_PREVIEW_RANGE_IN_SECONDS.
|
|
25
|
-
*
|
|
26
|
-
*
|
|
25
|
+
*
|
|
26
|
+
* The windows end at now, each a whole window long: the newest is the very
|
|
27
|
+
* count the monitor's next check makes - what matched in the last N seconds
|
|
28
|
+
* - and each before it the N seconds before that. They used to end on the
|
|
29
|
+
* last multiple of their length before now, so that the newest would not be
|
|
30
|
+
* half filled; but that left the window in progress unread, and a service's
|
|
31
|
+
* first logs, younger than one window, were in none of them: the preview
|
|
32
|
+
* said "Nothing matched in this time." beside a Matching logs list that
|
|
33
|
+
* showed them, and the monitor alerted once saved (#7470). Counted back from
|
|
34
|
+
* now, no window is half filled either.
|
|
27
35
|
*/
|
|
28
36
|
exports.PREVIEW_WINDOW_COUNT = 144;
|
|
29
37
|
exports.MAX_PREVIEW_RANGE_IN_SECONDS = 7 * 24 * 60 * 60;
|
|
@@ -32,13 +40,15 @@ exports.MAX_PREVIEW_WINDOW_IN_SECONDS = 24 * 60 * 60;
|
|
|
32
40
|
class TelemetryRulePreviewUtil {
|
|
33
41
|
/*
|
|
34
42
|
* The windows to read for a rule whose window is `windowInSeconds`, back
|
|
35
|
-
* from `now
|
|
43
|
+
* from `now`: the newest ends at now, on its whole second, as the windows
|
|
44
|
+
* the server counts start on whole seconds. The window is clamped to what
|
|
45
|
+
* the monitor forms offer.
|
|
36
46
|
*/
|
|
37
47
|
static getRange(data) {
|
|
38
48
|
const windowInSeconds = TelemetryRulePreviewUtil.clampWindow(data.windowInSeconds);
|
|
39
49
|
const windowInMs = windowInSeconds * 1000;
|
|
40
50
|
const windowCount = Math.max(1, Math.min(exports.PREVIEW_WINDOW_COUNT, Math.floor(exports.MAX_PREVIEW_RANGE_IN_SECONDS / windowInSeconds)));
|
|
41
|
-
const endMs = Math.floor(data.now.getTime() /
|
|
51
|
+
const endMs = Math.floor(data.now.getTime() / 1000) * 1000;
|
|
42
52
|
const startMs = endMs - windowCount * windowInMs;
|
|
43
53
|
return {
|
|
44
54
|
startTime: new Date(startMs),
|
|
@@ -54,7 +64,9 @@ class TelemetryRulePreviewUtil {
|
|
|
54
64
|
}
|
|
55
65
|
/*
|
|
56
66
|
* Every window of the range, in order, with its count: a window the
|
|
57
|
-
* server did not answer for had nothing in it, so it is 0.
|
|
67
|
+
* server did not answer for had nothing in it, so it is 0. A count is
|
|
68
|
+
* the window's it falls in, counted from the range's start - the windows
|
|
69
|
+
* end at now, not on a multiple of their length.
|
|
58
70
|
*/
|
|
59
71
|
static toPoints(answer) {
|
|
60
72
|
const windowInMs = TelemetryRulePreviewUtil.clampWindow(answer.windowInSeconds) * 1000;
|
|
@@ -66,7 +78,7 @@ class TelemetryRulePreviewUtil {
|
|
|
66
78
|
if (!Number.isFinite(timeMs)) {
|
|
67
79
|
continue;
|
|
68
80
|
}
|
|
69
|
-
const alignedMs = Math.floor(timeMs / windowInMs) * windowInMs;
|
|
81
|
+
const alignedMs = startMs + Math.floor((timeMs - startMs) / windowInMs) * windowInMs;
|
|
70
82
|
counts.set(alignedMs, (counts.get(alignedMs) || 0) + (bucket.value || 0));
|
|
71
83
|
}
|
|
72
84
|
const points = [];
|
|
@@ -12,6 +12,30 @@ export interface WhoIsToldOwners {
|
|
|
12
12
|
teamNames: Array<string>;
|
|
13
13
|
pagedOwners?: Array<WhoIsToldPagedOwner> | undefined;
|
|
14
14
|
recipients?: Array<WhoIsToldOwnerRecipient> | undefined;
|
|
15
|
+
notReached?: Array<WhoIsToldOwnerNotReached> | undefined;
|
|
16
|
+
}
|
|
17
|
+
export declare enum WhoIsToldOwnerKind {
|
|
18
|
+
User = "User",
|
|
19
|
+
Team = "Team"
|
|
20
|
+
}
|
|
21
|
+
export declare enum WhoIsToldOwnerProblem {
|
|
22
|
+
NotInProject = "NotInProject",
|
|
23
|
+
TeamHasNobodyInProject = "TeamHasNobodyInProject",
|
|
24
|
+
TeamOfAnotherProject = "TeamOfAnotherProject"
|
|
25
|
+
}
|
|
26
|
+
export declare enum WhoIsToldOwnerAddedBy {
|
|
27
|
+
Criteria = "Criteria",
|
|
28
|
+
NetworkDevice = "NetworkDevice",
|
|
29
|
+
OwnerRule = "OwnerRule"
|
|
30
|
+
}
|
|
31
|
+
export interface WhoIsToldOwnerNotReached {
|
|
32
|
+
kind: WhoIsToldOwnerKind;
|
|
33
|
+
id: string;
|
|
34
|
+
name: string;
|
|
35
|
+
problem: WhoIsToldOwnerProblem;
|
|
36
|
+
addedBy: WhoIsToldOwnerAddedBy;
|
|
37
|
+
rule?: WhoIsToldRule | undefined;
|
|
38
|
+
networkDeviceId?: string | undefined;
|
|
15
39
|
}
|
|
16
40
|
export interface WhoIsToldOwnerRecipient {
|
|
17
41
|
userId: string;
|
|
@@ -56,12 +80,24 @@ export interface WhoIsToldRule {
|
|
|
56
80
|
id: string;
|
|
57
81
|
name: string;
|
|
58
82
|
}
|
|
83
|
+
export interface WhoIsToldMonitorGroup {
|
|
84
|
+
id: string;
|
|
85
|
+
name: string;
|
|
86
|
+
}
|
|
59
87
|
export interface WhoIsToldStatusPage {
|
|
60
88
|
id: string;
|
|
61
89
|
name: string;
|
|
90
|
+
groups?: Array<WhoIsToldMonitorGroup> | undefined;
|
|
91
|
+
}
|
|
92
|
+
export interface WhoIsToldDeclaration {
|
|
93
|
+
rule: WhoIsToldRule;
|
|
94
|
+
waitInMinutes: number;
|
|
95
|
+
incident: WhoIsToldEvent;
|
|
62
96
|
}
|
|
63
97
|
export interface WhoIsToldEvent {
|
|
64
98
|
kind: OnCallTestPageRecordKind;
|
|
99
|
+
id?: string | undefined;
|
|
100
|
+
severityId?: string | undefined;
|
|
65
101
|
title: string;
|
|
66
102
|
severityName: string;
|
|
67
103
|
owners: WhoIsToldOwners;
|
|
@@ -69,6 +105,22 @@ export interface WhoIsToldEvent {
|
|
|
69
105
|
rules: Array<WhoIsToldRule>;
|
|
70
106
|
policies: Array<WhoIsToldPolicy>;
|
|
71
107
|
statusPages: Array<WhoIsToldStatusPage>;
|
|
108
|
+
isPrivate?: boolean | undefined;
|
|
109
|
+
privacyRules?: Array<WhoIsToldRule> | undefined;
|
|
110
|
+
isPrivateOffStatusPages?: boolean | undefined;
|
|
111
|
+
labelRules?: Array<WhoIsToldRule> | undefined;
|
|
112
|
+
ownerMatches?: Array<WhoIsToldOwnerMatch> | undefined;
|
|
113
|
+
declares?: WhoIsToldDeclaration | undefined;
|
|
114
|
+
isHidden?: boolean | undefined;
|
|
115
|
+
ownerIds?: WhoIsToldOwnerIds | undefined;
|
|
116
|
+
}
|
|
117
|
+
export interface WhoIsToldOwnerMatch {
|
|
118
|
+
ruleId: string;
|
|
119
|
+
ownerNames: Array<string>;
|
|
120
|
+
}
|
|
121
|
+
export interface WhoIsToldOwnerIds {
|
|
122
|
+
userIds: Array<string>;
|
|
123
|
+
teamIds: Array<string>;
|
|
72
124
|
}
|
|
73
125
|
export interface WhoIsToldCriteria {
|
|
74
126
|
id: string;
|
|
@@ -131,6 +183,11 @@ export interface WhoIsToldBreak {
|
|
|
131
183
|
problem?: WhoIsToldPersonProblem | undefined;
|
|
132
184
|
channel?: OnCallPageChannel | WhoIsToldServerChannel | undefined;
|
|
133
185
|
}
|
|
186
|
+
export interface WhoIsToldProjectFacts {
|
|
187
|
+
projectHasIncidentOnCallRules: boolean;
|
|
188
|
+
projectHasAlertOnCallRules: boolean;
|
|
189
|
+
projectHasOnCallPolicies: boolean;
|
|
190
|
+
}
|
|
134
191
|
export interface WhoIsToldResult {
|
|
135
192
|
monitorId: string;
|
|
136
193
|
monitorName: string;
|
|
@@ -138,6 +195,7 @@ export interface WhoIsToldResult {
|
|
|
138
195
|
criteria: Array<WhoIsToldCriteria>;
|
|
139
196
|
channels: WhoIsToldChannels;
|
|
140
197
|
breaks: Array<WhoIsToldBreak>;
|
|
198
|
+
facts?: WhoIsToldProjectFacts | undefined;
|
|
141
199
|
}
|
|
142
200
|
export declare const WHO_IS_TOLD_CACHE_TTL_IN_MS: number;
|
|
143
201
|
export declare function getChannelsSwitchedOff(channels: WhoIsToldChannels): Array<OnCallPageChannel>;
|
|
@@ -153,6 +211,7 @@ export declare function getWhoIsToldPersonReach(data: {
|
|
|
153
211
|
isFallbackEnabled: boolean;
|
|
154
212
|
channelsOff: ReadonlyArray<OnCallPageChannel>;
|
|
155
213
|
}): Pick<WhoIsToldPerson, "channels" | "isFallback" | "isReachable" | "problem">;
|
|
214
|
+
export declare const WHO_IS_TOLD_PERSON_PROBLEM_CLAUSES: Readonly<Record<WhoIsToldPersonProblem, string>>;
|
|
156
215
|
export declare function getWhoIsToldBreakMessage(brk: Omit<WhoIsToldBreak, "message">): string;
|
|
157
216
|
export declare function makeWhoIsToldBreak(brk: Omit<WhoIsToldBreak, "message">): WhoIsToldBreak;
|
|
158
217
|
export declare function getWhoIsToldBreaks(data: {
|
|
@@ -161,6 +220,7 @@ export declare function getWhoIsToldBreaks(data: {
|
|
|
161
220
|
projectHasIncidentOnCallRules: boolean;
|
|
162
221
|
projectHasAlertOnCallRules: boolean;
|
|
163
222
|
projectHasOnCallPolicies: boolean;
|
|
223
|
+
isHidden?: ((event: WhoIsToldEvent) => boolean) | undefined;
|
|
164
224
|
}): Array<WhoIsToldBreak>;
|
|
165
225
|
export declare function canWhoIsToldChannelSendNow(channel: OnCallPageChannel, channels: WhoIsToldChannels): boolean;
|
|
166
226
|
export declare function isWhoIsToldPersonPagedAtOnce(data: {
|
|
@@ -173,12 +233,23 @@ export declare function getWhoIsToldOwnersAsTold(data: {
|
|
|
173
233
|
policies: ReadonlyArray<WhoIsToldPolicy>;
|
|
174
234
|
channels: WhoIsToldChannels;
|
|
175
235
|
}): WhoIsToldOwners;
|
|
236
|
+
export declare function isWhoIsToldEventHidden(event: WhoIsToldEvent, canReadPrivateEvent?: ((event: WhoIsToldEvent) => boolean) | undefined): boolean;
|
|
237
|
+
export declare function getWhoIsToldBreaksForReader(data: {
|
|
238
|
+
result: Pick<WhoIsToldResult, "criteria" | "channels" | "breaks" | "facts">;
|
|
239
|
+
isHidden: (event: WhoIsToldEvent) => boolean;
|
|
240
|
+
}): Array<WhoIsToldBreak>;
|
|
241
|
+
export declare function hasWhoIsToldHiddenEvent(result: Pick<WhoIsToldResult, "criteria">, isHidden: (event: WhoIsToldEvent) => boolean): boolean;
|
|
176
242
|
export declare function redactWhoIsTold(data: {
|
|
177
243
|
result: WhoIsToldResult;
|
|
178
244
|
readablePolicyIds: ReadonlySet<string>;
|
|
179
245
|
readableRuleIds: ReadonlySet<string>;
|
|
180
246
|
readableOwnerRuleIds: ReadonlySet<string>;
|
|
181
247
|
readableStatusPageIds: ReadonlySet<string>;
|
|
248
|
+
readableMonitorGroupIds?: ReadonlySet<string> | undefined;
|
|
249
|
+
readablePrivacyRuleIds?: ReadonlySet<string> | undefined;
|
|
250
|
+
readableLabelRuleIds?: ReadonlySet<string> | undefined;
|
|
251
|
+
readableAlertIncidentRuleIds?: ReadonlySet<string> | undefined;
|
|
252
|
+
canReadPrivateEvent?: ((event: WhoIsToldEvent) => boolean) | undefined;
|
|
182
253
|
}): WhoIsToldResult;
|
|
183
254
|
export interface WhoIsToldHeadline {
|
|
184
255
|
criteria: WhoIsToldCriteria;
|
|
@@ -12,6 +12,30 @@ export interface WhoIsToldOwners {
|
|
|
12
12
|
teamNames: Array<string>;
|
|
13
13
|
pagedOwners?: Array<WhoIsToldPagedOwner> | undefined;
|
|
14
14
|
recipients?: Array<WhoIsToldOwnerRecipient> | undefined;
|
|
15
|
+
notReached?: Array<WhoIsToldOwnerNotReached> | undefined;
|
|
16
|
+
}
|
|
17
|
+
export declare enum WhoIsToldOwnerKind {
|
|
18
|
+
User = "User",
|
|
19
|
+
Team = "Team"
|
|
20
|
+
}
|
|
21
|
+
export declare enum WhoIsToldOwnerProblem {
|
|
22
|
+
NotInProject = "NotInProject",
|
|
23
|
+
TeamHasNobodyInProject = "TeamHasNobodyInProject",
|
|
24
|
+
TeamOfAnotherProject = "TeamOfAnotherProject"
|
|
25
|
+
}
|
|
26
|
+
export declare enum WhoIsToldOwnerAddedBy {
|
|
27
|
+
Criteria = "Criteria",
|
|
28
|
+
NetworkDevice = "NetworkDevice",
|
|
29
|
+
OwnerRule = "OwnerRule"
|
|
30
|
+
}
|
|
31
|
+
export interface WhoIsToldOwnerNotReached {
|
|
32
|
+
kind: WhoIsToldOwnerKind;
|
|
33
|
+
id: string;
|
|
34
|
+
name: string;
|
|
35
|
+
problem: WhoIsToldOwnerProblem;
|
|
36
|
+
addedBy: WhoIsToldOwnerAddedBy;
|
|
37
|
+
rule?: WhoIsToldRule | undefined;
|
|
38
|
+
networkDeviceId?: string | undefined;
|
|
15
39
|
}
|
|
16
40
|
export interface WhoIsToldOwnerRecipient {
|
|
17
41
|
userId: string;
|
|
@@ -56,12 +80,24 @@ export interface WhoIsToldRule {
|
|
|
56
80
|
id: string;
|
|
57
81
|
name: string;
|
|
58
82
|
}
|
|
83
|
+
export interface WhoIsToldMonitorGroup {
|
|
84
|
+
id: string;
|
|
85
|
+
name: string;
|
|
86
|
+
}
|
|
59
87
|
export interface WhoIsToldStatusPage {
|
|
60
88
|
id: string;
|
|
61
89
|
name: string;
|
|
90
|
+
groups?: Array<WhoIsToldMonitorGroup> | undefined;
|
|
91
|
+
}
|
|
92
|
+
export interface WhoIsToldDeclaration {
|
|
93
|
+
rule: WhoIsToldRule;
|
|
94
|
+
waitInMinutes: number;
|
|
95
|
+
incident: WhoIsToldEvent;
|
|
62
96
|
}
|
|
63
97
|
export interface WhoIsToldEvent {
|
|
64
98
|
kind: OnCallTestPageRecordKind;
|
|
99
|
+
id?: string | undefined;
|
|
100
|
+
severityId?: string | undefined;
|
|
65
101
|
title: string;
|
|
66
102
|
severityName: string;
|
|
67
103
|
owners: WhoIsToldOwners;
|
|
@@ -69,6 +105,22 @@ export interface WhoIsToldEvent {
|
|
|
69
105
|
rules: Array<WhoIsToldRule>;
|
|
70
106
|
policies: Array<WhoIsToldPolicy>;
|
|
71
107
|
statusPages: Array<WhoIsToldStatusPage>;
|
|
108
|
+
isPrivate?: boolean | undefined;
|
|
109
|
+
privacyRules?: Array<WhoIsToldRule> | undefined;
|
|
110
|
+
isPrivateOffStatusPages?: boolean | undefined;
|
|
111
|
+
labelRules?: Array<WhoIsToldRule> | undefined;
|
|
112
|
+
ownerMatches?: Array<WhoIsToldOwnerMatch> | undefined;
|
|
113
|
+
declares?: WhoIsToldDeclaration | undefined;
|
|
114
|
+
isHidden?: boolean | undefined;
|
|
115
|
+
ownerIds?: WhoIsToldOwnerIds | undefined;
|
|
116
|
+
}
|
|
117
|
+
export interface WhoIsToldOwnerMatch {
|
|
118
|
+
ruleId: string;
|
|
119
|
+
ownerNames: Array<string>;
|
|
120
|
+
}
|
|
121
|
+
export interface WhoIsToldOwnerIds {
|
|
122
|
+
userIds: Array<string>;
|
|
123
|
+
teamIds: Array<string>;
|
|
72
124
|
}
|
|
73
125
|
export interface WhoIsToldCriteria {
|
|
74
126
|
id: string;
|
|
@@ -131,6 +183,11 @@ export interface WhoIsToldBreak {
|
|
|
131
183
|
problem?: WhoIsToldPersonProblem | undefined;
|
|
132
184
|
channel?: OnCallPageChannel | WhoIsToldServerChannel | undefined;
|
|
133
185
|
}
|
|
186
|
+
export interface WhoIsToldProjectFacts {
|
|
187
|
+
projectHasIncidentOnCallRules: boolean;
|
|
188
|
+
projectHasAlertOnCallRules: boolean;
|
|
189
|
+
projectHasOnCallPolicies: boolean;
|
|
190
|
+
}
|
|
134
191
|
export interface WhoIsToldResult {
|
|
135
192
|
monitorId: string;
|
|
136
193
|
monitorName: string;
|
|
@@ -138,6 +195,7 @@ export interface WhoIsToldResult {
|
|
|
138
195
|
criteria: Array<WhoIsToldCriteria>;
|
|
139
196
|
channels: WhoIsToldChannels;
|
|
140
197
|
breaks: Array<WhoIsToldBreak>;
|
|
198
|
+
facts?: WhoIsToldProjectFacts | undefined;
|
|
141
199
|
}
|
|
142
200
|
export declare const WHO_IS_TOLD_CACHE_TTL_IN_MS: number;
|
|
143
201
|
export declare function getChannelsSwitchedOff(channels: WhoIsToldChannels): Array<OnCallPageChannel>;
|
|
@@ -153,6 +211,7 @@ export declare function getWhoIsToldPersonReach(data: {
|
|
|
153
211
|
isFallbackEnabled: boolean;
|
|
154
212
|
channelsOff: ReadonlyArray<OnCallPageChannel>;
|
|
155
213
|
}): Pick<WhoIsToldPerson, "channels" | "isFallback" | "isReachable" | "problem">;
|
|
214
|
+
export declare const WHO_IS_TOLD_PERSON_PROBLEM_CLAUSES: Readonly<Record<WhoIsToldPersonProblem, string>>;
|
|
156
215
|
export declare function getWhoIsToldBreakMessage(brk: Omit<WhoIsToldBreak, "message">): string;
|
|
157
216
|
export declare function makeWhoIsToldBreak(brk: Omit<WhoIsToldBreak, "message">): WhoIsToldBreak;
|
|
158
217
|
export declare function getWhoIsToldBreaks(data: {
|
|
@@ -161,6 +220,7 @@ export declare function getWhoIsToldBreaks(data: {
|
|
|
161
220
|
projectHasIncidentOnCallRules: boolean;
|
|
162
221
|
projectHasAlertOnCallRules: boolean;
|
|
163
222
|
projectHasOnCallPolicies: boolean;
|
|
223
|
+
isHidden?: ((event: WhoIsToldEvent) => boolean) | undefined;
|
|
164
224
|
}): Array<WhoIsToldBreak>;
|
|
165
225
|
export declare function canWhoIsToldChannelSendNow(channel: OnCallPageChannel, channels: WhoIsToldChannels): boolean;
|
|
166
226
|
export declare function isWhoIsToldPersonPagedAtOnce(data: {
|
|
@@ -173,12 +233,23 @@ export declare function getWhoIsToldOwnersAsTold(data: {
|
|
|
173
233
|
policies: ReadonlyArray<WhoIsToldPolicy>;
|
|
174
234
|
channels: WhoIsToldChannels;
|
|
175
235
|
}): WhoIsToldOwners;
|
|
236
|
+
export declare function isWhoIsToldEventHidden(event: WhoIsToldEvent, canReadPrivateEvent?: ((event: WhoIsToldEvent) => boolean) | undefined): boolean;
|
|
237
|
+
export declare function getWhoIsToldBreaksForReader(data: {
|
|
238
|
+
result: Pick<WhoIsToldResult, "criteria" | "channels" | "breaks" | "facts">;
|
|
239
|
+
isHidden: (event: WhoIsToldEvent) => boolean;
|
|
240
|
+
}): Array<WhoIsToldBreak>;
|
|
241
|
+
export declare function hasWhoIsToldHiddenEvent(result: Pick<WhoIsToldResult, "criteria">, isHidden: (event: WhoIsToldEvent) => boolean): boolean;
|
|
176
242
|
export declare function redactWhoIsTold(data: {
|
|
177
243
|
result: WhoIsToldResult;
|
|
178
244
|
readablePolicyIds: ReadonlySet<string>;
|
|
179
245
|
readableRuleIds: ReadonlySet<string>;
|
|
180
246
|
readableOwnerRuleIds: ReadonlySet<string>;
|
|
181
247
|
readableStatusPageIds: ReadonlySet<string>;
|
|
248
|
+
readableMonitorGroupIds?: ReadonlySet<string> | undefined;
|
|
249
|
+
readablePrivacyRuleIds?: ReadonlySet<string> | undefined;
|
|
250
|
+
readableLabelRuleIds?: ReadonlySet<string> | undefined;
|
|
251
|
+
readableAlertIncidentRuleIds?: ReadonlySet<string> | undefined;
|
|
252
|
+
canReadPrivateEvent?: ((event: WhoIsToldEvent) => boolean) | undefined;
|
|
182
253
|
}): WhoIsToldResult;
|
|
183
254
|
export interface WhoIsToldHeadline {
|
|
184
255
|
criteria: WhoIsToldCriteria;
|