@oneuptime/common 14.0.97 → 14.0.99
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/DatabaseModels/CloudAccount.d.mts +8 -0
- package/Models/DatabaseModels/CloudAccount.d.ts +8 -0
- package/Models/DatabaseModels/CloudAccount.js +167 -0
- package/Models/DatabaseModels/CloudAccountFeed.d.mts +27 -0
- package/Models/DatabaseModels/CloudAccountFeed.d.ts +27 -0
- package/Models/DatabaseModels/CloudAccountFeed.js +557 -0
- package/Models/DatabaseModels/CloudAccountFeed.mjs +3 -0
- package/Models/DatabaseModels/CodeRepository.d.mts +3 -0
- package/Models/DatabaseModels/CodeRepository.d.ts +3 -0
- package/Models/DatabaseModels/CodeRepository.js +104 -0
- package/Models/DatabaseModels/DataSecurityCheckSetting.d.mts +17 -0
- package/Models/DatabaseModels/DataSecurityCheckSetting.d.ts +17 -0
- package/Models/DatabaseModels/DataSecurityCheckSetting.js +304 -0
- package/Models/DatabaseModels/DataSecurityCheckSetting.mjs +2 -0
- package/Models/DatabaseModels/DataSecurityCustomDataType.d.mts +25 -0
- package/Models/DatabaseModels/DataSecurityCustomDataType.d.ts +25 -0
- package/Models/DatabaseModels/DataSecurityCustomDataType.js +431 -0
- package/Models/DatabaseModels/DataSecurityCustomDataType.mjs +2 -0
- package/Models/DatabaseModels/DataSecurityFlow.d.mts +26 -0
- package/Models/DatabaseModels/DataSecurityFlow.d.ts +26 -0
- package/Models/DatabaseModels/DataSecurityFlow.js +456 -0
- package/Models/DatabaseModels/DataSecurityFlow.mjs +2 -0
- package/Models/DatabaseModels/DataSecurityIssue.d.mts +49 -0
- package/Models/DatabaseModels/DataSecurityIssue.d.ts +49 -0
- package/Models/DatabaseModels/DataSecurityIssue.js +797 -0
- package/Models/DatabaseModels/DataSecurityIssue.mjs +2 -0
- package/Models/DatabaseModels/DataSecurityIssueFeed.d.mts +43 -0
- package/Models/DatabaseModels/DataSecurityIssueFeed.d.ts +43 -0
- package/Models/DatabaseModels/DataSecurityIssueFeed.js +382 -0
- package/Models/DatabaseModels/DataSecurityIssueFeed.mjs +3 -0
- package/Models/DatabaseModels/DataSecurityResidencyRule.d.mts +18 -0
- package/Models/DatabaseModels/DataSecurityResidencyRule.d.ts +18 -0
- package/Models/DatabaseModels/DataSecurityResidencyRule.js +331 -0
- package/Models/DatabaseModels/DataSecurityResidencyRule.mjs +2 -0
- package/Models/DatabaseModels/DataSecurityScan.d.mts +29 -0
- package/Models/DatabaseModels/DataSecurityScan.d.ts +29 -0
- package/Models/DatabaseModels/DataSecurityScan.js +520 -0
- package/Models/DatabaseModels/DataSecurityScan.mjs +2 -0
- package/Models/DatabaseModels/DataSecuritySetting.d.mts +35 -0
- package/Models/DatabaseModels/DataSecuritySetting.d.ts +35 -0
- package/Models/DatabaseModels/DataSecuritySetting.js +631 -0
- package/Models/DatabaseModels/DataSecuritySetting.mjs +2 -0
- package/Models/DatabaseModels/DataStore.d.mts +83 -0
- package/Models/DatabaseModels/DataStore.d.ts +83 -0
- package/Models/DatabaseModels/DataStore.js +1343 -0
- package/Models/DatabaseModels/DataStore.mjs +2 -0
- package/Models/DatabaseModels/DataStoreAccess.d.mts +22 -0
- package/Models/DatabaseModels/DataStoreAccess.d.ts +22 -0
- package/Models/DatabaseModels/DataStoreAccess.js +407 -0
- package/Models/DatabaseModels/DataStoreAccess.mjs +2 -0
- package/Models/DatabaseModels/DataStoreFeed.d.mts +36 -0
- package/Models/DatabaseModels/DataStoreFeed.d.ts +36 -0
- package/Models/DatabaseModels/DataStoreFeed.js +613 -0
- package/Models/DatabaseModels/DataStoreFeed.mjs +3 -0
- package/Models/DatabaseModels/DataStoreFinding.d.mts +38 -0
- package/Models/DatabaseModels/DataStoreFinding.d.ts +38 -0
- package/Models/DatabaseModels/DataStoreFinding.js +683 -0
- package/Models/DatabaseModels/DataStoreFinding.mjs +2 -0
- package/Models/DatabaseModels/DataStoreLabelRule.d.mts +21 -0
- package/Models/DatabaseModels/DataStoreLabelRule.d.ts +21 -0
- package/Models/DatabaseModels/DataStoreLabelRule.js +623 -0
- package/Models/DatabaseModels/DataStoreLabelRule.mjs +2 -0
- package/Models/DatabaseModels/DataStoreOwnerRule.d.mts +24 -0
- package/Models/DatabaseModels/DataStoreOwnerRule.d.ts +24 -0
- package/Models/DatabaseModels/DataStoreOwnerRule.js +714 -0
- package/Models/DatabaseModels/DataStoreOwnerRule.mjs +2 -0
- package/Models/DatabaseModels/DataStoreOwnerTeam.d.mts +19 -0
- package/Models/DatabaseModels/DataStoreOwnerTeam.d.ts +19 -0
- package/Models/DatabaseModels/DataStoreOwnerTeam.js +477 -0
- package/Models/DatabaseModels/DataStoreOwnerTeam.mjs +2 -0
- package/Models/DatabaseModels/DataStoreOwnerUser.d.mts +18 -0
- package/Models/DatabaseModels/DataStoreOwnerUser.d.ts +18 -0
- package/Models/DatabaseModels/DataStoreOwnerUser.js +476 -0
- package/Models/DatabaseModels/DataStoreOwnerUser.mjs +2 -0
- package/Models/DatabaseModels/GlobalConfig.d.mts +5 -0
- package/Models/DatabaseModels/GlobalConfig.d.ts +5 -0
- package/Models/DatabaseModels/GlobalConfig.js +110 -0
- package/Models/DatabaseModels/Index.js +37 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.mts +1 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.ts +1 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +43 -0
- package/Models/DatabaseModels/ResourceAiAgent.js +3 -1
- package/Models/DatabaseModels/SecurityCaseEvidence.d.mts +4 -0
- package/Models/DatabaseModels/SecurityCaseEvidence.d.ts +4 -0
- package/Models/DatabaseModels/SecurityCaseEvidence.js +64 -5
- package/Models/DatabaseModels/SecurityEntityCriticality.js +7 -6
- package/Models/DatabaseModels/SecurityEntityRisk.js +2 -2
- package/Models/DatabaseModels/SecurityHunt.d.mts +34 -0
- package/Models/DatabaseModels/SecurityHunt.d.ts +34 -0
- package/Models/DatabaseModels/SecurityHunt.js +608 -0
- package/Models/DatabaseModels/SecurityHunt.mjs +2 -0
- package/Models/DatabaseModels/TelemetryException.d.mts +5 -0
- package/Models/DatabaseModels/TelemetryException.d.ts +5 -0
- package/Models/DatabaseModels/TelemetryException.js +170 -8
- package/Types/AI/AIChatPageContext.d.mts +4 -1
- package/Types/AI/AIChatPageContext.d.ts +4 -1
- package/Types/AI/AIChatPageContext.js +7 -0
- package/Types/AI/AIChatTypes.d.mts +7 -1
- package/Types/AI/AIChatTypes.d.ts +7 -1
- package/Types/AI/AIChatTypes.js +9 -0
- package/Types/AI/AIRunEventType.d.mts +1 -0
- package/Types/AI/AIRunEventType.d.ts +1 -0
- package/Types/AI/AIRunEventType.js +8 -0
- package/Types/AI/AiAffectedResources.js +5 -3
- package/Types/AI/AiTokenCount.d.mts +22 -1
- package/Types/AI/AiTokenCount.d.ts +22 -1
- package/Types/AI/AiTokenCount.js +126 -57
- package/Types/AI/AiTokenCount.mjs +2 -0
- package/Types/AI/CodeFixTaskContext.d.mts +22 -0
- package/Types/AI/CodeFixTaskContext.d.ts +22 -0
- package/Types/AI/CodeFixTaskContext.js +61 -4
- package/Types/AI/CodeFixTaskContext.mjs +2 -0
- package/Types/AI/CodeTask.d.mts +2 -0
- package/Types/AI/CodeTask.d.ts +2 -0
- package/Types/AI/CodeTask.js +4 -0
- package/Types/AI/ResourceAiAccessApi.d.mts +1 -0
- package/Types/AI/ResourceAiAccessApi.d.ts +1 -0
- package/Types/AI/ResourceAiAccessPermissions.js +6 -0
- package/Types/AutoRemediation/AiRemediationCommandPlan.d.mts +19 -0
- package/Types/AutoRemediation/AiRemediationCommandPlan.d.ts +19 -0
- package/Types/AutoRemediation/AiRemediationCommandPlan.js +85 -10
- package/Types/AutoRemediation/AiRemediationCommandPlan.mjs +4 -0
- package/Types/AutoRemediation/RemediationTryAgain.d.mts +17 -0
- package/Types/AutoRemediation/RemediationTryAgain.d.ts +17 -0
- package/Types/AutoRemediation/RemediationTryAgain.js +104 -0
- package/Types/AutoRemediation/RemediationTryAgain.mjs +6 -0
- package/Types/CloudConnection/CloudAiAgentCost.d.mts +19 -0
- package/Types/CloudConnection/CloudAiAgentCost.d.ts +19 -0
- package/Types/CloudConnection/CloudAiAgentCost.js +95 -0
- package/Types/CloudConnection/CloudAiAgentCost.mjs +15 -0
- package/Types/CloudConnection/CloudAiAgentSetupCommands.d.mts +70 -0
- package/Types/CloudConnection/CloudAiAgentSetupCommands.d.ts +70 -0
- package/Types/CloudConnection/CloudAiAgentSetupCommands.js +1107 -0
- package/Types/CloudConnection/CloudAiAgentSetupCommands.mjs +37 -0
- package/Types/CloudConnection/CloudConnectionCatalog.d.mts +8 -0
- package/Types/CloudConnection/CloudConnectionCatalog.d.ts +8 -0
- package/Types/CloudConnection/CloudConnectionCatalog.js +75 -1
- package/Types/CloudConnection/CloudConnectionCatalog.mjs +6 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.d.mts +48 -4
- package/Types/CloudConnection/CloudConnectionSetupCommands.d.ts +48 -4
- package/Types/CloudConnection/CloudConnectionSetupCommands.js +410 -16
- package/Types/CloudConnection/CloudConnectionSetupCommands.mjs +21 -0
- package/Types/CodeRepository/CodeHost.d.mts +2 -1
- package/Types/CodeRepository/CodeHost.d.ts +2 -1
- package/Types/CodeRepository/CodeHost.js +12 -5
- package/Types/CodeRepository/CodeRepositorySetting.d.mts +1 -0
- package/Types/CodeRepository/CodeRepositorySetting.d.ts +1 -0
- package/Types/CodeRepository/CodeRepositorySetting.js +2 -0
- package/Types/CodeRepository/ProductionReview.d.mts +7 -0
- package/Types/CodeRepository/ProductionReview.d.ts +7 -0
- package/Types/CodeRepository/ProductionReview.js +67 -1
- package/Types/CodeRepository/ProductionReview.mjs +1 -0
- package/Types/DataSecurity/ComplianceFramework.d.mts +21 -0
- package/Types/DataSecurity/ComplianceFramework.d.ts +21 -0
- package/Types/DataSecurity/ComplianceFramework.js +97 -0
- package/Types/DataSecurity/ComplianceFramework.mjs +5 -0
- package/Types/DataSecurity/ComplianceRequirementCatalog.d.mts +41 -0
- package/Types/DataSecurity/ComplianceRequirementCatalog.d.ts +41 -0
- package/Types/DataSecurity/ComplianceRequirementCatalog.js +199 -0
- package/Types/DataSecurity/ComplianceRequirementCatalog.mjs +7 -0
- package/Types/DataSecurity/DataCategory.d.mts +15 -0
- package/Types/DataSecurity/DataCategory.d.ts +15 -0
- package/Types/DataSecurity/DataCategory.js +61 -0
- package/Types/DataSecurity/DataCategory.mjs +7 -0
- package/Types/DataSecurity/DataConfidence.d.mts +11 -0
- package/Types/DataSecurity/DataConfidence.d.ts +11 -0
- package/Types/DataSecurity/DataConfidence.js +49 -0
- package/Types/DataSecurity/DataConfidence.mjs +7 -0
- package/Types/DataSecurity/DataSecurityApiTypes.d.mts +106 -0
- package/Types/DataSecurity/DataSecurityApiTypes.d.ts +106 -0
- package/Types/DataSecurity/DataSecurityApiTypes.js +53 -0
- package/Types/DataSecurity/DataSecurityApiTypes.mjs +3 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.d.mts +93 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.d.ts +93 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.js +1183 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.mjs +10 -0
- package/Types/DataSecurity/DataSecurityIssueStatus.d.mts +10 -0
- package/Types/DataSecurity/DataSecurityIssueStatus.d.ts +10 -0
- package/Types/DataSecurity/DataSecurityIssueStatus.js +38 -0
- package/Types/DataSecurity/DataSecurityIssueStatus.mjs +5 -0
- package/Types/DataSecurity/DataSecurityResidency.d.mts +21 -0
- package/Types/DataSecurity/DataSecurityResidency.d.ts +21 -0
- package/Types/DataSecurity/DataSecurityResidency.js +92 -0
- package/Types/DataSecurity/DataSecurityResidency.mjs +5 -0
- package/Types/DataSecurity/DataSecurityResponseAction.d.mts +14 -0
- package/Types/DataSecurity/DataSecurityResponseAction.d.ts +14 -0
- package/Types/DataSecurity/DataSecurityResponseAction.js +115 -0
- package/Types/DataSecurity/DataSecurityResponseAction.mjs +11 -0
- package/Types/DataSecurity/DataSecurityRisk.d.mts +38 -0
- package/Types/DataSecurity/DataSecurityRisk.d.ts +38 -0
- package/Types/DataSecurity/DataSecurityRisk.js +138 -0
- package/Types/DataSecurity/DataSecurityRisk.mjs +7 -0
- package/Types/DataSecurity/DataSensitivity.d.mts +13 -0
- package/Types/DataSecurity/DataSensitivity.d.ts +13 -0
- package/Types/DataSecurity/DataSensitivity.js +68 -0
- package/Types/DataSecurity/DataSensitivity.mjs +8 -0
- package/Types/DataSecurity/DataStoreAccess.d.mts +27 -0
- package/Types/DataSecurity/DataStoreAccess.d.ts +27 -0
- package/Types/DataSecurity/DataStoreAccess.js +35 -0
- package/Types/DataSecurity/DataStoreAccess.mjs +4 -0
- package/Types/DataSecurity/DataStoreEnvironment.d.mts +11 -0
- package/Types/DataSecurity/DataStoreEnvironment.d.ts +11 -0
- package/Types/DataSecurity/DataStoreEnvironment.js +80 -0
- package/Types/DataSecurity/DataStoreEnvironment.mjs +5 -0
- package/Types/DataSecurity/DataStoreKey.d.mts +18 -0
- package/Types/DataSecurity/DataStoreKey.d.ts +18 -0
- package/Types/DataSecurity/DataStoreKey.js +49 -0
- package/Types/DataSecurity/DataStoreKey.mjs +7 -0
- package/Types/DataSecurity/DataStoreKind.d.mts +67 -0
- package/Types/DataSecurity/DataStoreKind.d.ts +67 -0
- package/Types/DataSecurity/DataStoreKind.js +230 -0
- package/Types/DataSecurity/DataStoreKind.mjs +10 -0
- package/Types/DataSecurity/DataStorePosture.d.mts +40 -0
- package/Types/DataSecurity/DataStorePosture.d.ts +40 -0
- package/Types/DataSecurity/DataStorePosture.js +100 -0
- package/Types/DataSecurity/DataStorePosture.mjs +7 -0
- package/Types/DataSecurity/DataTypeCatalog.d.mts +17 -0
- package/Types/DataSecurity/DataTypeCatalog.d.ts +17 -0
- package/Types/DataSecurity/DataTypeCatalog.js +434 -0
- package/Types/DataSecurity/DataTypeCatalog.mjs +4 -0
- package/Types/Email/EmailTemplateType.d.mts +2 -0
- package/Types/Email/EmailTemplateType.d.ts +2 -0
- package/Types/Email/EmailTemplateType.js +8 -0
- package/Types/Link.d.mts +1 -0
- package/Types/Link.d.ts +1 -0
- package/Types/Monitor/CephAlertTemplates.d.mts +2 -1
- package/Types/Monitor/CephAlertTemplates.d.ts +2 -1
- package/Types/Monitor/CephAlertTemplates.js +49 -0
- package/Types/Monitor/CephAlertTemplates.mjs +1 -0
- package/Types/Monitor/DockerAlertTemplates.d.mts +2 -1
- package/Types/Monitor/DockerAlertTemplates.d.ts +2 -1
- package/Types/Monitor/DockerAlertTemplates.js +109 -37
- package/Types/Monitor/DockerAlertTemplates.mjs +1 -0
- package/Types/Monitor/DockerMetricCatalog.d.mts +1 -0
- package/Types/Monitor/DockerMetricCatalog.d.ts +1 -0
- package/Types/Monitor/DockerMetricCatalog.js +26 -52
- package/Types/Monitor/DockerSwarmAlertTemplates.d.mts +1 -0
- package/Types/Monitor/DockerSwarmAlertTemplates.d.ts +1 -0
- package/Types/Monitor/DockerSwarmAlertTemplates.js +65 -8
- package/Types/Monitor/DockerSwarmAlertTemplates.mjs +1 -0
- package/Types/Monitor/DockerSwarmMetricCatalog.js +7 -4
- package/Types/Monitor/HostAlertTemplates.d.mts +2 -1
- package/Types/Monitor/HostAlertTemplates.d.ts +2 -1
- package/Types/Monitor/HostAlertTemplates.js +48 -0
- package/Types/Monitor/HostAlertTemplates.mjs +1 -0
- package/Types/Monitor/IotAlertTemplates.d.mts +1 -0
- package/Types/Monitor/IotAlertTemplates.d.ts +1 -0
- package/Types/Monitor/IotAlertTemplates.js +11 -0
- package/Types/Monitor/IotAlertTemplates.mjs +1 -0
- package/Types/Monitor/KubernetesAlertTemplates.d.mts +49 -1
- package/Types/Monitor/KubernetesAlertTemplates.d.ts +49 -1
- package/Types/Monitor/KubernetesAlertTemplates.js +392 -75
- package/Types/Monitor/KubernetesAlertTemplates.mjs +2 -0
- package/Types/Monitor/KubernetesMetricCatalog.js +12 -2
- package/Types/Monitor/MetricMonitor/MetricMonitorResponse.d.mts +4 -4
- package/Types/Monitor/MetricMonitor/MetricMonitorResponse.d.ts +4 -4
- package/Types/Monitor/MonitorCriteriaInstance.js +107 -10
- package/Types/Monitor/MonitorStep.js +50 -3
- package/Types/Monitor/MonitorStepDockerSwarmMonitor.d.mts +33 -11
- package/Types/Monitor/MonitorStepDockerSwarmMonitor.d.ts +33 -11
- package/Types/Monitor/MonitorStepDockerSwarmMonitor.js +65 -0
- package/Types/Monitor/MonitorStepKubernetesMonitor.d.mts +6 -0
- package/Types/Monitor/MonitorStepKubernetesMonitor.d.ts +6 -0
- package/Types/Monitor/MonitorStepKubernetesMonitor.js +38 -1
- package/Types/Monitor/MonitorStepKubernetesMonitor.mjs +2 -0
- package/Types/Monitor/MonitorType.d.mts +1 -0
- package/Types/Monitor/MonitorType.d.ts +1 -0
- package/Types/Monitor/MonitorType.js +18 -0
- package/Types/Monitor/PodmanAlertTemplates.d.mts +12 -1
- package/Types/Monitor/PodmanAlertTemplates.d.ts +12 -1
- package/Types/Monitor/PodmanAlertTemplates.js +161 -33
- package/Types/Monitor/PodmanAlertTemplates.mjs +2 -0
- package/Types/Monitor/PodmanMetricCatalog.d.mts +1 -0
- package/Types/Monitor/PodmanMetricCatalog.d.ts +1 -0
- package/Types/Monitor/PodmanMetricCatalog.js +26 -52
- package/Types/Monitor/ProxmoxAlertTemplates.d.mts +1 -0
- package/Types/Monitor/ProxmoxAlertTemplates.d.ts +1 -0
- package/Types/Monitor/ProxmoxAlertTemplates.js +49 -0
- package/Types/Monitor/ProxmoxAlertTemplates.mjs +1 -0
- package/Types/Monitor/Recommendation/RecommendationCriteriaBuilder.d.mts +19 -0
- package/Types/Monitor/Recommendation/RecommendationCriteriaBuilder.d.ts +19 -0
- package/Types/Monitor/Recommendation/RecommendationCriteriaBuilder.js +50 -2
- package/Types/Monitor/Recommendation/RecommendationCriteriaBuilder.mjs +2 -0
- package/Types/Monitor/SnmpMonitor/NetworkDeviceAlertPack.d.mts +2 -0
- package/Types/Monitor/SnmpMonitor/NetworkDeviceAlertPack.d.ts +2 -0
- package/Types/Monitor/SnmpMonitor/NetworkDeviceAlertPack.js +31 -2
- package/Types/Monitor/StorageArrayAlertTemplates.d.mts +2 -1
- package/Types/Monitor/StorageArrayAlertTemplates.d.ts +2 -1
- package/Types/Monitor/StorageArrayAlertTemplates.js +69 -0
- package/Types/Monitor/StorageArrayAlertTemplates.mjs +1 -0
- package/Types/Monitor/VMwareAlertTemplates.d.mts +2 -1
- package/Types/Monitor/VMwareAlertTemplates.d.ts +2 -1
- package/Types/Monitor/VMwareAlertTemplates.js +50 -0
- package/Types/Monitor/VMwareAlertTemplates.mjs +1 -0
- package/Types/NotificationSetting/NotificationEmailRollupCategory.d.mts +1 -0
- package/Types/NotificationSetting/NotificationEmailRollupCategory.d.ts +1 -0
- package/Types/NotificationSetting/NotificationEmailRollupCategory.js +9 -0
- package/Types/NotificationSetting/NotificationSettingEventType.d.mts +1 -0
- package/Types/NotificationSetting/NotificationSettingEventType.d.ts +1 -0
- package/Types/NotificationSetting/NotificationSettingEventType.js +6 -0
- package/Types/OnCallDutyPolicy/OnCallPersonPage.d.mts +44 -0
- package/Types/OnCallDutyPolicy/OnCallPersonPage.d.ts +44 -0
- package/Types/OnCallDutyPolicy/OnCallPersonPage.js +171 -0
- package/Types/OnCallDutyPolicy/OnCallPersonPage.mjs +14 -0
- package/Types/Permission.d.mts +51 -0
- package/Types/Permission.d.ts +51 -0
- package/Types/Permission.js +542 -0
- package/Types/Probe/ProbeCapability.d.mts +2 -1
- package/Types/Probe/ProbeCapability.d.ts +2 -1
- package/Types/Probe/ProbeCapability.js +8 -0
- package/Types/ProviderLogo/ProviderLogo.d.mts +2 -0
- package/Types/ProviderLogo/ProviderLogo.d.ts +2 -0
- package/Types/ProviderLogo/ProviderLogo.js +4 -0
- package/Types/ResourceAiAgent/AiResourceType.d.mts +7 -1
- package/Types/ResourceAiAgent/AiResourceType.d.ts +7 -1
- package/Types/ResourceAiAgent/AiResourceType.js +76 -2
- package/Types/ResourceAiAgent/AiResourceType.mjs +3 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.d.mts +19 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.d.ts +19 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.js +75 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.mjs +16 -0
- package/Types/ResourceAiAgent/ResourceAiAccess.d.mts +12 -1
- package/Types/ResourceAiAgent/ResourceAiAccess.d.ts +12 -1
- package/Types/ResourceAiAgent/ResourceAiAccess.js +28 -1
- package/Types/ResourceAiAgent/ResourceAiAccess.mjs +6 -0
- package/Types/Rules/RuleCriteriaFieldRegistry.js +13 -0
- package/Types/Rules/RuleCriteriaSubject.d.mts +2 -1
- package/Types/Rules/RuleCriteriaSubject.d.ts +2 -1
- package/Types/Rules/RuleCriteriaSubject.js +3 -0
- package/Types/Rules/RuleRun.d.mts +2 -0
- package/Types/Rules/RuleRun.d.ts +2 -0
- package/Types/Rules/RuleRun.js +4 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.d.mts +67 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.d.ts +67 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.js +271 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.mjs +13 -0
- package/Types/SecurityCase/SecurityCaseEvidenceKind.d.mts +2 -1
- package/Types/SecurityCase/SecurityCaseEvidenceKind.d.ts +2 -1
- package/Types/SecurityCase/SecurityCaseEvidenceKind.js +11 -1
- package/Types/SecurityCase/SecurityDetectionSource.d.mts +2 -1
- package/Types/SecurityCase/SecurityDetectionSource.d.ts +2 -1
- package/Types/SecurityCase/SecurityDetectionSource.js +5 -2
- package/Types/SecurityCase/SecurityEntity.d.mts +5 -0
- package/Types/SecurityCase/SecurityEntity.d.ts +5 -0
- package/Types/SecurityCase/SecurityEntity.js +39 -1
- package/Types/SecurityCase/SecurityEntity.mjs +4 -0
- package/Types/SecurityCase/SecurityEntityRisk.js +14 -6
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.d.mts +2 -0
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.d.ts +2 -0
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.js +124 -1
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.mjs +2 -0
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorProvider.d.mts +3 -1
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorProvider.d.ts +3 -1
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorProvider.js +4 -0
- package/Types/SecurityEvent/DataSecuritySignal.d.mts +33 -0
- package/Types/SecurityEvent/DataSecuritySignal.d.ts +33 -0
- package/Types/SecurityEvent/DataSecuritySignal.js +114 -0
- package/Types/SecurityEvent/DataSecuritySignal.mjs +14 -0
- package/Types/SecurityEvent/DetectionRuleDataKind.d.mts +7 -1
- package/Types/SecurityEvent/DetectionRuleDataKind.d.ts +7 -1
- package/Types/SecurityEvent/DetectionRuleDataKind.js +74 -0
- package/Types/SecurityEvent/DetectionRuleLibrary.d.mts +2 -1
- package/Types/SecurityEvent/DetectionRuleLibrary.d.ts +2 -1
- package/Types/SecurityEvent/DetectionRuleLibrary.js +730 -0
- package/Types/SecurityEvent/OcsfEventClass.js +31 -2
- package/Types/SecurityEvent/SecurityHunt.d.mts +122 -0
- package/Types/SecurityEvent/SecurityHunt.d.ts +122 -0
- package/Types/SecurityEvent/SecurityHunt.js +391 -0
- package/Types/SecurityEvent/SecurityHunt.mjs +32 -0
- package/Types/SecurityEvent/SecurityLogFormat.d.mts +15 -0
- package/Types/SecurityEvent/SecurityLogFormat.d.ts +15 -0
- package/Types/SecurityEvent/SecurityLogFormat.js +123 -10
- package/Types/SecurityEvent/SecurityLogFormat.mjs +4 -0
- package/Types/SecurityPlaybook/SecurityPlaybookAction.d.mts +3 -0
- package/Types/SecurityPlaybook/SecurityPlaybookAction.d.ts +3 -0
- package/Types/SecurityPlaybook/SecurityPlaybookAction.js +37 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStep.d.mts +3 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStep.d.ts +3 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStep.js +9 -0
- package/Types/SecurityPlaybook/SecurityProtectedEntity.js +8 -1
- package/Types/Telemetry/ExceptionAIDigest.d.mts +31 -0
- package/Types/Telemetry/ExceptionAIDigest.d.ts +31 -0
- package/Types/Telemetry/ExceptionAIDigest.js +131 -0
- package/Types/Telemetry/ExceptionAIDigest.mjs +13 -0
- package/Types/Telemetry/ExceptionAIExplanation.d.mts +37 -0
- package/Types/Telemetry/ExceptionAIExplanation.d.ts +37 -0
- package/Types/Telemetry/ExceptionAIExplanation.js +110 -0
- package/Types/Telemetry/ExceptionAIExplanation.mjs +12 -0
- package/Types/Telemetry/TraceSpanType.d.mts +1 -1
- package/Types/Telemetry/TraceSpanType.d.ts +1 -1
- package/Types/Telemetry/TraceSpanType.js +33 -8
- package/Types/Telemetry/TraceSpanType.mjs +1 -1
- package/Types/UpdateCheck/SecurityAdvisory.d.mts +39 -0
- package/Types/UpdateCheck/SecurityAdvisory.d.ts +39 -0
- package/Types/UpdateCheck/SecurityAdvisory.js +221 -0
- package/Types/UpdateCheck/SecurityAdvisory.mjs +7 -0
- package/Types/UpdateCheck/UpdateCheckFailure.d.mts +9 -0
- package/Types/UpdateCheck/UpdateCheckFailure.d.ts +9 -0
- package/Types/UpdateCheck/UpdateCheckFailure.js +32 -0
- package/Types/UpdateCheck/UpdateCheckFailure.mjs +3 -0
- package/Types/UpdateCheck/UpdateStatus.d.mts +44 -0
- package/Types/UpdateCheck/UpdateStatus.d.ts +44 -0
- package/Types/UpdateCheck/UpdateStatus.js +195 -0
- package/Types/UpdateCheck/UpdateStatus.mjs +3 -0
- package/Types/Workflow/RunRecord.d.mts +3 -14
- package/Types/Workflow/RunRecord.d.ts +3 -14
- package/Types/Workflow/RunRecord.js +10 -51
- package/Types/Workspace/WorkspaceMessagePayload.d.mts +1 -0
- package/Types/Workspace/WorkspaceMessagePayload.d.ts +1 -0
- package/Utils/AI/InvestigationLogStall.d.mts +38 -0
- package/Utils/AI/InvestigationLogStall.d.ts +38 -0
- package/Utils/AI/InvestigationLogStall.js +163 -0
- package/Utils/AI/InvestigationLogStall.mjs +11 -0
- package/Utils/AiRemediation/CloudChangeDryRunPlan.d.mts +17 -0
- package/Utils/AiRemediation/CloudChangeDryRunPlan.d.ts +17 -0
- package/Utils/AiRemediation/CloudChangeDryRunPlan.js +122 -0
- package/Utils/AiRemediation/CloudChangeDryRunPlan.mjs +7 -0
- package/Utils/AiRemediation/Resource/CloudCommandPolicy.d.mts +4 -0
- package/Utils/AiRemediation/Resource/CloudCommandPolicy.d.ts +4 -0
- package/Utils/AiRemediation/Resource/CloudCommandPolicy.js +177 -0
- package/Utils/AiRemediation/Resource/CloudCommandPolicy.mjs +4 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.d.mts +144 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.d.ts +144 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.js +1964 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.mjs +48 -0
- package/Utils/AiRemediation/Resource/ResourceCommandPolicy.js +4 -0
- package/Utils/DataSecurity/CustomDataTypeDetector.d.mts +23 -0
- package/Utils/DataSecurity/CustomDataTypeDetector.d.ts +23 -0
- package/Utils/DataSecurity/CustomDataTypeDetector.js +130 -0
- package/Utils/DataSecurity/CustomDataTypeDetector.mjs +8 -0
- package/Utils/DataSecurity/Detector.d.mts +26 -0
- package/Utils/DataSecurity/Detector.d.ts +26 -0
- package/Utils/DataSecurity/Detector.js +83 -0
- package/Utils/DataSecurity/Detector.mjs +8 -0
- package/Utils/DataSecurity/Detectors/ContactDetectors.d.mts +12 -0
- package/Utils/DataSecurity/Detectors/ContactDetectors.d.ts +12 -0
- package/Utils/DataSecurity/Detectors/ContactDetectors.js +915 -0
- package/Utils/DataSecurity/Detectors/ContactDetectors.mjs +12 -0
- package/Utils/DataSecurity/Detectors/DocumentMarkingDetectors.d.mts +3 -0
- package/Utils/DataSecurity/Detectors/DocumentMarkingDetectors.d.ts +3 -0
- package/Utils/DataSecurity/Detectors/DocumentMarkingDetectors.js +52 -0
- package/Utils/DataSecurity/Detectors/DocumentMarkingDetectors.mjs +3 -0
- package/Utils/DataSecurity/Detectors/FinancialDetectors.d.mts +8 -0
- package/Utils/DataSecurity/Detectors/FinancialDetectors.d.ts +8 -0
- package/Utils/DataSecurity/Detectors/FinancialDetectors.js +566 -0
- package/Utils/DataSecurity/Detectors/FinancialDetectors.mjs +8 -0
- package/Utils/DataSecurity/Detectors/GovernmentIdDetectors.d.mts +3 -0
- package/Utils/DataSecurity/Detectors/GovernmentIdDetectors.d.ts +3 -0
- package/Utils/DataSecurity/Detectors/GovernmentIdDetectors.js +2415 -0
- package/Utils/DataSecurity/Detectors/GovernmentIdDetectors.mjs +3 -0
- package/Utils/DataSecurity/Detectors/HealthIdentifierDetectors.d.mts +3 -0
- package/Utils/DataSecurity/Detectors/HealthIdentifierDetectors.d.ts +3 -0
- package/Utils/DataSecurity/Detectors/HealthIdentifierDetectors.js +258 -0
- package/Utils/DataSecurity/Detectors/HealthIdentifierDetectors.mjs +3 -0
- package/Utils/DataSecurity/Detectors/HealthRecordDetectors.d.mts +3 -0
- package/Utils/DataSecurity/Detectors/HealthRecordDetectors.d.ts +3 -0
- package/Utils/DataSecurity/Detectors/HealthRecordDetectors.js +115 -0
- package/Utils/DataSecurity/Detectors/HealthRecordDetectors.mjs +3 -0
- package/Utils/DataSecurity/Detectors/Index.d.mts +4 -0
- package/Utils/DataSecurity/Detectors/Index.d.ts +4 -0
- package/Utils/DataSecurity/Detectors/Index.js +47 -0
- package/Utils/DataSecurity/Detectors/Index.mjs +4 -0
- package/Utils/DataSecurity/Detectors/SecretDetectors.d.mts +11 -0
- package/Utils/DataSecurity/Detectors/SecretDetectors.d.ts +11 -0
- package/Utils/DataSecurity/Detectors/SecretDetectors.js +1733 -0
- package/Utils/DataSecurity/Detectors/SecretDetectors.mjs +11 -0
- package/Utils/DataSecurity/FieldClassifier.d.mts +20 -0
- package/Utils/DataSecurity/FieldClassifier.d.ts +20 -0
- package/Utils/DataSecurity/FieldClassifier.js +247 -0
- package/Utils/DataSecurity/FieldClassifier.mjs +5 -0
- package/Utils/DataSecurity/FieldCollector.d.mts +23 -0
- package/Utils/DataSecurity/FieldCollector.d.ts +23 -0
- package/Utils/DataSecurity/FieldCollector.js +81 -0
- package/Utils/DataSecurity/FieldCollector.mjs +3 -0
- package/Utils/DataSecurity/FieldNameHints.d.mts +9 -0
- package/Utils/DataSecurity/FieldNameHints.d.ts +9 -0
- package/Utils/DataSecurity/FieldNameHints.js +184 -0
- package/Utils/DataSecurity/FieldNameHints.mjs +6 -0
- package/Utils/DataSecurity/FindingTally.d.mts +44 -0
- package/Utils/DataSecurity/FindingTally.d.ts +44 -0
- package/Utils/DataSecurity/FindingTally.js +138 -0
- package/Utils/DataSecurity/FindingTally.mjs +6 -0
- package/Utils/DataSecurity/Masking.d.mts +6 -0
- package/Utils/DataSecurity/Masking.d.ts +6 -0
- package/Utils/DataSecurity/Masking.js +159 -0
- package/Utils/DataSecurity/Masking.mjs +7 -0
- package/Utils/DataSecurity/PathPattern.d.mts +3 -0
- package/Utils/DataSecurity/PathPattern.d.ts +3 -0
- package/Utils/DataSecurity/PathPattern.js +55 -0
- package/Utils/DataSecurity/PathPattern.mjs +4 -0
- package/Utils/DataSecurity/Sha256.d.mts +1 -0
- package/Utils/DataSecurity/Sha256.d.ts +1 -0
- package/Utils/DataSecurity/Sha256.js +94 -0
- package/Utils/DataSecurity/Sha256.mjs +2 -0
- package/Utils/DataSecurity/TextScanner.d.mts +35 -0
- package/Utils/DataSecurity/TextScanner.d.ts +35 -0
- package/Utils/DataSecurity/TextScanner.js +303 -0
- package/Utils/DataSecurity/TextScanner.mjs +8 -0
- package/Utils/DataSecurity/Validators.d.mts +16 -0
- package/Utils/DataSecurity/Validators.d.ts +16 -0
- package/Utils/DataSecurity/Validators.js +339 -0
- package/Utils/DataSecurity/Validators.mjs +17 -0
- package/Utils/Exceptions/ExceptionIssueState.d.mts +18 -0
- package/Utils/Exceptions/ExceptionIssueState.d.ts +18 -0
- package/Utils/Exceptions/ExceptionIssueState.js +131 -0
- package/Utils/Exceptions/ExceptionIssueState.mjs +8 -0
- package/Utils/HostCollector/HostCollectorDefaultConfig.d.mts +2 -0
- package/Utils/HostCollector/HostCollectorDefaultConfig.d.ts +2 -0
- package/Utils/HostCollector/HostCollectorDefaultConfig.js +39 -1
- package/Utils/HostCollector/HostCollectorDefaultConfig.mjs +2 -0
- package/Utils/LabelRuleImportExport.js +17 -3
- package/Utils/Monitor/PlatformResourceIdentity.js +7 -4
- package/Utils/Project/RecordNumber.d.mts +43 -0
- package/Utils/Project/RecordNumber.d.ts +43 -0
- package/Utils/Project/RecordNumber.js +151 -0
- package/Utils/Project/RecordNumber.mjs +6 -0
- package/Utils/SecurityAdvisoryMatcher.d.mts +33 -0
- package/Utils/SecurityAdvisoryMatcher.d.ts +33 -0
- package/Utils/SecurityAdvisoryMatcher.js +291 -0
- package/Utils/SecurityAdvisoryMatcher.mjs +2 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.d.mts +9 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.d.ts +9 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.js +20 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.mjs +2 -0
- package/Utils/SecurityEvent/Connectors/EntraIdNormalizer.d.mts +24 -0
- package/Utils/SecurityEvent/Connectors/EntraIdNormalizer.d.ts +24 -0
- package/Utils/SecurityEvent/Connectors/EntraIdNormalizer.js +380 -0
- package/Utils/SecurityEvent/Connectors/EntraIdNormalizer.mjs +15 -0
- package/Utils/SecurityEvent/Connectors/GoogleWorkspaceNormalizer.d.mts +29 -0
- package/Utils/SecurityEvent/Connectors/GoogleWorkspaceNormalizer.d.ts +29 -0
- package/Utils/SecurityEvent/Connectors/GoogleWorkspaceNormalizer.js +527 -0
- package/Utils/SecurityEvent/Connectors/GoogleWorkspaceNormalizer.mjs +13 -0
- package/Utils/SecurityEvent/Connectors/Microsoft365AuditNormalizer.d.mts +21 -0
- package/Utils/SecurityEvent/Connectors/Microsoft365AuditNormalizer.d.ts +21 -0
- package/Utils/SecurityEvent/Connectors/Microsoft365AuditNormalizer.js +365 -0
- package/Utils/SecurityEvent/Connectors/Microsoft365AuditNormalizer.mjs +11 -0
- package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.d.mts +17 -0
- package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.d.ts +17 -0
- package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.js +344 -0
- package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.mjs +12 -0
- package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.d.mts +27 -0
- package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.d.ts +27 -0
- package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.js +326 -0
- package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.mjs +10 -0
- package/Utils/SecurityEvent/LogParsers/SecurityDeviceLogParser.d.mts +38 -0
- package/Utils/SecurityEvent/LogParsers/SecurityDeviceLogParser.d.ts +38 -0
- package/Utils/SecurityEvent/LogParsers/SecurityDeviceLogParser.js +629 -0
- package/Utils/SecurityEvent/LogParsers/SecurityDeviceLogParser.mjs +13 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.mts +9 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.ts +9 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.js +63 -3
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.mjs +4 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogParser.js +54 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventLogParser.d.mts +26 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventLogParser.d.ts +26 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventLogParser.js +1046 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventLogParser.mjs +11 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventRecord.d.mts +19 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventRecord.d.ts +19 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventRecord.js +724 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventRecord.mjs +7 -0
- package/Utils/SecurityEvent/SecurityEventSearch.d.mts +56 -0
- package/Utils/SecurityEvent/SecurityEventSearch.d.ts +56 -0
- package/Utils/SecurityEvent/SecurityEventSearch.js +422 -0
- package/Utils/SecurityEvent/SecurityEventSearch.mjs +21 -0
- package/Utils/SecurityEvent/SecurityHuntSearch.d.mts +12 -0
- package/Utils/SecurityEvent/SecurityHuntSearch.d.ts +12 -0
- package/Utils/SecurityEvent/SecurityHuntSearch.js +51 -0
- package/Utils/SecurityEvent/SecurityHuntSearch.mjs +3 -0
- package/Utils/SecurityEvent/SecurityRecordReading.d.mts +32 -0
- package/Utils/SecurityEvent/SecurityRecordReading.d.ts +32 -0
- package/Utils/SecurityEvent/SecurityRecordReading.js +78 -0
- package/Utils/SecurityEvent/SecurityRecordReading.mjs +2 -0
- package/Utils/Sms/OnCallPageSms.d.mts +1 -0
- package/Utils/Sms/OnCallPageSms.d.ts +1 -0
- package/Utils/Sms/OnCallPageSms.js +16 -2
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.d.mts +44 -0
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.d.ts +44 -0
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.js +223 -0
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.mjs +8 -0
- package/Utils/Suggestions/TracePerformanceFixSuggestion.d.mts +9 -0
- package/Utils/Suggestions/TracePerformanceFixSuggestion.d.ts +9 -0
- package/Utils/Suggestions/TracePerformanceFixSuggestion.js +69 -1
- package/Utils/Suggestions/TracePerformanceFixSuggestion.mjs +4 -0
- package/Utils/Syslog/LeefParser.d.mts +28 -0
- package/Utils/Syslog/LeefParser.d.ts +28 -0
- package/Utils/Syslog/LeefParser.js +326 -0
- package/Utils/Syslog/LeefParser.mjs +10 -0
- package/Utils/VersionRange.d.mts +34 -0
- package/Utils/VersionRange.d.ts +34 -0
- package/Utils/VersionRange.js +422 -0
- package/Utils/VersionRange.mjs +5 -0
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ import { FilterType, EvaluateOverTimeType } from "./CriteriaFilter.mjs";
|
|
|
5
5
|
import MonitorStepDockerMonitor from "./MonitorStepDockerMonitor.mjs";
|
|
6
6
|
import RollingTime from "../RollingTime/RollingTime.mjs";
|
|
7
7
|
import MetricsAggregationType from "../Metrics/MetricsAggregationType.mjs";
|
|
8
|
-
export type DockerAlertTemplateCategory = "Container" | "Resource" | "Host";
|
|
8
|
+
export type DockerAlertTemplateCategory = "Availability" | "Container" | "Resource" | "Host";
|
|
9
9
|
export type DockerAlertTemplateSeverity = "Critical" | "Warning";
|
|
10
10
|
export interface DockerAlertTemplateArgs {
|
|
11
11
|
hostIdentifier: string;
|
|
@@ -77,3 +77,4 @@ export declare function buildDockerDeltaMonitorConfig(args: {
|
|
|
77
77
|
export declare function getAllDockerAlertTemplates(): Array<DockerAlertTemplate>;
|
|
78
78
|
export declare function getDockerAlertTemplatesByCategory(category: DockerAlertTemplateCategory): Array<DockerAlertTemplate>;
|
|
79
79
|
export declare function getDockerAlertTemplateById(id: string): DockerAlertTemplate | undefined;
|
|
80
|
+
export declare function getDockerDefaultAlertTemplateId(): string;
|
|
@@ -5,7 +5,7 @@ import { FilterType, EvaluateOverTimeType } from "./CriteriaFilter";
|
|
|
5
5
|
import MonitorStepDockerMonitor from "./MonitorStepDockerMonitor";
|
|
6
6
|
import RollingTime from "../RollingTime/RollingTime";
|
|
7
7
|
import MetricsAggregationType from "../Metrics/MetricsAggregationType";
|
|
8
|
-
export type DockerAlertTemplateCategory = "Container" | "Resource" | "Host";
|
|
8
|
+
export type DockerAlertTemplateCategory = "Availability" | "Container" | "Resource" | "Host";
|
|
9
9
|
export type DockerAlertTemplateSeverity = "Critical" | "Warning";
|
|
10
10
|
export interface DockerAlertTemplateArgs {
|
|
11
11
|
hostIdentifier: string;
|
|
@@ -77,3 +77,4 @@ export declare function buildDockerDeltaMonitorConfig(args: {
|
|
|
77
77
|
export declare function getAllDockerAlertTemplates(): Array<DockerAlertTemplate>;
|
|
78
78
|
export declare function getDockerAlertTemplatesByCategory(category: DockerAlertTemplateCategory): Array<DockerAlertTemplate>;
|
|
79
79
|
export declare function getDockerAlertTemplateById(id: string): DockerAlertTemplate | undefined;
|
|
80
|
+
export declare function getDockerDefaultAlertTemplateId(): string;
|
|
@@ -11,6 +11,7 @@ exports.buildDockerDeltaMonitorConfig = buildDockerDeltaMonitorConfig;
|
|
|
11
11
|
exports.getAllDockerAlertTemplates = getAllDockerAlertTemplates;
|
|
12
12
|
exports.getDockerAlertTemplatesByCategory = getDockerAlertTemplatesByCategory;
|
|
13
13
|
exports.getDockerAlertTemplateById = getDockerAlertTemplateById;
|
|
14
|
+
exports.getDockerDefaultAlertTemplateId = getDockerDefaultAlertTemplateId;
|
|
14
15
|
const ObjectID_1 = __importDefault(require("../ObjectID"));
|
|
15
16
|
const MonitorStep_1 = __importDefault(require("./MonitorStep"));
|
|
16
17
|
const MonitorCriteria_1 = __importDefault(require("./MonitorCriteria"));
|
|
@@ -57,14 +58,13 @@ function dockerTitleSuffix(args) {
|
|
|
57
58
|
*
|
|
58
59
|
* The Docker SWARM agent runs the SAME docker_stats receiver with no
|
|
59
60
|
* attribute-moving transform (DockerSwarmAgent/otel-collector-config.yaml:
|
|
60
|
-
*
|
|
61
|
-
* batch]`, where `resource` only upserts `docker.swarm.cluster.name` and
|
|
61
|
+
* its `resource` processor only upserts `docker.swarm.cluster.name` and
|
|
62
62
|
* `oneuptime.agent.version`), so Swarm container identity is stored
|
|
63
|
-
* `resource.`-prefixed too
|
|
64
|
-
* `container.name
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
63
|
+
* `resource.`-prefixed too, and DockerSwarmAlertTemplates.ts groups by
|
|
64
|
+
* `resource.container.name` like these do. The bare `container.name`
|
|
65
|
+
* matches no stored attribute: aggregatePerSeriesFromRawMetrics labels a
|
|
66
|
+
* missing key "", which would collapse every container into ONE series
|
|
67
|
+
* with an empty label.
|
|
68
68
|
*/
|
|
69
69
|
function buildDockerMonitorStep(args) {
|
|
70
70
|
const monitorStep = new MonitorStep_1.default();
|
|
@@ -252,6 +252,46 @@ function buildDockerDeltaMonitorConfig(args) {
|
|
|
252
252
|
};
|
|
253
253
|
}
|
|
254
254
|
// --- Template Definitions ---
|
|
255
|
+
const hostStoppedReportingTemplate = {
|
|
256
|
+
id: "docker-host-stopped-reporting",
|
|
257
|
+
name: "Host Stopped Reporting",
|
|
258
|
+
summary: "The Docker host sends no container metrics for 10 minutes.",
|
|
259
|
+
description: "Alert when the Docker host sends no container metrics for ten minutes: the host is down, or the Docker agent stopped, lost its route to OneUptime or had its token revoked. A host with no other containers still reports, because the agent runs as a container itself and reports its own.",
|
|
260
|
+
category: "Availability",
|
|
261
|
+
severity: "Critical",
|
|
262
|
+
getMonitorStep: (args) => {
|
|
263
|
+
const metricAlias = RecommendationCriteriaBuilder_1.STOPPED_REPORTING_METRIC_ALIAS;
|
|
264
|
+
return buildDockerMonitorStep(Object.assign({ dockerMonitor: buildDockerMonitorConfig({
|
|
265
|
+
hostIdentifier: args.hostIdentifier,
|
|
266
|
+
/*
|
|
267
|
+
* The heartbeat. docker_stats reports RUNNING containers only, so a
|
|
268
|
+
* host with nothing else running would look silent - except that
|
|
269
|
+
* the agent itself runs as a container (`oneuptime-docker-agent`,
|
|
270
|
+
* DockerAgent/docker-compose.yml, also under its systemd unit,
|
|
271
|
+
* which runs `docker compose up`) and the receiver excludes no
|
|
272
|
+
* image, so its own container.memory.percent arrives every 30s for
|
|
273
|
+
* as long as the agent runs. Ungrouped and counted: only a window
|
|
274
|
+
* with no row from any container is the breach.
|
|
275
|
+
*/
|
|
276
|
+
metricName: "container.memory.percent",
|
|
277
|
+
metricAlias,
|
|
278
|
+
rollingTime: RollingTime_1.default.Past10Minutes,
|
|
279
|
+
aggregationType: MetricsAggregationType_1.default.Count,
|
|
280
|
+
}) }, (0, RecommendationCriteriaBuilder_1.buildStoppedReportingCriteriaInstances)({
|
|
281
|
+
onlineMonitorStatusId: args.onlineMonitorStatusId,
|
|
282
|
+
offlineMonitorStatusId: args.offlineMonitorStatusId,
|
|
283
|
+
incidentSeverityId: args.defaultIncidentSeverityId,
|
|
284
|
+
alertSeverityId: args.defaultAlertSeverityId,
|
|
285
|
+
monitorName: args.monitorName,
|
|
286
|
+
metricAlias,
|
|
287
|
+
resourceNoun: "Docker host",
|
|
288
|
+
incidentTitle: `[Docker] Host Stopped Reporting${dockerTitleSuffix(args)}`,
|
|
289
|
+
incidentDescription: `OneUptime has received no container metrics from this Docker host for ten minutes, so its other monitors have nothing to evaluate either. Check, in order: whether the host is up, whether the \`oneuptime-docker-agent\` container is running and what its logs say (\`docker logs oneuptime-docker-agent\`), and whether the host can reach OneUptime with the agent's token. The incident resolves on its own once metrics arrive again.`,
|
|
290
|
+
criteriaName: "Host Stopped Reporting - No data for 10 minutes",
|
|
291
|
+
criteriaDescription: "Triggers when the Docker host sends no container metrics for the whole ten-minute window.",
|
|
292
|
+
})));
|
|
293
|
+
},
|
|
294
|
+
};
|
|
255
295
|
const highCpuTemplate = {
|
|
256
296
|
id: "docker-high-cpu",
|
|
257
297
|
name: "High Container CPU Usage",
|
|
@@ -346,7 +386,7 @@ const containerRestartLoopTemplate = {
|
|
|
346
386
|
id: "docker-restart-loop",
|
|
347
387
|
name: "Container Restart Loop",
|
|
348
388
|
summary: "A container restarts more than 3 times in 15 minutes.",
|
|
349
|
-
description: "Alert when a container's restart count climbs by more than 3 within fifteen minutes, indicating a crash loop. One alert per container.",
|
|
389
|
+
description: "Alert when a container's restart count climbs by more than 3 within fifteen minutes, indicating a crash loop. The count only grows between two samples of the same minute, and the agent samples running containers only, so a container that exits the moment it starts is rarely seen at all: Container Restarted (Low Uptime) catches every restart the agent does see. One alert per container.",
|
|
350
390
|
category: "Container",
|
|
351
391
|
severity: "Critical",
|
|
352
392
|
getMonitorStep: (args) => {
|
|
@@ -381,6 +421,16 @@ const containerRestartLoopTemplate = {
|
|
|
381
421
|
* Docker's restart backoff (doubling, capped at 60s) puts a real
|
|
382
422
|
* crash loop at ~20 restarts per fifteen minutes, so the threshold
|
|
383
423
|
* below still clears with room to spare.
|
|
424
|
+
*
|
|
425
|
+
* What it cannot see: docker_stats samples RUNNING containers only,
|
|
426
|
+
* so a container that exits the moment it starts is almost never
|
|
427
|
+
* sampled, twice in a minute or at all. Taking the counter's growth
|
|
428
|
+
* across the WHOLE window instead would need the alerting path to
|
|
429
|
+
* difference values across buckets, which it cannot (no rate or
|
|
430
|
+
* delta in AggregationType or EvaluateOverTimeType, and formulas
|
|
431
|
+
* are evaluated point by point); and even that would need two
|
|
432
|
+
* samples of the container. Container Restarted (Low Uptime) fires
|
|
433
|
+
* on every restart the agent does sample.
|
|
384
434
|
*/
|
|
385
435
|
rollingTime: RollingTime_1.default.Past15Minutes,
|
|
386
436
|
groupByAttributeKey: "resource.container.name",
|
|
@@ -534,32 +584,33 @@ const highProcessCountTemplate = {
|
|
|
534
584
|
},
|
|
535
585
|
};
|
|
536
586
|
/*
|
|
537
|
-
*
|
|
538
|
-
*
|
|
587
|
+
* A container that RESTARTED, not one that stopped: the id still says
|
|
588
|
+
* "down" and deliberately stays that way, because it is the stable key the
|
|
589
|
+
* recommendation catalog and the already-created-monitor diff match on
|
|
590
|
+
* (MonitorRecommendationCatalog.buildRecommendationId).
|
|
539
591
|
*
|
|
540
|
-
* `container.uptime
|
|
541
|
-
*
|
|
542
|
-
*
|
|
543
|
-
*
|
|
544
|
-
*
|
|
545
|
-
*
|
|
546
|
-
*
|
|
547
|
-
*
|
|
548
|
-
*
|
|
592
|
+
* This used to fire on `container.uptime = 0`, which can never match:
|
|
593
|
+
* uptime is seconds-since-start from the docker_stats receiver, which only
|
|
594
|
+
* scrapes RUNNING containers, so the value is a positive double and is
|
|
595
|
+
* never sampled at the instant a container starts. Absence cannot
|
|
596
|
+
* substitute either: a stopped container emits no datapoint, so it
|
|
597
|
+
* produces no series, and MonitorCriteriaEvaluator discards a grouped
|
|
598
|
+
* criteria whose per-series match list is empty - the worker's only
|
|
599
|
+
* absent-series injectors are host- and IoT-device-scoped
|
|
600
|
+
* (injectExpectedAbsentHostSeries / injectExpectedAbsentIoTDeviceSeries).
|
|
601
|
+
* A container that stops and stays stopped therefore cannot be detected
|
|
602
|
+
* per container from this data; Host Stopped Reporting covers the host
|
|
603
|
+
* going silent.
|
|
549
604
|
*
|
|
550
|
-
*
|
|
551
|
-
*
|
|
552
|
-
*
|
|
553
|
-
* alternative, but that also touches TemplateGroupByKeys.test.ts and six
|
|
554
|
-
* localised docs tables, so it is deliberately left for a follow-up rather
|
|
555
|
-
* than half-done here. PodmanAlertTemplates and DockerSwarmAlertTemplates
|
|
556
|
-
* carry the identical inert design.
|
|
605
|
+
* A LOW uptime is the signal the metric can carry: the container started
|
|
606
|
+
* again recently - the restart policy brought it back after a crash, or it
|
|
607
|
+
* was redeployed. Same shape as PodmanAlertTemplates' podman-container-down.
|
|
557
608
|
*/
|
|
558
609
|
const containerUptimeTemplate = {
|
|
559
610
|
id: "docker-container-down",
|
|
560
|
-
name: "Container
|
|
561
|
-
summary: "A container
|
|
562
|
-
description: "Alert when a container's uptime
|
|
611
|
+
name: "Container Restarted (Low Uptime)",
|
|
612
|
+
summary: "A container restarted, crashed or was redeployed in the last 2 minutes.",
|
|
613
|
+
description: "Alert when a container's uptime resets, meaning it restarted, crashed and was brought back by its restart policy, or was redeployed in the last two minutes. A container that stops and stays stopped sends no data, so this catches restarts, not a permanent shutdown. One alert per container.",
|
|
563
614
|
category: "Container",
|
|
564
615
|
severity: "Critical",
|
|
565
616
|
getMonitorStep: (args) => {
|
|
@@ -570,6 +621,11 @@ const containerUptimeTemplate = {
|
|
|
570
621
|
metricName: "container.uptime",
|
|
571
622
|
metricAlias,
|
|
572
623
|
rollingTime: RollingTime_1.default.Past1Minute,
|
|
624
|
+
/*
|
|
625
|
+
* Min WITHIN each container's series: the low sample taken just
|
|
626
|
+
* after a restart survives instead of being averaged away by the
|
|
627
|
+
* scrapes around it.
|
|
628
|
+
*/
|
|
573
629
|
aggregationType: MetricsAggregationType_1.default.Min,
|
|
574
630
|
groupByAttributeKey: "resource.container.name",
|
|
575
631
|
}),
|
|
@@ -579,24 +635,32 @@ const containerUptimeTemplate = {
|
|
|
579
635
|
alertSeverityId: args.defaultAlertSeverityId,
|
|
580
636
|
monitorName: args.monitorName,
|
|
581
637
|
metricAlias,
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
638
|
+
/*
|
|
639
|
+
* Two minutes is deliberately wider than the 30 s scrape interval
|
|
640
|
+
* and the 60 s evaluation interval, so the once-a-minute evaluator
|
|
641
|
+
* sees the whole Past1Minute window under the threshold whatever
|
|
642
|
+
* the phase of the scrapes; a 60 s threshold on a 60 s window can
|
|
643
|
+
* miss a restart entirely.
|
|
644
|
+
*/
|
|
645
|
+
filterType: CriteriaFilter_1.FilterType.LessThan,
|
|
646
|
+
value: 120,
|
|
647
|
+
incidentTitle: `[Docker] Container Restarted (uptime < 2m)${dockerTitleSuffix(args)}`,
|
|
648
|
+
incidentDescription: `A Docker container's uptime counter has reset, so it crashed and was restarted by its restart policy, was restarted by hand, or was redeployed within the last two minutes. On the host, \`docker inspect\` shows why the last run ended and \`docker logs --since 5m\` what it printed. A container that stops and stays stopped reports no metrics at all, so this alert detects restarts rather than a permanent shutdown, and a container that is meant to run for less than two minutes stays in this state for its whole life. Check the root cause for the container and the observed uptime.`,
|
|
649
|
+
criteriaName: "Container Restarted - Uptime < 120s",
|
|
650
|
+
criteriaDescription: "Triggers when a container's uptime stays under 120 seconds for the whole window, which means it started or restarted within the last two minutes.",
|
|
588
651
|
}),
|
|
589
652
|
onlineCriteriaInstance: buildDockerOnlineCriteriaInstance({
|
|
590
653
|
onlineMonitorStatusId: args.onlineMonitorStatusId,
|
|
591
654
|
metricAlias,
|
|
592
|
-
filterType: CriteriaFilter_1.FilterType.
|
|
593
|
-
value:
|
|
655
|
+
filterType: CriteriaFilter_1.FilterType.GreaterThanOrEqualTo,
|
|
656
|
+
value: 120,
|
|
594
657
|
}),
|
|
595
658
|
});
|
|
596
659
|
},
|
|
597
660
|
};
|
|
598
661
|
function getAllDockerAlertTemplates() {
|
|
599
662
|
return [
|
|
663
|
+
hostStoppedReportingTemplate,
|
|
600
664
|
highCpuTemplate,
|
|
601
665
|
highMemoryTemplate,
|
|
602
666
|
containerRestartLoopTemplate,
|
|
@@ -615,3 +679,11 @@ function getDockerAlertTemplateById(id) {
|
|
|
615
679
|
return template.id === id;
|
|
616
680
|
});
|
|
617
681
|
}
|
|
682
|
+
/*
|
|
683
|
+
* The template a NEW Docker monitor starts on: the host going silent. It is
|
|
684
|
+
* the one template that still speaks when every other one has stopped being
|
|
685
|
+
* evaluated, and it has no threshold to tune.
|
|
686
|
+
*/
|
|
687
|
+
function getDockerDefaultAlertTemplateId() {
|
|
688
|
+
return hostStoppedReportingTemplate.id;
|
|
689
|
+
}
|
|
@@ -7,3 +7,4 @@ export const buildDockerOnlineCriteriaInstance = commonJsModule.buildDockerOnlin
|
|
|
7
7
|
export const getAllDockerAlertTemplates = commonJsModule.getAllDockerAlertTemplates;
|
|
8
8
|
export const getDockerAlertTemplateById = commonJsModule.getDockerAlertTemplateById;
|
|
9
9
|
export const getDockerAlertTemplatesByCategory = commonJsModule.getDockerAlertTemplatesByCategory;
|
|
10
|
+
export const getDockerDefaultAlertTemplateId = commonJsModule.getDockerDefaultAlertTemplateId;
|
|
@@ -8,6 +8,7 @@ export interface DockerMetricDefinition {
|
|
|
8
8
|
category: DockerMetricCategory;
|
|
9
9
|
defaultAggregation: MetricsAggregationType;
|
|
10
10
|
unit?: string;
|
|
11
|
+
attributes?: Record<string, string> | undefined;
|
|
11
12
|
}
|
|
12
13
|
export declare function getAllDockerMetrics(): Array<DockerMetricDefinition>;
|
|
13
14
|
export declare function getDockerMetricsByCategory(category: DockerMetricCategory): Array<DockerMetricDefinition>;
|
|
@@ -8,6 +8,7 @@ export interface DockerMetricDefinition {
|
|
|
8
8
|
category: DockerMetricCategory;
|
|
9
9
|
defaultAggregation: MetricsAggregationType;
|
|
10
10
|
unit?: string;
|
|
11
|
+
attributes?: Record<string, string> | undefined;
|
|
11
12
|
}
|
|
12
13
|
export declare function getAllDockerMetrics(): Array<DockerMetricDefinition>;
|
|
13
14
|
export declare function getDockerMetricsByCategory(category: DockerMetricCategory): Array<DockerMetricDefinition>;
|
|
@@ -9,6 +9,19 @@ exports.getDockerMetricById = getDockerMetricById;
|
|
|
9
9
|
exports.getDockerMetricByMetricName = getDockerMetricByMetricName;
|
|
10
10
|
exports.getAllDockerMetricCategories = getAllDockerMetricCategories;
|
|
11
11
|
const MetricsAggregationType_1 = __importDefault(require("../Metrics/MetricsAggregationType"));
|
|
12
|
+
/*
|
|
13
|
+
* Only what the shipped Docker Agent sends
|
|
14
|
+
* (agents/DockerAgent/otel-collector-config.yaml). The docker_stats
|
|
15
|
+
* receiver's optional metrics stay off there - per-core CPU
|
|
16
|
+
* (container.cpu.usage.percpu), container.memory.rss and
|
|
17
|
+
* container.memory.cache (cgroup v1 only, too) and the network packet
|
|
18
|
+
* counters - and there is no `container.blockio.io_service_bytes_recursive
|
|
19
|
+
* .read` / `.write`: the receiver emits one
|
|
20
|
+
* container.blockio.io_service_bytes_recursive, with an `operation`
|
|
21
|
+
* attribute (lower-cased: `read`, `write`) and the device's major/minor
|
|
22
|
+
* numbers. An entry for a metric that never arrives is a monitor that
|
|
23
|
+
* never fires.
|
|
24
|
+
*/
|
|
12
25
|
const dockerMetricCatalog = [
|
|
13
26
|
// CPU Metrics
|
|
14
27
|
{
|
|
@@ -29,15 +42,6 @@ const dockerMetricCatalog = [
|
|
|
29
42
|
defaultAggregation: MetricsAggregationType_1.default.Avg,
|
|
30
43
|
unit: "%",
|
|
31
44
|
},
|
|
32
|
-
{
|
|
33
|
-
id: "container-cpu-usage-percpu",
|
|
34
|
-
friendlyName: "Container CPU Usage (Per Core)",
|
|
35
|
-
description: "Per-core CPU usage of the container",
|
|
36
|
-
metricName: "container.cpu.usage.percpu",
|
|
37
|
-
category: "CPU",
|
|
38
|
-
defaultAggregation: MetricsAggregationType_1.default.Avg,
|
|
39
|
-
unit: "ns",
|
|
40
|
-
},
|
|
41
45
|
{
|
|
42
46
|
id: "container-cpu-throttled-time",
|
|
43
47
|
friendlyName: "Container CPU Throttled Time",
|
|
@@ -75,24 +79,6 @@ const dockerMetricCatalog = [
|
|
|
75
79
|
defaultAggregation: MetricsAggregationType_1.default.Avg,
|
|
76
80
|
unit: "%",
|
|
77
81
|
},
|
|
78
|
-
{
|
|
79
|
-
id: "container-memory-rss",
|
|
80
|
-
friendlyName: "Container Memory RSS",
|
|
81
|
-
description: "Resident set size (non-swapped physical memory) used",
|
|
82
|
-
metricName: "container.memory.rss",
|
|
83
|
-
category: "Memory",
|
|
84
|
-
defaultAggregation: MetricsAggregationType_1.default.Avg,
|
|
85
|
-
unit: "bytes",
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
id: "container-memory-cache",
|
|
89
|
-
friendlyName: "Container Memory Cache",
|
|
90
|
-
description: "Amount of memory used as page cache",
|
|
91
|
-
metricName: "container.memory.cache",
|
|
92
|
-
category: "Memory",
|
|
93
|
-
defaultAggregation: MetricsAggregationType_1.default.Avg,
|
|
94
|
-
unit: "bytes",
|
|
95
|
-
},
|
|
96
82
|
// Network Metrics
|
|
97
83
|
{
|
|
98
84
|
id: "container-network-rx-bytes",
|
|
@@ -112,41 +98,29 @@ const dockerMetricCatalog = [
|
|
|
112
98
|
defaultAggregation: MetricsAggregationType_1.default.Sum,
|
|
113
99
|
unit: "bytes",
|
|
114
100
|
},
|
|
115
|
-
{
|
|
116
|
-
id: "container-network-rx-packets",
|
|
117
|
-
friendlyName: "Container Network Packets Received",
|
|
118
|
-
description: "Packets received over the network by the container",
|
|
119
|
-
metricName: "container.network.io.usage.rx_packets",
|
|
120
|
-
category: "Network",
|
|
121
|
-
defaultAggregation: MetricsAggregationType_1.default.Sum,
|
|
122
|
-
unit: "count",
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
id: "container-network-tx-packets",
|
|
126
|
-
friendlyName: "Container Network Packets Transmitted",
|
|
127
|
-
description: "Packets transmitted over the network by the container",
|
|
128
|
-
metricName: "container.network.io.usage.tx_packets",
|
|
129
|
-
category: "Network",
|
|
130
|
-
defaultAggregation: MetricsAggregationType_1.default.Sum,
|
|
131
|
-
unit: "count",
|
|
132
|
-
},
|
|
133
101
|
// Block I/O Metrics
|
|
134
102
|
{
|
|
135
103
|
id: "container-blockio-read",
|
|
136
104
|
friendlyName: "Container Block I/O Read",
|
|
137
|
-
description: "Bytes read from block
|
|
138
|
-
metricName: "container.blockio.io_service_bytes_recursive
|
|
105
|
+
description: "Bytes the container has read from each block device since it started. A lifetime counter, per device: chart it as a rate.",
|
|
106
|
+
metricName: "container.blockio.io_service_bytes_recursive",
|
|
107
|
+
attributes: { operation: "read" },
|
|
139
108
|
category: "BlockIO",
|
|
140
|
-
|
|
109
|
+
/*
|
|
110
|
+
* Max, not Sum: a minute's rows are the same lifetime total sampled
|
|
111
|
+
* twice (and once per device), so a Sum doubles it.
|
|
112
|
+
*/
|
|
113
|
+
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
141
114
|
unit: "bytes",
|
|
142
115
|
},
|
|
143
116
|
{
|
|
144
117
|
id: "container-blockio-write",
|
|
145
118
|
friendlyName: "Container Block I/O Write",
|
|
146
|
-
description: "Bytes written to block
|
|
147
|
-
metricName: "container.blockio.io_service_bytes_recursive
|
|
119
|
+
description: "Bytes the container has written to each block device since it started. A lifetime counter, per device: chart it as a rate.",
|
|
120
|
+
metricName: "container.blockio.io_service_bytes_recursive",
|
|
121
|
+
attributes: { operation: "write" },
|
|
148
122
|
category: "BlockIO",
|
|
149
|
-
defaultAggregation: MetricsAggregationType_1.default.
|
|
123
|
+
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
150
124
|
unit: "bytes",
|
|
151
125
|
},
|
|
152
126
|
// Container Info Metrics
|
|
@@ -171,7 +145,7 @@ const dockerMetricCatalog = [
|
|
|
171
145
|
{
|
|
172
146
|
id: "container-pids-count",
|
|
173
147
|
friendlyName: "Container Process Count",
|
|
174
|
-
description: "
|
|
148
|
+
description: "Tasks in the container: processes and their threads, as the cgroup pids controller counts them.",
|
|
175
149
|
metricName: "container.pids.count",
|
|
176
150
|
category: "Container",
|
|
177
151
|
defaultAggregation: MetricsAggregationType_1.default.Avg,
|
|
@@ -65,3 +65,4 @@ export declare function buildDockerSwarmMonitorConfig(args: {
|
|
|
65
65
|
export declare function getAllDockerSwarmAlertTemplates(): Array<DockerSwarmAlertTemplate>;
|
|
66
66
|
export declare function getDockerSwarmAlertTemplatesByCategory(category: DockerSwarmAlertTemplateCategory): Array<DockerSwarmAlertTemplate>;
|
|
67
67
|
export declare function getDockerSwarmAlertTemplateById(id: string): DockerSwarmAlertTemplate | undefined;
|
|
68
|
+
export declare function getDockerSwarmDefaultAlertTemplateId(): string;
|
|
@@ -65,3 +65,4 @@ export declare function buildDockerSwarmMonitorConfig(args: {
|
|
|
65
65
|
export declare function getAllDockerSwarmAlertTemplates(): Array<DockerSwarmAlertTemplate>;
|
|
66
66
|
export declare function getDockerSwarmAlertTemplatesByCategory(category: DockerSwarmAlertTemplateCategory): Array<DockerSwarmAlertTemplate>;
|
|
67
67
|
export declare function getDockerSwarmAlertTemplateById(id: string): DockerSwarmAlertTemplate | undefined;
|
|
68
|
+
export declare function getDockerSwarmDefaultAlertTemplateId(): string;
|
|
@@ -10,6 +10,7 @@ exports.buildDockerSwarmMonitorConfig = buildDockerSwarmMonitorConfig;
|
|
|
10
10
|
exports.getAllDockerSwarmAlertTemplates = getAllDockerSwarmAlertTemplates;
|
|
11
11
|
exports.getDockerSwarmAlertTemplatesByCategory = getDockerSwarmAlertTemplatesByCategory;
|
|
12
12
|
exports.getDockerSwarmAlertTemplateById = getDockerSwarmAlertTemplateById;
|
|
13
|
+
exports.getDockerSwarmDefaultAlertTemplateId = getDockerSwarmDefaultAlertTemplateId;
|
|
13
14
|
const ObjectID_1 = __importDefault(require("../ObjectID"));
|
|
14
15
|
const MonitorStep_1 = __importDefault(require("./MonitorStep"));
|
|
15
16
|
const MonitorCriteria_1 = __importDefault(require("./MonitorCriteria"));
|
|
@@ -113,6 +114,47 @@ function buildDockerSwarmMonitorConfig(args) {
|
|
|
113
114
|
* always adds the cluster scope (`resource.docker.swarm.cluster.name`)
|
|
114
115
|
* from the step's clusterIdentifier; no container.runtime filter.
|
|
115
116
|
*/
|
|
117
|
+
const clusterStoppedReportingTemplate = {
|
|
118
|
+
id: "docker-swarm-cluster-stopped-reporting",
|
|
119
|
+
name: "Cluster Stopped Reporting",
|
|
120
|
+
summary: "The cluster sends no container metrics for 10 minutes.",
|
|
121
|
+
description: "Alert when no node of the Swarm cluster sends container metrics for ten minutes: the nodes running the agent are down, or the agent stopped, lost its route to OneUptime or had its token revoked. A node with no tasks still reports, because the agent runs as a container itself and reports its own. One incident for the whole cluster.",
|
|
122
|
+
category: "Availability",
|
|
123
|
+
severity: "Critical",
|
|
124
|
+
getMonitorStep: (args) => {
|
|
125
|
+
const metricAlias = RecommendationCriteriaBuilder_1.STOPPED_REPORTING_METRIC_ALIAS;
|
|
126
|
+
return buildDockerSwarmMonitorStep(Object.assign({ dockerSwarmMonitor: buildDockerSwarmMonitorConfig({
|
|
127
|
+
clusterIdentifier: args.clusterIdentifier,
|
|
128
|
+
/*
|
|
129
|
+
* The heartbeat. docker_stats reports RUNNING containers only, but
|
|
130
|
+
* on every node the agent itself runs as one
|
|
131
|
+
* (`oneuptime-docker-swarm-agent`, DockerSwarmAgent/
|
|
132
|
+
* docker-compose.yml) and the receiver excludes no image, so its
|
|
133
|
+
* own container.memory.percent - stamped with the cluster name
|
|
134
|
+
* like every other row of the pipeline - arrives every 30s for as
|
|
135
|
+
* long as any node's agent runs. NOT grouped: a node that leaves
|
|
136
|
+
* the cluster takes its series with it, and the whole-cluster
|
|
137
|
+
* silence is the one this template is for.
|
|
138
|
+
*/
|
|
139
|
+
metricName: "container.memory.percent",
|
|
140
|
+
metricAlias,
|
|
141
|
+
rollingTime: RollingTime_1.default.Past10Minutes,
|
|
142
|
+
aggregationType: MetricsAggregationType_1.default.Count,
|
|
143
|
+
}) }, (0, RecommendationCriteriaBuilder_1.buildStoppedReportingCriteriaInstances)({
|
|
144
|
+
onlineMonitorStatusId: args.onlineMonitorStatusId,
|
|
145
|
+
offlineMonitorStatusId: args.offlineMonitorStatusId,
|
|
146
|
+
incidentSeverityId: args.defaultIncidentSeverityId,
|
|
147
|
+
alertSeverityId: args.defaultAlertSeverityId,
|
|
148
|
+
monitorName: args.monitorName,
|
|
149
|
+
metricAlias,
|
|
150
|
+
resourceNoun: "Docker Swarm cluster",
|
|
151
|
+
incidentTitle: `[Docker Swarm] Cluster Stopped Reporting - ${args.monitorName}`,
|
|
152
|
+
incidentDescription: `OneUptime has received no container metrics from this Docker Swarm cluster for ten minutes, so its other monitors have nothing to evaluate either. Check, in order: whether the nodes running the agent are up, whether the \`oneuptime-docker-swarm-agent\` container is running on them and what its logs say (\`docker logs oneuptime-docker-swarm-agent\`), and whether they can reach OneUptime with the agent's token. The incident resolves on its own once metrics arrive again.`,
|
|
153
|
+
criteriaName: "Cluster Stopped Reporting - No data for 10 minutes",
|
|
154
|
+
criteriaDescription: "Triggers when no node of the Swarm cluster sends container metrics for the whole ten-minute window.",
|
|
155
|
+
})));
|
|
156
|
+
},
|
|
157
|
+
};
|
|
116
158
|
const highCpuTemplate = {
|
|
117
159
|
id: "docker-swarm-high-cpu",
|
|
118
160
|
name: "High Task CPU Usage",
|
|
@@ -219,8 +261,8 @@ const highMemoryTemplate = {
|
|
|
219
261
|
const highProcessCountTemplate = {
|
|
220
262
|
id: "docker-swarm-high-pids",
|
|
221
263
|
name: "High Task Process Count",
|
|
222
|
-
summary: "A task runs more than
|
|
223
|
-
description: "Alert when any Swarm task's container
|
|
264
|
+
summary: "A task runs more than 2000 processes and threads.",
|
|
265
|
+
description: "Alert when any Swarm task's container holds more than 2000 tasks — processes PLUS threads (container.pids.count > 2000) — which may indicate a fork bomb, a thread leak, or an unbounded worker pool. One incident per task.",
|
|
224
266
|
category: "Container",
|
|
225
267
|
severity: "Warning",
|
|
226
268
|
getMonitorStep: (args) => {
|
|
@@ -241,18 +283,24 @@ const highProcessCountTemplate = {
|
|
|
241
283
|
alertSeverityId: args.defaultAlertSeverityId,
|
|
242
284
|
monitorName: args.monitorName,
|
|
243
285
|
metricAlias,
|
|
286
|
+
/*
|
|
287
|
+
* 2000, as Docker's docker-high-pids. container.pids.count reads
|
|
288
|
+
* the cgroup pids controller, which counts TASKS - threads as well
|
|
289
|
+
* as processes - so 500 was ordinary for a JVM or a Go service and
|
|
290
|
+
* the alert called a task working as designed a fork bomb.
|
|
291
|
+
*/
|
|
244
292
|
filterType: CriteriaFilter_1.FilterType.GreaterThan,
|
|
245
|
-
value:
|
|
246
|
-
incidentTitle: `[Docker Swarm] High Task Process Count (>
|
|
247
|
-
incidentDescription: `A Docker Swarm task's container
|
|
248
|
-
criteriaName: "High Task PIDs - Count >
|
|
249
|
-
criteriaDescription: "Triggers when any task's process count
|
|
293
|
+
value: 2000,
|
|
294
|
+
incidentTitle: `[Docker Swarm] High Task Process/Thread Count (>2000) - ${args.monitorName}`,
|
|
295
|
+
incidentDescription: `A Docker Swarm task's container held more than 2000 tasks for the whole evaluation window. container.pids.count reads the cgroup pids controller, which counts TASKS — threads as well as processes — so a JVM or a Go service sits far above its process count. Sustained above 2000 usually means a fork bomb, a thread leak, or a pool sized without a ceiling. Check the root cause for the affected task container and inspect it for runaway processes and threads.`,
|
|
296
|
+
criteriaName: "High Task PIDs - Task Count > 2000",
|
|
297
|
+
criteriaDescription: "Triggers when any task's task (process + thread) count stays above 2000 over the monitoring window.",
|
|
250
298
|
}),
|
|
251
299
|
onlineCriteriaInstance: buildDockerSwarmOnlineCriteriaInstance({
|
|
252
300
|
onlineMonitorStatusId: args.onlineMonitorStatusId,
|
|
253
301
|
metricAlias,
|
|
254
302
|
filterType: CriteriaFilter_1.FilterType.LessThanOrEqualTo,
|
|
255
|
-
value:
|
|
303
|
+
value: 2000,
|
|
256
304
|
}),
|
|
257
305
|
});
|
|
258
306
|
},
|
|
@@ -334,6 +382,7 @@ const taskDownTemplate = {
|
|
|
334
382
|
};
|
|
335
383
|
function getAllDockerSwarmAlertTemplates() {
|
|
336
384
|
return [
|
|
385
|
+
clusterStoppedReportingTemplate,
|
|
337
386
|
taskDownTemplate,
|
|
338
387
|
highCpuTemplate,
|
|
339
388
|
highMemoryTemplate,
|
|
@@ -350,3 +399,11 @@ function getDockerSwarmAlertTemplateById(id) {
|
|
|
350
399
|
return template.id === id;
|
|
351
400
|
});
|
|
352
401
|
}
|
|
402
|
+
/*
|
|
403
|
+
* The template a NEW Docker Swarm monitor starts on: the cluster going
|
|
404
|
+
* silent. It is the one template that still speaks when every other one has
|
|
405
|
+
* stopped being evaluated, and it has no threshold to tune.
|
|
406
|
+
*/
|
|
407
|
+
function getDockerSwarmDefaultAlertTemplateId() {
|
|
408
|
+
return clusterStoppedReportingTemplate.id;
|
|
409
|
+
}
|
|
@@ -6,3 +6,4 @@ export const buildDockerSwarmOnlineCriteriaInstance = commonJsModule.buildDocker
|
|
|
6
6
|
export const getAllDockerSwarmAlertTemplates = commonJsModule.getAllDockerSwarmAlertTemplates;
|
|
7
7
|
export const getDockerSwarmAlertTemplateById = commonJsModule.getDockerSwarmAlertTemplateById;
|
|
8
8
|
export const getDockerSwarmAlertTemplatesByCategory = commonJsModule.getDockerSwarmAlertTemplatesByCategory;
|
|
9
|
+
export const getDockerSwarmDefaultAlertTemplateId = commonJsModule.getDockerSwarmDefaultAlertTemplateId;
|
|
@@ -14,9 +14,12 @@ const MetricsAggregationType_1 = __importDefault(require("../Metrics/MetricsAggr
|
|
|
14
14
|
* scheme. The OneUptime Docker Swarm Agent runs the docker_stats receiver
|
|
15
15
|
* against the Swarm manager node, so the series that actually arrive are
|
|
16
16
|
* the standard `container.*` container-runtime metrics — there are NO
|
|
17
|
-
* `docker_swarm_*` or `pve_*` metrics.
|
|
18
|
-
* container's identity
|
|
19
|
-
* `container.image.name`)
|
|
17
|
+
* `docker_swarm_*` or `pve_*` metrics. The receiver emits one
|
|
18
|
+
* ResourceMetrics per container and carries the container's identity
|
|
19
|
+
* (`container.name`, `container.image.name`) as RESOURCE attributes, which
|
|
20
|
+
* ClickHouse stores `resource.`-prefixed: group and filter by
|
|
21
|
+
* `resource.container.name`, never the bare key, which matches nothing.
|
|
22
|
+
* For a Swarm service task the container name is
|
|
20
23
|
* `<service>.<slot>.<taskid>`. The whole batch is scoped by the
|
|
21
24
|
* `docker.swarm.cluster.name` resource attribute the agent stamps.
|
|
22
25
|
*/
|
|
@@ -73,7 +76,7 @@ const dockerSwarmMetricCatalog = [
|
|
|
73
76
|
{
|
|
74
77
|
id: "container-pids-count",
|
|
75
78
|
friendlyName: "Container Process Count",
|
|
76
|
-
description: "
|
|
79
|
+
description: "Tasks in a Swarm task's container: processes and their threads, as the cgroup pids controller counts them. A sudden spike can indicate a fork bomb or a thread leak.",
|
|
77
80
|
metricName: "container.pids.count",
|
|
78
81
|
category: "Container",
|
|
79
82
|
defaultAggregation: MetricsAggregationType_1.default.Avg,
|
|
@@ -5,7 +5,7 @@ import { FilterType, EvaluateOverTimeType } from "./CriteriaFilter.mjs";
|
|
|
5
5
|
import MonitorStepHostMonitor from "./MonitorStepHostMonitor.mjs";
|
|
6
6
|
import RollingTime from "../RollingTime/RollingTime.mjs";
|
|
7
7
|
import MetricsAggregationType from "../Metrics/MetricsAggregationType.mjs";
|
|
8
|
-
export type HostAlertTemplateCategory = "Resource" | "Host";
|
|
8
|
+
export type HostAlertTemplateCategory = "Availability" | "Resource" | "Host";
|
|
9
9
|
export type HostAlertTemplateSeverity = "Critical" | "Warning";
|
|
10
10
|
export interface HostAlertTemplateArgs {
|
|
11
11
|
hostIdentifier: string;
|
|
@@ -127,3 +127,4 @@ export declare function buildHostFormulaMonitorConfig(args: {
|
|
|
127
127
|
export declare function getAllHostAlertTemplates(): Array<HostAlertTemplate>;
|
|
128
128
|
export declare function getHostAlertTemplatesByCategory(category: HostAlertTemplateCategory): Array<HostAlertTemplate>;
|
|
129
129
|
export declare function getHostAlertTemplateById(id: string): HostAlertTemplate | undefined;
|
|
130
|
+
export declare function getHostDefaultAlertTemplateId(): string;
|
|
@@ -5,7 +5,7 @@ import { FilterType, EvaluateOverTimeType } from "./CriteriaFilter";
|
|
|
5
5
|
import MonitorStepHostMonitor from "./MonitorStepHostMonitor";
|
|
6
6
|
import RollingTime from "../RollingTime/RollingTime";
|
|
7
7
|
import MetricsAggregationType from "../Metrics/MetricsAggregationType";
|
|
8
|
-
export type HostAlertTemplateCategory = "Resource" | "Host";
|
|
8
|
+
export type HostAlertTemplateCategory = "Availability" | "Resource" | "Host";
|
|
9
9
|
export type HostAlertTemplateSeverity = "Critical" | "Warning";
|
|
10
10
|
export interface HostAlertTemplateArgs {
|
|
11
11
|
hostIdentifier: string;
|
|
@@ -127,3 +127,4 @@ export declare function buildHostFormulaMonitorConfig(args: {
|
|
|
127
127
|
export declare function getAllHostAlertTemplates(): Array<HostAlertTemplate>;
|
|
128
128
|
export declare function getHostAlertTemplatesByCategory(category: HostAlertTemplateCategory): Array<HostAlertTemplate>;
|
|
129
129
|
export declare function getHostAlertTemplateById(id: string): HostAlertTemplate | undefined;
|
|
130
|
+
export declare function getHostDefaultAlertTemplateId(): string;
|