@oneuptime/common 14.0.99 → 14.0.101
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/ExceptionInstance.d.mts +2 -0
- package/Models/AnalyticsModels/ExceptionInstance.d.ts +2 -0
- package/Models/AnalyticsModels/ExceptionInstance.js +31 -0
- package/Models/AnalyticsModels/LogCountBaseline.d.mts +6 -0
- package/Models/AnalyticsModels/LogCountBaseline.d.ts +6 -0
- package/Models/AnalyticsModels/LogCountBaseline.js +7 -1
- package/Models/AnalyticsModels/MetricBaselineHourly.d.mts +11 -6
- package/Models/AnalyticsModels/MetricBaselineHourly.d.ts +11 -6
- package/Models/AnalyticsModels/MetricBaselineHourly.js +12 -7
- package/Models/AnalyticsModels/NetworkTrafficUsage.js +30 -10
- package/Models/AnalyticsModels/RumSessionChunk.js +1 -1
- package/Models/AnalyticsModels/SpanCountBaseline.d.mts +17 -9
- package/Models/AnalyticsModels/SpanCountBaseline.d.ts +17 -9
- package/Models/AnalyticsModels/SpanCountBaseline.js +18 -10
- package/Models/DatabaseModels/CloudApp.d.mts +27 -0
- package/Models/DatabaseModels/CloudApp.d.ts +27 -0
- package/Models/DatabaseModels/CloudApp.js +414 -0
- package/Models/DatabaseModels/CloudApp.mjs +2 -0
- package/Models/DatabaseModels/CloudAppRevision.d.mts +23 -0
- package/Models/DatabaseModels/CloudAppRevision.d.ts +23 -0
- package/Models/DatabaseModels/CloudAppRevision.js +351 -0
- package/Models/DatabaseModels/CloudAppRevision.mjs +2 -0
- package/Models/DatabaseModels/CloudResourceFeed.d.mts +4 -1
- package/Models/DatabaseModels/CloudResourceFeed.d.ts +4 -1
- package/Models/DatabaseModels/CloudResourceFeed.js +17 -1
- package/Models/DatabaseModels/CloudResourceFeed.mjs +1 -0
- package/Models/DatabaseModels/CloudResourceInstance.d.mts +4 -0
- package/Models/DatabaseModels/CloudResourceInstance.d.ts +4 -0
- package/Models/DatabaseModels/CloudResourceInstance.js +60 -1
- package/Models/DatabaseModels/CloudResourceLabelRule.d.mts +2 -0
- package/Models/DatabaseModels/CloudResourceLabelRule.d.ts +2 -0
- package/Models/DatabaseModels/CloudResourceLabelRule.js +44 -1
- package/Models/DatabaseModels/CloudResourceOwnerRule.d.mts +2 -0
- package/Models/DatabaseModels/CloudResourceOwnerRule.d.ts +2 -0
- package/Models/DatabaseModels/CloudResourceOwnerRule.js +44 -1
- package/Models/DatabaseModels/Dashboard.d.mts +2 -0
- package/Models/DatabaseModels/Dashboard.d.ts +2 -0
- package/Models/DatabaseModels/Dashboard.js +88 -0
- package/Models/DatabaseModels/DataSecurityIdentity.d.mts +29 -0
- package/Models/DatabaseModels/DataSecurityIdentity.d.ts +29 -0
- package/Models/DatabaseModels/DataSecurityIdentity.js +535 -0
- package/Models/DatabaseModels/DataSecurityIdentity.mjs +2 -0
- package/Models/DatabaseModels/DataStore.d.mts +1 -0
- package/Models/DatabaseModels/DataStore.d.ts +1 -0
- package/Models/DatabaseModels/DataStore.js +16 -0
- package/Models/DatabaseModels/DataStoreAccess.d.mts +1 -0
- package/Models/DatabaseModels/DataStoreAccess.d.ts +1 -0
- package/Models/DatabaseModels/DataStoreAccess.js +20 -0
- package/Models/DatabaseModels/DataStoreFinding.d.mts +3 -0
- package/Models/DatabaseModels/DataStoreFinding.d.ts +3 -0
- package/Models/DatabaseModels/DataStoreFinding.js +63 -1
- package/Models/DatabaseModels/DetectionRule.d.mts +1 -0
- package/Models/DatabaseModels/DetectionRule.d.ts +1 -0
- package/Models/DatabaseModels/DetectionRule.js +31 -0
- package/Models/DatabaseModels/ExceptionSavedView.d.mts +16 -0
- package/Models/DatabaseModels/ExceptionSavedView.d.ts +16 -0
- package/Models/DatabaseModels/ExceptionSavedView.js +413 -0
- package/Models/DatabaseModels/ExceptionSavedView.mjs +2 -0
- package/Models/DatabaseModels/FormDomain.d.mts +28 -0
- package/Models/DatabaseModels/FormDomain.d.ts +28 -0
- package/Models/DatabaseModels/FormDomain.js +598 -0
- package/Models/DatabaseModels/FormDomain.mjs +2 -0
- package/Models/DatabaseModels/IncidentEpisodeRoleMember.js +10 -1
- package/Models/DatabaseModels/Index.js +12 -0
- package/Models/DatabaseModels/KubernetesResource.d.mts +1 -0
- package/Models/DatabaseModels/KubernetesResource.d.ts +1 -0
- package/Models/DatabaseModels/KubernetesResource.js +36 -0
- package/Models/DatabaseModels/NetworkDeviceDiscoveryScan.d.mts +2 -1
- package/Models/DatabaseModels/NetworkDeviceDiscoveryScan.d.ts +2 -1
- package/Models/DatabaseModels/NetworkEndpoint.d.mts +2 -0
- package/Models/DatabaseModels/NetworkEndpoint.d.ts +2 -0
- package/Models/DatabaseModels/NetworkEndpoint.js +62 -1
- package/Models/DatabaseModels/ProxmoxCluster.d.mts +2 -0
- package/Models/DatabaseModels/ProxmoxCluster.d.ts +2 -0
- package/Models/DatabaseModels/ProxmoxCluster.js +66 -0
- package/Models/DatabaseModels/ProxmoxResource.d.mts +13 -0
- package/Models/DatabaseModels/ProxmoxResource.d.ts +13 -0
- package/Models/DatabaseModels/ProxmoxResource.js +292 -0
- package/Models/DatabaseModels/StatusPageSubscriber.d.mts +1 -0
- package/Models/DatabaseModels/StatusPageSubscriber.d.ts +1 -0
- package/Models/DatabaseModels/StatusPageSubscriber.js +52 -0
- package/Models/DatabaseModels/TelemetryException.d.mts +5 -0
- package/Models/DatabaseModels/TelemetryException.d.ts +5 -0
- package/Models/DatabaseModels/TelemetryException.js +183 -0
- package/Models/DatabaseModels/TelemetryExceptionActivity.d.mts +42 -0
- package/Models/DatabaseModels/TelemetryExceptionActivity.d.ts +42 -0
- package/Models/DatabaseModels/TelemetryExceptionActivity.js +527 -0
- package/Models/DatabaseModels/TelemetryExceptionActivity.mjs +3 -0
- package/Server/Services/DatabaseService.d.mts +10 -0
- package/Server/Services/DatabaseService.d.ts +10 -0
- package/Types/AI/AIResourceContext.d.mts +2 -0
- package/Types/AI/AIResourceContext.d.ts +2 -0
- package/Types/AI/AIResourceContext.js +5 -0
- package/Types/Analytics/CookieConsent.d.mts +1 -0
- package/Types/Analytics/CookieConsent.d.ts +1 -0
- package/Types/Analytics/CookieConsent.js +10 -0
- package/Types/Analytics/CookieConsent.mjs +2 -0
- package/Types/AutoRemediation/AiRemediationCommandPlan.d.mts +3 -0
- package/Types/AutoRemediation/AiRemediationCommandPlan.d.ts +3 -0
- package/Types/AutoRemediation/AiRemediationCommandPlan.js +11 -2
- package/Types/AutoRemediation/RemediationTrackRecord.d.mts +26 -0
- package/Types/AutoRemediation/RemediationTrackRecord.d.ts +26 -0
- package/Types/AutoRemediation/RemediationTrackRecord.js +137 -0
- package/Types/AutoRemediation/RemediationTrackRecord.mjs +8 -0
- package/Types/AutoRemediation/RemediationTrackRecordWords.d.mts +10 -0
- package/Types/AutoRemediation/RemediationTrackRecordWords.d.ts +10 -0
- package/Types/AutoRemediation/RemediationTrackRecordWords.js +86 -0
- package/Types/AutoRemediation/RemediationTrackRecordWords.mjs +9 -0
- package/Types/BaseDatabase/AggregateBy.d.mts +13 -0
- package/Types/BaseDatabase/AggregateBy.d.ts +13 -0
- package/Types/Billing/SubscriptionPlanPricing.d.mts +2 -0
- package/Types/Billing/SubscriptionPlanPricing.d.ts +2 -0
- package/Types/Billing/SubscriptionPlanPricing.js +30 -0
- package/Types/Billing/SubscriptionPlanPricing.mjs +2 -0
- package/Types/Cloud/CloudPlatform.d.mts +3 -0
- package/Types/Cloud/CloudPlatform.d.ts +3 -0
- package/Types/Cloud/CloudPlatform.js +50 -0
- package/Types/Cloud/CloudResourceKind.d.mts +11 -0
- package/Types/Cloud/CloudResourceKind.d.ts +11 -0
- package/Types/Cloud/CloudResourceKind.js +78 -9
- package/Types/Cloud/CloudResourceKind.mjs +5 -0
- package/Types/CloudConnection/CloudConnectionCatalog.js +10 -8
- package/Types/CloudConnection/CloudConnectionSetupCommands.js +32 -10
- package/Types/CustomField/CustomFieldFile.d.mts +69 -0
- package/Types/CustomField/CustomFieldFile.d.ts +69 -0
- package/Types/CustomField/CustomFieldFile.js +235 -0
- package/Types/CustomField/CustomFieldFile.mjs +16 -0
- package/Types/CustomField/CustomFieldRecordKinds.d.mts +25 -0
- package/Types/CustomField/CustomFieldRecordKinds.d.ts +25 -0
- package/Types/CustomField/CustomFieldRecordKinds.js +111 -0
- package/Types/CustomField/CustomFieldRecordKinds.mjs +6 -0
- package/Types/CustomField/CustomFieldType.d.mts +15 -1
- package/Types/CustomField/CustomFieldType.d.ts +15 -1
- package/Types/CustomField/CustomFieldType.js +14 -0
- package/Types/CustomField/CustomFieldValueFormat.d.mts +3 -2
- package/Types/CustomField/CustomFieldValueFormat.d.ts +3 -2
- package/Types/CustomField/CustomFieldValueFormat.js +8 -2
- package/Types/CustomField/CustomFieldValueMapping.js +31 -2
- package/Types/CustomField/CustomFieldValueValidator.js +41 -1
- package/Types/Dashboard/DashboardLanguage.d.mts +1 -0
- package/Types/Dashboard/DashboardLanguage.d.ts +1 -0
- package/Types/Dashboard/DashboardLanguage.js +7 -1
- package/Types/Dashboard/DashboardLanguage.mjs +1 -0
- package/Types/Dashboard/DashboardTemplateFallbackHints.d.mts +4 -0
- package/Types/Dashboard/DashboardTemplateFallbackHints.d.ts +4 -0
- package/Types/Dashboard/DashboardTemplateFallbackHints.js +42 -0
- package/Types/Dashboard/DashboardTemplateFallbackHints.mjs +4 -0
- package/Types/Dashboard/DashboardTemplates.js +34 -11
- package/Types/DataSecurity/ComplianceRequirementCatalog.js +4 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.d.mts +1 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.d.ts +1 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.js +53 -0
- package/Types/DataSecurity/DataSecurityIdentity.d.mts +27 -0
- package/Types/DataSecurity/DataSecurityIdentity.d.ts +27 -0
- package/Types/DataSecurity/DataSecurityIdentity.js +160 -0
- package/Types/DataSecurity/DataSecurityIdentity.mjs +14 -0
- package/Types/DataSecurity/DataSecurityResponseAction.d.mts +9 -1
- package/Types/DataSecurity/DataSecurityResponseAction.d.ts +9 -1
- package/Types/DataSecurity/DataSecurityResponseAction.js +113 -26
- package/Types/DataSecurity/DataSecurityResponseAction.mjs +2 -0
- package/Types/DataSecurity/DataStoreAccess.d.mts +7 -0
- package/Types/DataSecurity/DataStoreAccess.d.ts +7 -0
- package/Types/DataSecurity/DataStoreAccess.js +23 -1
- package/Types/DataSecurity/DataStoreAccess.mjs +2 -0
- package/Types/Date.d.mts +30 -1
- package/Types/Date.d.ts +30 -1
- package/Types/Date.js +173 -5
- package/Types/Email/EmailMessage.d.mts +1 -0
- package/Types/Email/EmailMessage.d.ts +1 -0
- package/Types/Episode/EpisodeMembersAdd.d.mts +2 -0
- package/Types/Episode/EpisodeMembersAdd.d.ts +2 -0
- package/Types/Episode/EpisodeMembersAdd.js +9 -1
- package/Types/Episode/EpisodeMembersAdd.mjs +2 -0
- package/Types/File/FileContentCheck.d.mts +13 -0
- package/Types/File/FileContentCheck.d.ts +13 -0
- package/Types/File/FileContentCheck.js +301 -0
- package/Types/File/FileContentCheck.mjs +4 -0
- package/Types/File/FileSize.d.mts +3 -0
- package/Types/File/FileSize.d.ts +3 -0
- package/Types/File/FileSize.js +30 -0
- package/Types/File/FileSize.mjs +3 -0
- package/Types/File/FileTypeIcon.d.mts +4 -0
- package/Types/File/FileTypeIcon.d.ts +4 -0
- package/Types/File/FileTypeIcon.js +26 -0
- package/Types/File/FileTypeIcon.mjs +3 -0
- package/Types/File/MimeTypeLabel.d.mts +3 -0
- package/Types/File/MimeTypeLabel.d.ts +3 -0
- package/Types/File/MimeTypeLabel.js +39 -0
- package/Types/File/MimeTypeLabel.mjs +3 -0
- package/Types/Form/FormCustomDomain.d.mts +19 -0
- package/Types/Form/FormCustomDomain.d.ts +19 -0
- package/Types/Form/FormCustomDomain.js +86 -0
- package/Types/Form/FormCustomDomain.mjs +13 -0
- package/Types/Form/FormField.js +6 -0
- package/Types/Form/FormFileAnswer.d.mts +34 -0
- package/Types/Form/FormFileAnswer.d.ts +34 -0
- package/Types/Form/FormFileAnswer.js +203 -0
- package/Types/Form/FormFileAnswer.mjs +10 -0
- package/Types/Form/FormPublic.d.mts +16 -1
- package/Types/Form/FormPublic.d.ts +16 -1
- package/Types/Form/FormPublic.js +184 -2
- package/Types/Form/FormPublic.mjs +5 -0
- package/Types/Form/FormSubmissionAnswer.js +29 -0
- package/Types/InstallScripts/InstallScripts.d.mts +28 -0
- package/Types/InstallScripts/InstallScripts.d.ts +28 -0
- package/Types/InstallScripts/InstallScripts.js +225 -0
- package/Types/InstallScripts/InstallScripts.mjs +11 -0
- package/Types/Kubernetes/KubernetesClusterProvider.d.mts +10 -0
- package/Types/Kubernetes/KubernetesClusterProvider.d.ts +10 -0
- package/Types/Kubernetes/KubernetesClusterProvider.js +95 -0
- package/Types/Kubernetes/KubernetesClusterProvider.mjs +8 -0
- package/Types/Kubernetes/KubernetesHealth.d.mts +92 -0
- package/Types/Kubernetes/KubernetesHealth.d.ts +92 -0
- package/Types/Kubernetes/KubernetesHealth.js +1273 -0
- package/Types/Kubernetes/KubernetesHealth.mjs +32 -0
- package/Types/Kubernetes/KubernetesInventoryExtractor.d.mts +2 -0
- package/Types/Kubernetes/KubernetesInventoryExtractor.d.ts +2 -0
- package/Types/Kubernetes/KubernetesInventoryExtractor.js +30 -16
- package/Types/Kubernetes/KubernetesObjectParser.d.mts +54 -0
- package/Types/Kubernetes/KubernetesObjectParser.d.ts +54 -0
- package/Types/Kubernetes/KubernetesObjectParser.js +228 -38
- package/Types/Kubernetes/KubernetesObjectParser.mjs +6 -0
- package/Types/Kubernetes/OpenShiftObjectAttributes.d.mts +20 -0
- package/Types/Kubernetes/OpenShiftObjectAttributes.d.ts +20 -0
- package/Types/Kubernetes/OpenShiftObjectAttributes.js +124 -0
- package/Types/Kubernetes/OpenShiftObjectAttributes.mjs +5 -0
- package/Types/Kubernetes/OpenShiftObjectParser.d.mts +140 -0
- package/Types/Kubernetes/OpenShiftObjectParser.d.ts +140 -0
- package/Types/Kubernetes/OpenShiftObjectParser.js +436 -0
- package/Types/Kubernetes/OpenShiftObjectParser.mjs +22 -0
- package/Types/Metrics/MetricQueryConfigData.d.mts +2 -0
- package/Types/Metrics/MetricQueryConfigData.d.ts +2 -0
- package/Types/Metrics/MetricQueryFallback.d.mts +10 -0
- package/Types/Metrics/MetricQueryFallback.d.ts +10 -0
- package/Types/Metrics/MetricQueryFallback.js +2 -0
- package/Types/Metrics/MetricQueryFallback.mjs +1 -0
- package/Types/Monitor/CephAlertTemplates.d.mts +2 -2
- package/Types/Monitor/CephAlertTemplates.d.ts +2 -2
- package/Types/Monitor/CephAlertTemplates.js +17 -14
- package/Types/Monitor/CephMetricCatalog.d.mts +2 -0
- package/Types/Monitor/CephMetricCatalog.d.ts +2 -0
- package/Types/Monitor/CephMetricCatalog.js +72 -29
- package/Types/Monitor/CephMetricCatalog.mjs +2 -0
- package/Types/Monitor/CriteriaFilter.d.mts +17 -0
- package/Types/Monitor/CriteriaFilter.d.ts +17 -0
- package/Types/Monitor/CriteriaFilter.js +23 -1
- package/Types/Monitor/CriteriaFilter.mjs +3 -0
- package/Types/Monitor/DockerAlertTemplates.d.mts +1 -0
- package/Types/Monitor/DockerAlertTemplates.d.ts +1 -0
- package/Types/Monitor/DockerAlertTemplates.js +63 -52
- package/Types/Monitor/DockerMetricCatalog.js +16 -0
- package/Types/Monitor/DockerSwarmAlertTemplates.d.mts +1 -0
- package/Types/Monitor/DockerSwarmAlertTemplates.d.ts +1 -0
- package/Types/Monitor/DockerSwarmAlertTemplates.js +13 -2
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.d.mts +34 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.d.ts +34 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.js +170 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.mjs +12 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorResponse.d.mts +17 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorResponse.d.ts +17 -0
- package/Types/Monitor/HostMetricCatalog.d.mts +2 -0
- package/Types/Monitor/HostMetricCatalog.d.ts +2 -0
- package/Types/Monitor/HostMetricCatalog.js +20 -11
- package/Types/Monitor/IotAlertTemplates.d.mts +1 -0
- package/Types/Monitor/IotAlertTemplates.d.ts +1 -0
- package/Types/Monitor/IotAlertTemplates.js +11 -7
- package/Types/Monitor/KubernetesAlertTemplates.d.mts +15 -12
- package/Types/Monitor/KubernetesAlertTemplates.d.ts +15 -12
- package/Types/Monitor/KubernetesAlertTemplates.js +393 -73
- package/Types/Monitor/KubernetesMetricCatalog.d.mts +2 -1
- package/Types/Monitor/KubernetesMetricCatalog.d.ts +2 -1
- package/Types/Monitor/KubernetesMetricCatalog.js +119 -1
- package/Types/Monitor/LogMonitor/LogMonitorResponse.d.mts +1 -0
- package/Types/Monitor/LogMonitor/LogMonitorResponse.d.ts +1 -0
- package/Types/Monitor/MetricMonitor/MetricCriteriaContext.d.mts +24 -1
- package/Types/Monitor/MetricMonitor/MetricCriteriaContext.d.ts +24 -1
- package/Types/Monitor/MetricMonitor/MetricMonitorResponse.d.mts +1 -0
- package/Types/Monitor/MetricMonitor/MetricMonitorResponse.d.ts +1 -0
- package/Types/Monitor/MonitorStepCephMonitor.d.mts +1 -0
- package/Types/Monitor/MonitorStepCephMonitor.d.ts +1 -0
- package/Types/Monitor/MonitorStepDockerMonitor.d.mts +1 -0
- package/Types/Monitor/MonitorStepDockerMonitor.d.ts +1 -0
- package/Types/Monitor/MonitorStepDockerSwarmMonitor.d.mts +10 -0
- package/Types/Monitor/MonitorStepDockerSwarmMonitor.d.ts +10 -0
- package/Types/Monitor/MonitorStepDockerSwarmMonitor.js +3 -1
- package/Types/Monitor/MonitorStepDockerSwarmMonitor.mjs +1 -0
- package/Types/Monitor/MonitorStepExceptionMonitor.d.mts +1 -0
- package/Types/Monitor/MonitorStepExceptionMonitor.d.ts +1 -0
- package/Types/Monitor/MonitorStepExceptionMonitor.js +13 -2
- package/Types/Monitor/MonitorStepHostMonitor.d.mts +1 -0
- package/Types/Monitor/MonitorStepHostMonitor.d.ts +1 -0
- package/Types/Monitor/MonitorStepIoTMonitor.d.mts +9 -0
- package/Types/Monitor/MonitorStepIoTMonitor.d.ts +9 -0
- package/Types/Monitor/MonitorStepIoTMonitor.js +21 -0
- package/Types/Monitor/MonitorStepKubernetesMonitor.d.mts +11 -1
- package/Types/Monitor/MonitorStepKubernetesMonitor.d.ts +11 -1
- package/Types/Monitor/MonitorStepKubernetesMonitor.js +15 -4
- package/Types/Monitor/MonitorStepKubernetesMonitor.mjs +2 -0
- package/Types/Monitor/MonitorStepPodmanMonitor.d.mts +1 -0
- package/Types/Monitor/MonitorStepPodmanMonitor.d.ts +1 -0
- package/Types/Monitor/MonitorStepProxmoxMonitor.d.mts +5 -3
- package/Types/Monitor/MonitorStepProxmoxMonitor.d.ts +5 -3
- package/Types/Monitor/MonitorStepProxmoxMonitor.js +1 -1
- package/Types/Monitor/MonitorStepStorageArrayMonitor.d.mts +1 -0
- package/Types/Monitor/MonitorStepStorageArrayMonitor.d.ts +1 -0
- package/Types/Monitor/MonitorStepVMwareMonitor.d.mts +1 -0
- package/Types/Monitor/MonitorStepVMwareMonitor.d.ts +1 -0
- package/Types/Monitor/OpenShiftAlertTemplates.d.mts +29 -0
- package/Types/Monitor/OpenShiftAlertTemplates.d.ts +29 -0
- package/Types/Monitor/OpenShiftAlertTemplates.js +220 -0
- package/Types/Monitor/OpenShiftAlertTemplates.mjs +9 -0
- package/Types/Monitor/PodmanAlertTemplates.d.mts +1 -10
- package/Types/Monitor/PodmanAlertTemplates.d.ts +1 -10
- package/Types/Monitor/PodmanAlertTemplates.js +40 -85
- package/Types/Monitor/PodmanAlertTemplates.mjs +0 -1
- package/Types/Monitor/PodmanMetricCatalog.js +16 -0
- package/Types/Monitor/ProxmoxAlertTemplates.d.mts +1 -0
- package/Types/Monitor/ProxmoxAlertTemplates.d.ts +1 -0
- package/Types/Monitor/ProxmoxAlertTemplates.js +190 -4
- package/Types/Monitor/ProxmoxAlertTemplates.mjs +1 -0
- package/Types/Monitor/ProxmoxMetricCatalog.js +43 -22
- package/Types/Monitor/ProxmoxNotificationAlertTemplates.d.mts +24 -0
- package/Types/Monitor/ProxmoxNotificationAlertTemplates.d.ts +24 -0
- package/Types/Monitor/ProxmoxNotificationAlertTemplates.js +251 -0
- package/Types/Monitor/ProxmoxNotificationAlertTemplates.mjs +12 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.js +71 -3
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.mts +1 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.ts +1 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationUtil.js +23 -7
- package/Types/Monitor/ServiceAlertTemplates.js +111 -3
- package/Types/Monitor/SnmpMonitor/NetworkTopology.d.mts +9 -0
- package/Types/Monitor/SnmpMonitor/NetworkTopology.d.ts +9 -0
- package/Types/Monitor/SnmpMonitor/SnmpHardwareIdentity.d.mts +5 -0
- package/Types/Monitor/SnmpMonitor/SnmpHardwareIdentity.d.ts +5 -0
- package/Types/Monitor/SnmpMonitor/SnmpHardwareIdentity.js +2 -0
- package/Types/Monitor/SnmpMonitor/SnmpHardwareIdentity.mjs +1 -0
- package/Types/Monitor/SnmpMonitor/SnmpVendorIdentity.d.mts +27 -0
- package/Types/Monitor/SnmpMonitor/SnmpVendorIdentity.d.ts +27 -0
- package/Types/Monitor/SnmpMonitor/SnmpVendorIdentity.js +97 -0
- package/Types/Monitor/SnmpMonitor/SnmpVendorIdentity.mjs +4 -0
- package/Types/Monitor/StorageArrayAlertTemplates.d.mts +1 -0
- package/Types/Monitor/StorageArrayAlertTemplates.d.ts +1 -0
- package/Types/Monitor/StorageArrayAlertTemplates.js +8 -1
- package/Types/Monitor/StorageArrayMetricCatalog.js +10 -1
- package/Types/Monitor/TelemetryAlertRule.d.mts +8 -1
- package/Types/Monitor/TelemetryAlertRule.d.ts +8 -1
- package/Types/Monitor/TelemetryAlertRule.js +62 -35
- package/Types/Monitor/TraceMonitor/TraceMonitorResponse.d.mts +1 -0
- package/Types/Monitor/TraceMonitor/TraceMonitorResponse.d.ts +1 -0
- package/Types/Monitor/VMwareAlertTemplates.d.mts +1 -0
- package/Types/Monitor/VMwareAlertTemplates.d.ts +1 -0
- package/Types/Monitor/VMwareAlertTemplates.js +41 -19
- package/Types/NetFlow/NetworkTrafficUsage.d.mts +40 -1
- package/Types/NetFlow/NetworkTrafficUsage.d.ts +40 -1
- package/Types/NetFlow/NetworkTrafficUsage.js +58 -6
- package/Types/NetFlow/NetworkTrafficUsage.mjs +1 -0
- package/Types/NetworkController/NetworkControllerProvider.d.mts +1 -0
- package/Types/NetworkController/NetworkControllerProvider.d.ts +1 -0
- package/Types/NetworkController/NetworkControllerProvider.js +8 -0
- package/Types/NetworkController/NetworkControllerProvider.mjs +1 -0
- package/Types/NetworkController/NetworkControllerReadSummary.d.mts +3 -0
- package/Types/NetworkController/NetworkControllerReadSummary.d.ts +3 -0
- package/Types/NetworkController/NetworkControllerReadSummary.js +7 -1
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.d.mts +49 -2
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.d.ts +49 -2
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.js +252 -17
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.mjs +7 -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 +8 -0
- package/Types/Permission.d.mts +5 -0
- package/Types/Permission.d.ts +5 -0
- package/Types/Permission.js +59 -1
- package/Types/PrivateRecord/PrivateRecordHeld.d.mts +18 -0
- package/Types/PrivateRecord/PrivateRecordHeld.d.ts +18 -0
- package/Types/PrivateRecord/PrivateRecordHeld.js +101 -0
- package/Types/PrivateRecord/PrivateRecordHeld.mjs +2 -0
- package/Types/PrivateRecord/PrivateRecordParts.d.mts +14 -0
- package/Types/PrivateRecord/PrivateRecordParts.d.ts +14 -0
- package/Types/PrivateRecord/PrivateRecordParts.js +95 -0
- package/Types/PrivateRecord/PrivateRecordParts.mjs +4 -0
- package/Types/ReaderLanguage.d.mts +11 -0
- package/Types/ReaderLanguage.d.ts +11 -0
- package/Types/ReaderLanguage.js +173 -0
- package/Types/ReaderLanguage.mjs +12 -0
- package/Types/ReadingDirection.d.mts +4 -0
- package/Types/ReadingDirection.d.ts +4 -0
- package/Types/ReadingDirection.js +52 -1
- package/Types/ReadingDirection.mjs +4 -0
- package/Types/Rules/RuleCriteriaSubject.d.mts +3 -1
- package/Types/Rules/RuleCriteriaSubject.d.ts +3 -1
- package/Types/Rules/RuleCriteriaSubject.js +16 -1
- package/Types/Rules/RuleCriteriaSubject.mjs +1 -0
- package/Types/Rules/RuleRun.d.mts +5 -1
- package/Types/Rules/RuleRun.d.ts +5 -1
- package/Types/Rules/RuleRun.js +10 -2
- package/Types/Rum/SessionReplay.d.mts +1 -0
- package/Types/Rum/SessionReplay.d.ts +1 -0
- package/Types/Rum/SessionReplay.js +4 -2
- package/Types/Rum/SessionReplay.mjs +1 -0
- package/Types/Rum/UserFlow.d.mts +11 -0
- package/Types/Rum/UserFlow.d.ts +11 -0
- package/Types/Rum/UserFlow.js +27 -12
- package/Types/SecurityCase/SecurityCaseContext.d.mts +33 -1
- package/Types/SecurityCase/SecurityCaseContext.d.ts +33 -1
- package/Types/SecurityCase/SecurityCaseContext.js +6 -1
- package/Types/SecurityCase/SecurityCaseContext.mjs +2 -0
- package/Types/SecurityEvent/RealTimeDetection.d.mts +13 -0
- package/Types/SecurityEvent/RealTimeDetection.d.ts +13 -0
- package/Types/SecurityEvent/RealTimeDetection.js +60 -0
- package/Types/SecurityEvent/RealTimeDetection.mjs +8 -0
- package/Types/SecurityPlaybook/SecurityPlaybookAction.d.mts +7 -0
- package/Types/SecurityPlaybook/SecurityPlaybookAction.d.ts +7 -0
- package/Types/SecurityPlaybook/SecurityPlaybookAction.js +80 -3
- package/Types/SecurityPlaybook/SecurityPlaybookStep.d.mts +15 -1
- package/Types/SecurityPlaybook/SecurityPlaybookStep.d.ts +15 -1
- package/Types/SecurityPlaybook/SecurityPlaybookStep.js +112 -3
- package/Types/SecurityPlaybook/SecurityPlaybookStep.mjs +5 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.d.mts +44 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.d.ts +44 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.js +188 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.mjs +9 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStepResult.d.mts +1 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStepResult.d.ts +1 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStepResult.js +1 -0
- package/Types/SecurityPlaybook/SecurityPlaybookTemplates.d.mts +2 -0
- package/Types/SecurityPlaybook/SecurityPlaybookTemplates.d.ts +2 -0
- package/Types/SecurityPlaybook/SecurityPlaybookTemplates.js +67 -16
- package/Types/SecurityPlaybook/SecurityPlaybookTemplates.mjs +2 -0
- package/Types/StatusPage/DefaultStatusNames.d.mts +4 -0
- package/Types/StatusPage/DefaultStatusNames.d.ts +4 -0
- package/Types/StatusPage/DefaultStatusNames.js +50 -0
- package/Types/StatusPage/DefaultStatusNames.mjs +4 -0
- package/Types/StatusPage/StateChangeNoteMessage.d.mts +18 -1
- package/Types/StatusPage/StateChangeNoteMessage.d.ts +18 -1
- package/Types/StatusPage/StateChangeNoteMessage.js +60 -9
- package/Types/StatusPage/StateChangeNoteMessage.mjs +1 -0
- package/Types/StatusPage/StatusPageLanguage.d.mts +2 -0
- package/Types/StatusPage/StatusPageLanguage.d.ts +2 -0
- package/Types/StatusPage/StatusPageLanguage.js +10 -1
- package/Types/StatusPage/StatusPageLanguage.mjs +2 -0
- package/Types/Telemetry/ExceptionFingerprintLookup.d.mts +9 -0
- package/Types/Telemetry/ExceptionFingerprintLookup.d.ts +9 -0
- package/Types/Telemetry/ExceptionFingerprintLookup.js +55 -0
- package/Types/Telemetry/ExceptionFingerprintLookup.mjs +4 -0
- package/Types/Telemetry/ExceptionGroupFingerprints.d.mts +10 -0
- package/Types/Telemetry/ExceptionGroupFingerprints.d.ts +10 -0
- package/Types/Telemetry/ExceptionGroupFingerprints.js +114 -0
- package/Types/Telemetry/ExceptionGroupFingerprints.mjs +6 -0
- package/Types/Telemetry/ExceptionListStats.d.mts +19 -0
- package/Types/Telemetry/ExceptionListStats.d.ts +19 -0
- package/Types/Telemetry/ExceptionListStats.js +122 -0
- package/Types/Telemetry/ExceptionListStats.mjs +9 -0
- package/Types/Telemetry/ExceptionSpanScope.d.mts +3 -0
- package/Types/Telemetry/ExceptionSpanScope.d.ts +3 -0
- package/Types/Telemetry/ExceptionSpanScope.js +39 -3
- package/Types/Telemetry/ExceptionSpanScope.mjs +2 -0
- package/Types/Telemetry/SimilarExceptions.d.mts +33 -0
- package/Types/Telemetry/SimilarExceptions.d.ts +33 -0
- package/Types/Telemetry/SimilarExceptions.js +109 -0
- package/Types/Telemetry/SimilarExceptions.mjs +10 -0
- package/Types/Telemetry/TelemetrySavedViewState.d.mts +4 -0
- package/Types/Telemetry/TelemetrySavedViewState.d.ts +4 -0
- package/Types/Telemetry/TraceSpanType.d.mts +1 -0
- package/Types/Telemetry/TraceSpanType.d.ts +1 -0
- package/Types/Telemetry/TraceSpanType.js +17 -3
- package/Types/Telemetry/TraceSpanType.mjs +1 -0
- package/Types/Theme/ThemePreference.js +2 -1
- package/Types/Translator.d.mts +77 -0
- package/Types/Translator.d.ts +77 -0
- package/Types/Translator.js +582 -0
- package/Types/Translator.mjs +18 -0
- package/Types/VideoCall/VideoCallProvider.js +6 -3
- package/Types/Workflow/ComponentID.d.mts +5 -0
- package/Types/Workflow/ComponentID.d.ts +5 -0
- package/Types/Workflow/ComponentID.js +12 -0
- package/Types/Workflow/Components/API.js +91 -0
- package/Types/Workflow/Components/ApiGetById.d.mts +16 -0
- package/Types/Workflow/Components/ApiGetById.d.ts +16 -0
- package/Types/Workflow/Components/ApiGetById.js +69 -0
- package/Types/Workflow/Components/ApiGetById.mjs +4 -0
- package/Types/Workflow/Components/FromAnotherTool.d.mts +94 -0
- package/Types/Workflow/Components/FromAnotherTool.d.ts +94 -0
- package/Types/Workflow/Components/FromAnotherTool.js +541 -0
- package/Types/Workflow/Components/FromAnotherTool.mjs +23 -0
- package/Types/Workflow/Components/JavaScriptCheck.d.mts +16 -0
- package/Types/Workflow/Components/JavaScriptCheck.d.ts +16 -0
- package/Types/Workflow/Components/JavaScriptCheck.js +145 -0
- package/Types/Workflow/Components/JavaScriptCheck.mjs +5 -0
- package/Types/Workflow/Components/Zabbix.d.mts +62 -0
- package/Types/Workflow/Components/Zabbix.d.ts +62 -0
- package/Types/Workflow/Components/Zabbix.js +343 -0
- package/Types/Workflow/Components/Zabbix.mjs +17 -0
- package/Types/Workflow/Components.js +21 -0
- package/Types/Workflow/Documentation/APIDocumentation.d.mts +1 -0
- package/Types/Workflow/Documentation/APIDocumentation.d.ts +1 -0
- package/Types/Workflow/Documentation/APIDocumentation.js +48 -1
- package/Types/Workflow/Documentation/APIDocumentation.mjs +1 -0
- package/Types/Workflow/Documentation/DocumentationContext.js +2 -0
- package/Types/Workflow/Documentation/DocumentationLinks.d.mts +3 -0
- package/Types/Workflow/Documentation/DocumentationLinks.d.ts +3 -0
- package/Types/Workflow/Documentation/DocumentationLinks.js +3 -0
- package/Types/Workflow/Documentation/FromAnotherToolDocumentation.d.mts +5 -0
- package/Types/Workflow/Documentation/FromAnotherToolDocumentation.d.ts +5 -0
- package/Types/Workflow/Documentation/FromAnotherToolDocumentation.js +89 -0
- package/Types/Workflow/Documentation/FromAnotherToolDocumentation.mjs +3 -0
- package/Types/Workflow/Documentation/Index.js +7 -0
- package/Types/Workflow/Documentation/UtilityDocumentation.d.mts +1 -0
- package/Types/Workflow/Documentation/UtilityDocumentation.d.ts +1 -0
- package/Types/Workflow/Documentation/UtilityDocumentation.js +40 -1
- package/Types/Workflow/Documentation/UtilityDocumentation.mjs +1 -0
- package/Types/Workflow/Documentation/ZabbixDocumentation.d.mts +4 -0
- package/Types/Workflow/Documentation/ZabbixDocumentation.d.ts +4 -0
- package/Types/Workflow/Documentation/ZabbixDocumentation.js +67 -0
- package/Types/Workflow/Documentation/ZabbixDocumentation.mjs +2 -0
- package/Types/Workflow/TemplateLayout.d.mts +44 -0
- package/Types/Workflow/TemplateLayout.d.ts +44 -0
- package/Types/Workflow/TemplateLayout.js +125 -0
- package/Types/Workflow/TemplateLayout.mjs +7 -0
- package/Types/Workflow/Templates.d.mts +42 -12
- package/Types/Workflow/Templates.d.ts +42 -12
- package/Types/Workflow/Templates.js +2046 -6220
- package/Types/Workflow/Templates.mjs +1 -0
- package/Types/Workflow/UnhandledStepFailure.d.mts +15 -0
- package/Types/Workflow/UnhandledStepFailure.d.ts +15 -0
- package/Types/Workflow/UnhandledStepFailure.js +68 -0
- package/Types/Workflow/UnhandledStepFailure.mjs +5 -0
- package/Types/Workspace/MicrosoftTeamsCloud.d.mts +26 -0
- package/Types/Workspace/MicrosoftTeamsCloud.d.ts +26 -0
- package/Types/Workspace/MicrosoftTeamsCloud.js +214 -0
- package/Types/Workspace/MicrosoftTeamsCloud.mjs +4 -0
- package/Types/Workspace/WorkspaceChannelLink.d.mts +1 -0
- package/Types/Workspace/WorkspaceChannelLink.d.ts +1 -0
- package/Types/Workspace/WorkspaceChannelLink.js +45 -6
- package/UI/Utils/TranslateTemplate.d.mts +3 -68
- package/UI/Utils/TranslateTemplate.d.ts +3 -68
- package/Utils/AI/InvestigationReport.d.mts +9 -0
- package/Utils/AI/InvestigationReport.d.ts +9 -0
- package/Utils/AI/InvestigationReport.js +122 -10
- package/Utils/AI/InvestigationReport.mjs +3 -0
- package/Utils/AiRemediation/CloudChangeWords.d.mts +32 -0
- package/Utils/AiRemediation/CloudChangeWords.d.ts +32 -0
- package/Utils/AiRemediation/CloudChangeWords.js +242 -0
- package/Utils/AiRemediation/CloudChangeWords.mjs +8 -0
- package/Utils/AiRemediation/RemediationChangeKey.d.mts +2 -0
- package/Utils/AiRemediation/RemediationChangeKey.d.ts +2 -0
- package/Utils/AiRemediation/RemediationChangeKey.js +132 -0
- package/Utils/AiRemediation/RemediationChangeKey.mjs +2 -0
- package/Utils/Dashboard/DashboardBoardLayout.d.mts +46 -0
- package/Utils/Dashboard/DashboardBoardLayout.d.ts +46 -0
- package/Utils/Dashboard/DashboardBoardLayout.js +238 -0
- package/Utils/Dashboard/DashboardBoardLayout.mjs +11 -0
- package/Utils/Dashboard/ValueWidgetLayout.js +9 -1
- package/Utils/Dashboard/VariableInterpolation.d.mts +1 -0
- package/Utils/Dashboard/VariableInterpolation.d.ts +1 -0
- package/Utils/Dashboard/VariableInterpolation.js +19 -0
- package/Utils/DataSecurity/FieldClassifier.d.mts +2 -0
- package/Utils/DataSecurity/FieldClassifier.d.ts +2 -0
- package/Utils/DataSecurity/UnplacedFields.d.mts +35 -0
- package/Utils/DataSecurity/UnplacedFields.d.ts +35 -0
- package/Utils/DataSecurity/UnplacedFields.js +407 -0
- package/Utils/DataSecurity/UnplacedFields.mjs +19 -0
- package/Utils/Exceptions/ExceptionActivity.d.mts +22 -0
- package/Utils/Exceptions/ExceptionActivity.d.ts +22 -0
- package/Utils/Exceptions/ExceptionActivity.js +141 -0
- package/Utils/Exceptions/ExceptionActivity.mjs +6 -0
- package/Utils/Exceptions/ExceptionUserId.d.mts +8 -0
- package/Utils/Exceptions/ExceptionUserId.d.ts +8 -0
- package/Utils/Exceptions/ExceptionUserId.js +79 -0
- package/Utils/Exceptions/ExceptionUserId.mjs +6 -0
- package/Utils/Inventory/InventoryAssetDetails.d.mts +7 -0
- package/Utils/Inventory/InventoryAssetDetails.d.ts +7 -0
- package/Utils/Inventory/InventoryAssetDetails.js +70 -1
- package/Utils/Inventory/InventoryAssetDetails.mjs +1 -0
- package/Utils/Metrics/MetricQueryFallback.d.mts +24 -0
- package/Utils/Metrics/MetricQueryFallback.d.ts +24 -0
- package/Utils/Metrics/MetricQueryFallback.js +208 -0
- package/Utils/Metrics/MetricQueryFallback.mjs +2 -0
- package/Utils/Monitor/EndpointAttachmentUtil.d.mts +15 -2
- package/Utils/Monitor/EndpointAttachmentUtil.d.ts +15 -2
- package/Utils/Monitor/EndpointAttachmentUtil.js +83 -1
- package/Utils/Monitor/EndpointAttachmentUtil.mjs +1 -0
- package/Utils/Monitor/NeighborIdentityUtil.d.mts +15 -0
- package/Utils/Monitor/NeighborIdentityUtil.d.ts +15 -0
- package/Utils/Monitor/NeighborIdentityUtil.js +58 -0
- package/Utils/Monitor/NeighborIdentityUtil.mjs +3 -0
- package/Utils/Monitor/NetworkTopologyUtil.d.mts +13 -0
- package/Utils/Monitor/NetworkTopologyUtil.d.ts +13 -0
- package/Utils/Monitor/NetworkTopologyUtil.js +293 -70
- package/Utils/NetworkDevice/DeviceOwnMacUtil.d.mts +20 -0
- package/Utils/NetworkDevice/DeviceOwnMacUtil.d.ts +20 -0
- package/Utils/NetworkDevice/DeviceOwnMacUtil.js +81 -0
- package/Utils/NetworkDevice/DeviceOwnMacUtil.mjs +4 -0
- package/Utils/NetworkDevice/DeviceWebUiUtil.d.mts +20 -0
- package/Utils/NetworkDevice/DeviceWebUiUtil.d.ts +20 -0
- package/Utils/NetworkDevice/DeviceWebUiUtil.js +139 -0
- package/Utils/NetworkDevice/DeviceWebUiUtil.mjs +4 -0
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.d.mts +1 -0
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.d.ts +1 -0
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.js +64 -6
- package/Utils/NetworkDevice/SystemDescriptionUtil.d.mts +10 -0
- package/Utils/NetworkDevice/SystemDescriptionUtil.d.ts +10 -0
- package/Utils/NetworkDevice/SystemDescriptionUtil.js +69 -5
- package/Utils/NetworkDevice/SystemDescriptionUtil.mjs +2 -0
- package/Utils/NetworkDiscovery/DiscoveredDetailsPlan.d.mts +1 -0
- package/Utils/NetworkDiscovery/DiscoveredDetailsPlan.d.ts +1 -0
- package/Utils/NetworkDiscovery/DiscoveredDetailsPlan.js +19 -6
- package/Utils/NetworkDiscovery/DiscoveredHostUtil.d.mts +1 -1
- package/Utils/NetworkDiscovery/DiscoveredHostUtil.d.ts +1 -1
- package/Utils/NetworkDiscovery/DiscoveredHostUtil.js +18 -1
- package/Utils/Proxmox/ProxmoxNotifications.d.mts +62 -0
- package/Utils/Proxmox/ProxmoxNotifications.d.ts +62 -0
- package/Utils/Proxmox/ProxmoxNotifications.js +458 -0
- package/Utils/Proxmox/ProxmoxNotifications.mjs +20 -0
- package/Utils/Rules/RuleRunSummary.d.mts +6 -3
- package/Utils/Rules/RuleRunSummary.d.ts +6 -3
- package/Utils/Rules/RuleRunSummary.js +11 -7
- package/Utils/Rum/UserFlow.d.mts +20 -0
- package/Utils/Rum/UserFlow.d.ts +20 -0
- package/Utils/Rum/UserFlow.js +41 -3
- package/Utils/Rum/UserFlow.mjs +1 -0
- package/Utils/Schema/MonitorSchemas.js +2 -0
- package/Utils/Sms/Gsm7Text.d.mts +3 -0
- package/Utils/Sms/Gsm7Text.d.ts +3 -0
- package/Utils/Sms/Gsm7Text.js +109 -8
- package/Utils/Sms/Gsm7Text.mjs +3 -0
- package/Utils/Sms/SubscriberSms.js +9 -1
- package/Utils/Telemetry/ChangeEventFields.d.mts +11 -0
- package/Utils/Telemetry/ChangeEventFields.d.ts +11 -0
- package/Utils/Telemetry/ChangeEventFields.js +33 -3
- package/Utils/Telemetry/CloudAppRevisionName.d.mts +4 -0
- package/Utils/Telemetry/CloudAppRevisionName.d.ts +4 -0
- package/Utils/Telemetry/CloudAppRevisionName.js +27 -0
- package/Utils/Telemetry/CloudAppRevisionName.mjs +2 -0
- package/Utils/Telemetry/CloudInstanceIdentity.d.mts +1 -0
- package/Utils/Telemetry/CloudInstanceIdentity.d.ts +1 -0
- package/Utils/Telemetry/CloudInstanceIdentity.js +10 -0
- package/Utils/Telemetry/CloudInstanceIdentity.mjs +1 -0
- package/package.json +1 -1
|
@@ -238,9 +238,11 @@ function buildKubernetesRatioMonitorConfig(args) {
|
|
|
238
238
|
}
|
|
239
239
|
/**
|
|
240
240
|
* Several queries over the SAME object, and the formulas over them that the
|
|
241
|
-
* criteria compare: a
|
|
242
|
-
* (CrashLoopBackOff
|
|
243
|
-
*
|
|
241
|
+
* criteria compare: a count next to the gauge that qualifies it
|
|
242
|
+
* (CrashLoopBackOff: the restarts the agent sends with each sample, and
|
|
243
|
+
* readiness), a titled count of its own (Job Failures: the failed pods the
|
|
244
|
+
* agent sends with each sample), or two derived values that must both hold
|
|
245
|
+
* (an HPA at its ceiling AND above its floor).
|
|
244
246
|
*
|
|
245
247
|
* Every query carries the same group-by key set, which is what lines the
|
|
246
248
|
* series up (see buildKubernetesRatioMonitorConfig: a key only one query
|
|
@@ -248,15 +250,14 @@ function buildKubernetesRatioMonitorConfig(args) {
|
|
|
248
250
|
* against an empty operand), so pass only keys every metric's receiver
|
|
249
251
|
* stamps itself.
|
|
250
252
|
*
|
|
251
|
-
* A counter's growth is
|
|
252
|
-
* a Max and a Min query over
|
|
253
|
-
* subtracting them
|
|
254
|
-
* criteria with `EvaluateOverTimeType.Sum` totals those across the window.
|
|
255
|
-
* The monitor path has no cross-bucket rate, so this sees only growth
|
|
253
|
+
* A counter's growth is NOT taken here. The monitor path has no cross-bucket
|
|
254
|
+
* rate, so a Max and a Min query over a lifetime counter and a formula
|
|
255
|
+
* subtracting them (buildDockerDeltaMonitorConfig) see only its growth
|
|
256
256
|
* between two samples of the SAME minute: at the agent's 30-second
|
|
257
|
-
* collection interval, about half of the real increments
|
|
258
|
-
*
|
|
259
|
-
*
|
|
257
|
+
* collection interval, about half of the real increments. The Kubernetes
|
|
258
|
+
* templates that count restarts or failures read the increase the agent
|
|
259
|
+
* sends with every sample instead (the chart's restarts-increase and
|
|
260
|
+
* job-failures-increase processors), summed over the window.
|
|
260
261
|
*/
|
|
261
262
|
function buildKubernetesMultiQueryMonitorConfig(args) {
|
|
262
263
|
return {
|
|
@@ -265,12 +266,13 @@ function buildKubernetesMultiQueryMonitorConfig(args) {
|
|
|
265
266
|
resourceFilters: {},
|
|
266
267
|
metricViewConfig: {
|
|
267
268
|
queryConfigs: args.queries.map((query) => {
|
|
269
|
+
const title = query.title || query.alias;
|
|
268
270
|
return {
|
|
269
271
|
metricAliasData: {
|
|
270
272
|
metricVariable: query.alias,
|
|
271
|
-
title:
|
|
272
|
-
description:
|
|
273
|
-
legend:
|
|
273
|
+
title: title,
|
|
274
|
+
description: title,
|
|
275
|
+
legend: title,
|
|
274
276
|
// Unset, so MetricResultUnitConverter passes the raw value through.
|
|
275
277
|
legendUnit: undefined,
|
|
276
278
|
},
|
|
@@ -345,6 +347,37 @@ const clusterStoppedReportingTemplate = {
|
|
|
345
347
|
})));
|
|
346
348
|
},
|
|
347
349
|
};
|
|
350
|
+
/*
|
|
351
|
+
* The id stays "k8s-crashloopbackoff": it is the stable key the
|
|
352
|
+
* recommendation catalog and the already-created-monitor diff match on.
|
|
353
|
+
*
|
|
354
|
+
* It used to read the growth of k8s.container.restarts (the container
|
|
355
|
+
* status' restartCount) between two samples of the same minute: a Max and
|
|
356
|
+
* a Min query per minute and a formula subtracting them. At the agent's
|
|
357
|
+
* 30-second interval a restart between the last sample of one minute and
|
|
358
|
+
* the first of the next was never counted - about half of a crash loop,
|
|
359
|
+
* so a loop restarting every few minutes could go unseen for a whole
|
|
360
|
+
* window, and a single restart had even odds - and a pod recreated under
|
|
361
|
+
* the same name (a StatefulSet's) read its old count against the new
|
|
362
|
+
* one's 0 as that many restarts in one minute. The alerting path cannot
|
|
363
|
+
* difference values across minutes (no rate or delta in AggregationType or
|
|
364
|
+
* EvaluateOverTimeType, and formulas are evaluated point by point), so the
|
|
365
|
+
* agent does it: its metrics/restarts-increase pipeline sends
|
|
366
|
+
* k8s.container.restarts.increase with every sample, the restarts since
|
|
367
|
+
* its previous sample of the same pod and container, however far back
|
|
368
|
+
* that was (HelmChart/Public/kubernetes-agent/templates/
|
|
369
|
+
* configmap-deployment.yaml, transform/restarts-increase). Summed per
|
|
370
|
+
* minute and over the window, that is every restart in the window. The
|
|
371
|
+
* k8s_cluster receiver reports every container of every pod at each
|
|
372
|
+
* interval, a container waiting in its back-off included, so a crash loop
|
|
373
|
+
* is sampled between its runs too.
|
|
374
|
+
*
|
|
375
|
+
* A cluster whose agent predates k8s.container.restarts.increase sends
|
|
376
|
+
* nothing the restart query reads, so the template never fires there, and
|
|
377
|
+
* the docs tell it to upgrade the agent. That is also why monitors made
|
|
378
|
+
* from the old query are left as they are rather than rewritten to this
|
|
379
|
+
* one: against an older agent the rewrite would stop alerting.
|
|
380
|
+
*/
|
|
348
381
|
const crashLoopBackOffTemplate = {
|
|
349
382
|
id: "k8s-crashloopbackoff",
|
|
350
383
|
name: "CrashLoopBackOff Detection",
|
|
@@ -355,7 +388,7 @@ const crashLoopBackOffTemplate = {
|
|
|
355
388
|
* (KubernetesTemplatePicker.tsx renders `{template.description}` inside a
|
|
356
389
|
* <p>, not markdown), so a code span would show up as literal backticks.
|
|
357
390
|
*/
|
|
358
|
-
description: "Alert when a container restarts within fifteen minutes and was ready for less than half of them: the kubelet keeps restarting a container that keeps crashing, with a growing back-off, and it is not ready in between. Reads
|
|
391
|
+
description: "Alert when a container restarts within fifteen minutes and was ready for less than half of them: the kubelet keeps restarting a container that keeps crashing, with a growing back-off, and it is not ready in between. Reads k8s.container.restarts.increase, the restarts since the agent's previous sample of the container, so every restart counts however far apart the samples are, and the average of k8s.container.ready. A recreated pod starts a new count and is not a restart. An older Kubernetes agent does not send the increase: upgrade the agent first. One incident per container.",
|
|
359
392
|
category: "Workload",
|
|
360
393
|
severity: "Critical",
|
|
361
394
|
getMonitorStep: (args) => {
|
|
@@ -376,27 +409,28 @@ const crashLoopBackOffTemplate = {
|
|
|
376
409
|
* collects neither by default (kubeStateMetrics.enabled is false,
|
|
377
410
|
* and the k8s_cluster receiver runs with its default metrics).
|
|
378
411
|
*
|
|
379
|
-
* So the template reads what the agent always sends: the
|
|
380
|
-
*
|
|
381
|
-
*
|
|
382
|
-
*
|
|
383
|
-
*
|
|
384
|
-
*
|
|
385
|
-
*
|
|
386
|
-
* restarts.
|
|
412
|
+
* So the template reads what the agent always sends: the restarts it
|
|
413
|
+
* sends with each sample, summed over the window - a container
|
|
414
|
+
* restarting now - qualified by k8s.container.ready, so a one-off
|
|
415
|
+
* restart (an OOM kill, a node drain's replacement) of a container
|
|
416
|
+
* that came straight back and stayed ready does not page as a crash
|
|
417
|
+
* loop. A crash-looping container sits in its back-off, not ready,
|
|
418
|
+
* between restarts.
|
|
387
419
|
*/
|
|
388
420
|
kubernetesMonitor: buildKubernetesMultiQueryMonitorConfig({
|
|
389
421
|
clusterIdentifier: args.clusterIdentifier,
|
|
390
422
|
queries: [
|
|
391
423
|
{
|
|
392
|
-
alias:
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
424
|
+
alias: metricAlias,
|
|
425
|
+
title: "Container Restarts",
|
|
426
|
+
metricName: "k8s.container.restarts.increase",
|
|
427
|
+
/*
|
|
428
|
+
* Sum WITHIN each container's series: the restarts in each
|
|
429
|
+
* minute. A minute with no sample of the container has no row,
|
|
430
|
+
* not a zero, and the increase a later sample sends still
|
|
431
|
+
* counts its restarts.
|
|
432
|
+
*/
|
|
433
|
+
aggregationType: MetricsAggregationType_1.default.Sum,
|
|
400
434
|
},
|
|
401
435
|
{
|
|
402
436
|
alias: readyAlias,
|
|
@@ -405,19 +439,21 @@ const crashLoopBackOffTemplate = {
|
|
|
405
439
|
aggregationType: MetricsAggregationType_1.default.Avg,
|
|
406
440
|
},
|
|
407
441
|
],
|
|
408
|
-
formulas: [
|
|
409
|
-
{
|
|
410
|
-
alias: metricAlias,
|
|
411
|
-
legend: "Container Restarts (in window)",
|
|
412
|
-
formula: "container_restarts_max - container_restarts_min",
|
|
413
|
-
legendUnit: "",
|
|
414
|
-
},
|
|
415
|
-
],
|
|
442
|
+
formulas: [],
|
|
416
443
|
/*
|
|
417
444
|
* Per container: a crash-looping container must page on its own
|
|
418
445
|
* rather than dedupe behind whichever one in the cluster crashed
|
|
419
446
|
* first. Both metrics come from the k8s_cluster receiver, which
|
|
420
|
-
* stamps all three keys itself
|
|
447
|
+
* stamps all three keys itself (the restarts pipeline takes only
|
|
448
|
+
* container.id off), so the queries line up.
|
|
449
|
+
*
|
|
450
|
+
* Both also carry the pod's workload names, from the same
|
|
451
|
+
* k8sattributes in the agent's metrics pipeline: the restarts
|
|
452
|
+
* pipeline hands the increase to it once it is made. So a Workload
|
|
453
|
+
* scope (a Deployment's name, say) filters both queries alike, and
|
|
454
|
+
* the alert names the workload its container belongs to. An agent
|
|
455
|
+
* from before that sends the increase without them, and a scoped
|
|
456
|
+
* monitor reads no restart from it.
|
|
421
457
|
*/
|
|
422
458
|
groupByAttributeKeys: [
|
|
423
459
|
"resource.k8s.namespace.name",
|
|
@@ -428,10 +464,10 @@ const crashLoopBackOffTemplate = {
|
|
|
428
464
|
/*
|
|
429
465
|
* Fifteen minutes: a crash loop's back-off doubles from 10 seconds
|
|
430
466
|
* to its 5-minute cap, so even a loop at the cap restarts three
|
|
431
|
-
* times in the window, and
|
|
432
|
-
*
|
|
433
|
-
*
|
|
434
|
-
*
|
|
467
|
+
* times in the window, and every one of them is counted. A longer
|
|
468
|
+
* window would hold more of them, but every query reads at most
|
|
469
|
+
* 10,000 rows (LIMIT_PER_PROJECT): 15 minutes of 30-second samples
|
|
470
|
+
* covers about 330 containers.
|
|
435
471
|
*/
|
|
436
472
|
rollingTime: RollingTime_1.default.Past15Minutes,
|
|
437
473
|
}),
|
|
@@ -445,8 +481,9 @@ const crashLoopBackOffTemplate = {
|
|
|
445
481
|
value: 0,
|
|
446
482
|
/*
|
|
447
483
|
* Sum, not the sustained AllValues default: each sample is ONE
|
|
448
|
-
* MINUTE'S
|
|
449
|
-
* minute breached" is unreachable. The window total is the
|
|
484
|
+
* MINUTE'S restarts and most minutes of a crash loop have none, so
|
|
485
|
+
* "every minute breached" is unreachable. The window total is the
|
|
486
|
+
* count.
|
|
450
487
|
*/
|
|
451
488
|
metricAggregationType: CriteriaFilter_1.EvaluateOverTimeType.Sum,
|
|
452
489
|
filterCondition: FilterCondition_1.default.All,
|
|
@@ -480,14 +517,14 @@ const crashLoopBackOffTemplate = {
|
|
|
480
517
|
*/
|
|
481
518
|
incidentDescription: `A container restarted within the last fifteen minutes and was ready for less than half of them — the signature of a CrashLoopBackOff: the kubelet keeps restarting a container that keeps crashing, waiting longer each time. The alert clears once the container stops restarting for fifteen minutes or stays ready. Common causes: a crash on startup, a missing config map or secret, an OOMKill against the container's memory limit, or a failing liveness probe. The affected namespace, pod and container are named under "Affected resource" below, with the kubectl commands to inspect them — including the previous instance's logs — under "Start here".`,
|
|
482
519
|
criteriaName: "CrashLoopBackOff - Restarts in 15 min > 0, Ready < 50%",
|
|
483
|
-
criteriaDescription: "Triggers when a container
|
|
520
|
+
criteriaDescription: "Triggers when a container restarts within the monitoring window, counted from the restarts the agent sends with each sample, and the container was ready for less than half of it.",
|
|
484
521
|
}),
|
|
485
522
|
onlineCriteriaInstance: buildOnlineCriteriaInstance({
|
|
486
523
|
onlineMonitorStatusId: args.onlineMonitorStatusId,
|
|
487
524
|
metricAlias,
|
|
488
525
|
filterType: CriteriaFilter_1.FilterType.LessThanOrEqualTo,
|
|
489
526
|
value: 0,
|
|
490
|
-
// Must match the unhealthy side: a sum of per-minute
|
|
527
|
+
// Must match the unhealthy side: a sum of per-minute restarts.
|
|
491
528
|
metricAggregationType: CriteriaFilter_1.EvaluateOverTimeType.Sum,
|
|
492
529
|
/*
|
|
493
530
|
* Either clears it: no restart in the window, or a container ready
|
|
@@ -673,6 +710,103 @@ const nodeNotReadyTemplate = {
|
|
|
673
710
|
});
|
|
674
711
|
},
|
|
675
712
|
};
|
|
713
|
+
/*
|
|
714
|
+
* A node the kubelet says is short of memory, disk or process IDs: what a
|
|
715
|
+
* node's own page and the Overview's Needs attention flag
|
|
716
|
+
* (KubernetesHealth), and what Node Not Ready cannot see - the node is
|
|
717
|
+
* Ready, and evicting pods to stay that way. The kubelet sets the
|
|
718
|
+
* condition when an eviction threshold is crossed, taints the node so the
|
|
719
|
+
* scheduler places nothing new there, and holds the condition for its
|
|
720
|
+
* evictionPressureTransitionPeriod (five minutes by default) after the
|
|
721
|
+
* signal clears, so a passing spike already lasts five minutes.
|
|
722
|
+
*/
|
|
723
|
+
const nodePressureTemplate = {
|
|
724
|
+
id: "k8s-node-pressure",
|
|
725
|
+
name: "Node Under Pressure",
|
|
726
|
+
summary: "A node reports memory, disk or PID pressure for 10 minutes.",
|
|
727
|
+
description: "Alert when a node reports MemoryPressure, DiskPressure or PIDPressure for ten minutes: the kubelet is short of memory, disk space or process IDs, evicts pods to get them back, and taints the node so nothing new is scheduled on it. Reads k8s.node.condition_memory_pressure, k8s.node.condition_disk_pressure and k8s.node.condition_pid_pressure, which the agent's cluster receiver reports for every node: 1 when the condition is True, 0 when False, -1 when Unknown. Computed per node as their sum, so any one of them fires it. A node that stopped reporting reads Unknown on all three and is left to Node Not Ready.",
|
|
728
|
+
category: "Node",
|
|
729
|
+
severity: "Warning",
|
|
730
|
+
getMonitorStep: (args) => {
|
|
731
|
+
const metricAlias = "node_pressure_conditions";
|
|
732
|
+
return buildKubernetesMonitorStep({
|
|
733
|
+
kubernetesMonitor: buildKubernetesMultiQueryMonitorConfig({
|
|
734
|
+
clusterIdentifier: args.clusterIdentifier,
|
|
735
|
+
queries: [
|
|
736
|
+
{
|
|
737
|
+
alias: "memory_pressure",
|
|
738
|
+
title: "Memory Pressure",
|
|
739
|
+
metricName: "k8s.node.condition_memory_pressure",
|
|
740
|
+
/*
|
|
741
|
+
* Max within the minute: a sample under pressure makes the
|
|
742
|
+
* minute one. ONE series per node on all three, from the same
|
|
743
|
+
* k8s_cluster scrape.
|
|
744
|
+
*/
|
|
745
|
+
aggregationType: MetricsAggregationType_1.default.Max,
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
alias: "disk_pressure",
|
|
749
|
+
title: "Disk Pressure",
|
|
750
|
+
metricName: "k8s.node.condition_disk_pressure",
|
|
751
|
+
aggregationType: MetricsAggregationType_1.default.Max,
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
alias: "pid_pressure",
|
|
755
|
+
title: "PID Pressure",
|
|
756
|
+
metricName: "k8s.node.condition_pid_pressure",
|
|
757
|
+
aggregationType: MetricsAggregationType_1.default.Max,
|
|
758
|
+
},
|
|
759
|
+
],
|
|
760
|
+
formulas: [
|
|
761
|
+
{
|
|
762
|
+
alias: metricAlias,
|
|
763
|
+
legend: "Node Pressure Conditions",
|
|
764
|
+
/*
|
|
765
|
+
* How many of the three are True. Unknown is -1, which is what
|
|
766
|
+
* the node controller sets on EVERY condition of a node whose
|
|
767
|
+
* kubelet stopped posting status, so such a node sums to -3 and
|
|
768
|
+
* stays quiet here: Node Not Ready is the alert for it.
|
|
769
|
+
*/
|
|
770
|
+
formula: "memory_pressure + disk_pressure + pid_pressure",
|
|
771
|
+
legendUnit: "",
|
|
772
|
+
},
|
|
773
|
+
],
|
|
774
|
+
/*
|
|
775
|
+
* Per node, as Node Not Ready: one incident per node under pressure.
|
|
776
|
+
* The k8s_cluster receiver stamps the node's name on its node
|
|
777
|
+
* metrics itself, so the three queries line up.
|
|
778
|
+
*/
|
|
779
|
+
groupByAttributeKeys: ["resource.k8s.node.name"],
|
|
780
|
+
resourceScope: MonitorStepKubernetesMonitor_1.KubernetesResourceScope.Node,
|
|
781
|
+
/*
|
|
782
|
+
* Ten minutes, the window kube-prometheus' KubeNodePressure waits
|
|
783
|
+
* too: past the kubelet's own five-minute hold, so it is pressure
|
|
784
|
+
* that keeps coming back, not one spike.
|
|
785
|
+
*/
|
|
786
|
+
rollingTime: RollingTime_1.default.Past10Minutes,
|
|
787
|
+
}),
|
|
788
|
+
offlineCriteriaInstance: buildOfflineCriteriaInstance({
|
|
789
|
+
offlineMonitorStatusId: args.offlineMonitorStatusId,
|
|
790
|
+
incidentSeverityId: args.defaultIncidentSeverityId,
|
|
791
|
+
alertSeverityId: args.defaultAlertSeverityId,
|
|
792
|
+
monitorName: args.monitorName,
|
|
793
|
+
metricAlias,
|
|
794
|
+
filterType: CriteriaFilter_1.FilterType.GreaterThan,
|
|
795
|
+
value: 0,
|
|
796
|
+
incidentTitle: `[K8s] Node Under Pressure - ${args.monitorName}`,
|
|
797
|
+
incidentDescription: `A Kubernetes node has reported memory, disk or PID pressure for ten minutes. The kubelet is short of memory, disk space or process IDs on the node: it evicts pods to get them back, and the node is tainted so that no new pod is scheduled on it. Look for what is using it - a pod with no memory limit, logs or images filling the disk, a process that keeps forking - and free it or move it. The affected node is named under "Affected resource" below; use the kubectl commands under "Start here" to read its conditions and list the pods it is hosting.`,
|
|
798
|
+
criteriaName: "Node Under Pressure - Pressure Conditions > 0",
|
|
799
|
+
criteriaDescription: "Triggers when a node reports MemoryPressure, DiskPressure or PIDPressure as True in every sample of a ten-minute window.",
|
|
800
|
+
}),
|
|
801
|
+
onlineCriteriaInstance: buildOnlineCriteriaInstance({
|
|
802
|
+
onlineMonitorStatusId: args.onlineMonitorStatusId,
|
|
803
|
+
metricAlias,
|
|
804
|
+
filterType: CriteriaFilter_1.FilterType.LessThanOrEqualTo,
|
|
805
|
+
value: 0,
|
|
806
|
+
}),
|
|
807
|
+
});
|
|
808
|
+
},
|
|
809
|
+
};
|
|
676
810
|
const highCpuTemplate = {
|
|
677
811
|
id: "k8s-high-cpu",
|
|
678
812
|
name: "High Node CPU Utilization",
|
|
@@ -791,6 +925,7 @@ const deploymentReplicaMismatchTemplate = {
|
|
|
791
925
|
description: "Alert when a deployment has fewer available replicas than desired for fifteen minutes. Computed per deployment as k8s.deployment.desired - k8s.deployment.available, the two replica counts the agent's k8s_cluster receiver reports — it has no unavailable-replicas series.",
|
|
792
926
|
category: "Workload",
|
|
793
927
|
severity: "Warning",
|
|
928
|
+
workloadKind: "deployment",
|
|
794
929
|
getMonitorStep: (args) => {
|
|
795
930
|
const metricAlias = "replica_shortfall";
|
|
796
931
|
return buildKubernetesMonitorStep({
|
|
@@ -877,13 +1012,120 @@ const deploymentReplicaMismatchTemplate = {
|
|
|
877
1012
|
});
|
|
878
1013
|
},
|
|
879
1014
|
};
|
|
1015
|
+
/*
|
|
1016
|
+
* The StatefulSet's counterpart of the deployment's shortfall, read the way
|
|
1017
|
+
* its own page reads it (KubernetesHealth): ready pods against
|
|
1018
|
+
* spec.replicas. The k8s_cluster receiver reports a StatefulSet as
|
|
1019
|
+
* k8s.statefulset.desired_pods (spec.replicas), .ready_pods
|
|
1020
|
+
* (status.readyReplicas), .current_pods and .updated_pods - no available
|
|
1021
|
+
* count - and readiness is what a StatefulSet waits on: with the default
|
|
1022
|
+
* OrderedReady policy pod N+1 is not created until pod N is ready, so one
|
|
1023
|
+
* pod that cannot start holds back every pod after it.
|
|
1024
|
+
*/
|
|
1025
|
+
const statefulSetReplicaMismatchTemplate = {
|
|
1026
|
+
id: "k8s-statefulset-replica-mismatch",
|
|
1027
|
+
name: "StatefulSet Replica Mismatch",
|
|
1028
|
+
summary: "A StatefulSet has fewer ready replicas than desired for 15 minutes.",
|
|
1029
|
+
description: "Alert when a StatefulSet has fewer ready pods than desired for fifteen minutes. Computed per StatefulSet as k8s.statefulset.desired_pods - k8s.statefulset.ready_pods, the two pod counts the agent's k8s_cluster receiver reports. A StatefulSet starts and replaces its pods one at a time, each after the one before it is ready, so a single pod that cannot start - a volume claim that cannot bind, an image that cannot be pulled, a crash on startup - holds back every pod after it.",
|
|
1030
|
+
category: "Workload",
|
|
1031
|
+
severity: "Warning",
|
|
1032
|
+
workloadKind: "statefulset",
|
|
1033
|
+
getMonitorStep: (args) => {
|
|
1034
|
+
const metricAlias = "statefulset_replica_shortfall";
|
|
1035
|
+
return buildKubernetesMonitorStep({
|
|
1036
|
+
kubernetesMonitor: buildKubernetesRatioMonitorConfig({
|
|
1037
|
+
clusterIdentifier: args.clusterIdentifier,
|
|
1038
|
+
numeratorMetricName: "k8s.statefulset.desired_pods",
|
|
1039
|
+
denominatorMetricName: "k8s.statefulset.ready_pods",
|
|
1040
|
+
/*
|
|
1041
|
+
* Per StatefulSet, as the deployment's: the receiver stamps both
|
|
1042
|
+
* keys on both metrics itself, which the formula's join needs.
|
|
1043
|
+
*/
|
|
1044
|
+
groupByAttributeKeys: [
|
|
1045
|
+
"resource.k8s.namespace.name",
|
|
1046
|
+
"resource.k8s.statefulset.name",
|
|
1047
|
+
],
|
|
1048
|
+
numeratorAlias: "desired_pods",
|
|
1049
|
+
denominatorAlias: "ready_pods",
|
|
1050
|
+
resultAlias: metricAlias,
|
|
1051
|
+
resultLegend: "StatefulSet Replica Shortfall",
|
|
1052
|
+
formula: "desired_pods - ready_pods",
|
|
1053
|
+
// A pod count, not a percentage.
|
|
1054
|
+
resultLegendUnit: "",
|
|
1055
|
+
resourceScope: MonitorStepKubernetesMonitor_1.KubernetesResourceScope.Workload,
|
|
1056
|
+
/*
|
|
1057
|
+
* 15 minutes, as the deployment's: an update replaces the pods one
|
|
1058
|
+
* at a time, each not ready until its probes pass, and that is the
|
|
1059
|
+
* update working.
|
|
1060
|
+
*/
|
|
1061
|
+
rollingTime: RollingTime_1.default.Past15Minutes,
|
|
1062
|
+
// ONE series per StatefulSet on both sides: the per-minute count.
|
|
1063
|
+
aggregationType: MetricsAggregationType_1.default.Avg,
|
|
1064
|
+
}),
|
|
1065
|
+
offlineCriteriaInstance: buildOfflineCriteriaInstance({
|
|
1066
|
+
offlineMonitorStatusId: args.offlineMonitorStatusId,
|
|
1067
|
+
incidentSeverityId: args.defaultIncidentSeverityId,
|
|
1068
|
+
alertSeverityId: args.defaultAlertSeverityId,
|
|
1069
|
+
monitorName: args.monitorName,
|
|
1070
|
+
metricAlias,
|
|
1071
|
+
filterType: CriteriaFilter_1.FilterType.GreaterThan,
|
|
1072
|
+
value: 0,
|
|
1073
|
+
incidentTitle: `[K8s] StatefulSet Replica Mismatch - ${args.monitorName}`,
|
|
1074
|
+
incidentDescription: `A Kubernetes StatefulSet has had fewer ready pods than it desires for fifteen minutes. A StatefulSet starts its pods one at a time, each after the one before it is ready, so one pod that cannot start holds back the rest: look for a persistent volume claim that cannot bind, an image that cannot be pulled, or a pod that crashes on startup. The affected namespace and StatefulSet are named under "Affected resource" below, with the rollout-status command under "Start here".`,
|
|
1075
|
+
criteriaName: "Replica Mismatch - Desired > Ready for 15 minutes",
|
|
1076
|
+
criteriaDescription: "Triggers when a StatefulSet's desired pod count exceeds its ready pod count in every sample of a fifteen-minute window.",
|
|
1077
|
+
}),
|
|
1078
|
+
onlineCriteriaInstance: buildOnlineCriteriaInstance({
|
|
1079
|
+
onlineMonitorStatusId: args.onlineMonitorStatusId,
|
|
1080
|
+
metricAlias,
|
|
1081
|
+
filterType: CriteriaFilter_1.FilterType.LessThanOrEqualTo,
|
|
1082
|
+
value: 0,
|
|
1083
|
+
}),
|
|
1084
|
+
});
|
|
1085
|
+
},
|
|
1086
|
+
};
|
|
1087
|
+
/*
|
|
1088
|
+
* The id stays "k8s-job-failures": it is the stable key the recommendation
|
|
1089
|
+
* catalog and the already-created-monitor diff match on.
|
|
1090
|
+
*
|
|
1091
|
+
* It used to read the growth of k8s.job.failed_pods (the Job's
|
|
1092
|
+
* status.failed) between two samples of the same minute: a Max and a Min
|
|
1093
|
+
* query per minute and a formula subtracting them, summed over the window.
|
|
1094
|
+
* At the agent's 30-second interval a failure between the last sample of
|
|
1095
|
+
* one minute and the first of the next was never counted - about half of
|
|
1096
|
+
* them, so a Job that failed once had even odds of going unseen - and a Job
|
|
1097
|
+
* recreated under the same name (a Helm hook's, a migration Job a deploy
|
|
1098
|
+
* replaces) read the old Job's count against the new one's 0 as that many
|
|
1099
|
+
* failures in one minute. The alerting path cannot difference values across
|
|
1100
|
+
* minutes, so the agent does it: the cluster collector's
|
|
1101
|
+
* transform/job-failures-increase sends k8s.job.failed_pods.increase with
|
|
1102
|
+
* every sample, the failures since its previous sample of the same Job (by
|
|
1103
|
+
* UID), however far back that was (HelmChart/Public/kubernetes-agent/
|
|
1104
|
+
* templates/configmap-deployment.yaml). Summed per minute and over the
|
|
1105
|
+
* window, that is every failure in it. The k8s_cluster receiver reports
|
|
1106
|
+
* every Job at each interval until the Job is deleted, so a failing Job is
|
|
1107
|
+
* sampled between its retries.
|
|
1108
|
+
*
|
|
1109
|
+
* What it cannot see: the failures before the agent's first sample of a Job
|
|
1110
|
+
* are that Job's starting point, not an increase - the agent cannot tell a
|
|
1111
|
+
* new Job's first failures from an old Job's history - so a Job that fails
|
|
1112
|
+
* within its first half-minute and never retries goes unseen.
|
|
1113
|
+
*
|
|
1114
|
+
* A cluster whose agent predates k8s.job.failed_pods.increase sends nothing
|
|
1115
|
+
* this query reads, so the template never fires there, and the docs tell it
|
|
1116
|
+
* to upgrade the agent. That is also why monitors made from the old query
|
|
1117
|
+
* are left as they are rather than rewritten to this one: against an older
|
|
1118
|
+
* agent the rewrite would stop alerting.
|
|
1119
|
+
*/
|
|
880
1120
|
const jobFailuresTemplate = {
|
|
881
1121
|
id: "k8s-job-failures",
|
|
882
1122
|
name: "Job Failures",
|
|
883
1123
|
summary: "A pod of a job fails within 15 minutes.",
|
|
884
|
-
|
|
1124
|
+
// See crashLoopBackOffTemplate for why no backticks.
|
|
1125
|
+
description: "Alert when a pod of a Kubernetes Job fails, and clear fifteen minutes after the last failure: a Job that retried and succeeded stops alerting on its own. Reads k8s.job.failed_pods.increase, the Job's failed pods since the agent's previous sample of it, so every failure counts however far apart the samples are. A Job recreated under the same name starts a new count. Failures before the agent's first sample of a Job, in its first half-minute, are not counted. An older Kubernetes agent does not send the increase: upgrade the agent first. One incident per Job.",
|
|
885
1126
|
category: "Workload",
|
|
886
1127
|
severity: "Warning",
|
|
1128
|
+
workloadKind: "job",
|
|
887
1129
|
getMonitorStep: (args) => {
|
|
888
1130
|
const metricAlias = "failed_pods";
|
|
889
1131
|
return buildKubernetesMonitorStep({
|
|
@@ -892,38 +1134,41 @@ const jobFailuresTemplate = {
|
|
|
892
1134
|
* status.failed, which only grows for the life of the Job object: a
|
|
893
1135
|
* Job that failed once and succeeded on its retry kept "> 0" - and
|
|
894
1136
|
* the alert open - until the Job was deleted, and a CronJob keeps
|
|
895
|
-
* its last failed Job (failedJobsHistoryLimit) indefinitely.
|
|
896
|
-
*
|
|
897
|
-
*
|
|
898
|
-
* delta and what it can and cannot see.
|
|
1137
|
+
* its last failed Job (failedJobsHistoryLimit) indefinitely. The
|
|
1138
|
+
* failures the agent sends with each sample, summed over the window,
|
|
1139
|
+
* are "a pod failed recently", which clears on its own.
|
|
899
1140
|
*/
|
|
900
1141
|
kubernetesMonitor: buildKubernetesMultiQueryMonitorConfig({
|
|
901
1142
|
clusterIdentifier: args.clusterIdentifier,
|
|
902
1143
|
queries: [
|
|
903
|
-
{
|
|
904
|
-
alias: "failed_pods_max",
|
|
905
|
-
metricName: "k8s.job.failed_pods",
|
|
906
|
-
aggregationType: MetricsAggregationType_1.default.Max,
|
|
907
|
-
},
|
|
908
|
-
{
|
|
909
|
-
alias: "failed_pods_min",
|
|
910
|
-
metricName: "k8s.job.failed_pods",
|
|
911
|
-
aggregationType: MetricsAggregationType_1.default.Min,
|
|
912
|
-
},
|
|
913
|
-
],
|
|
914
|
-
formulas: [
|
|
915
1144
|
{
|
|
916
1145
|
alias: metricAlias,
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
1146
|
+
title: "Failed Job Pods",
|
|
1147
|
+
metricName: "k8s.job.failed_pods.increase",
|
|
1148
|
+
/*
|
|
1149
|
+
* Sum WITHIN each Job's series: the failures in each minute.
|
|
1150
|
+
* A minute with no sample of the Job has no row, not a zero,
|
|
1151
|
+
* and the increase a later sample sends still counts its
|
|
1152
|
+
* failures.
|
|
1153
|
+
*/
|
|
1154
|
+
aggregationType: MetricsAggregationType_1.default.Sum,
|
|
920
1155
|
},
|
|
921
1156
|
],
|
|
1157
|
+
formulas: [],
|
|
922
1158
|
/*
|
|
923
1159
|
* Per Job object — one failing Job must not hide the next one.
|
|
924
1160
|
* Jobs are short-lived: when a Job is cleaned up its series stops
|
|
925
1161
|
* arriving and the per-series pass auto-resolves that Job's alert
|
|
926
|
-
* by absence, which is the behaviour we want here.
|
|
1162
|
+
* by absence, which is the behaviour we want here. A Job recreated
|
|
1163
|
+
* under the same name is the same series: its first sample sends
|
|
1164
|
+
* nothing, its failures after that count.
|
|
1165
|
+
*
|
|
1166
|
+
* The increase is a copy on the Job's own resource, so it carries
|
|
1167
|
+
* what k8s.job.failed_pods carries: the Job's name, UID and
|
|
1168
|
+
* namespace. A Workload scope of kind Job filters on that name; the
|
|
1169
|
+
* pods a Job retries with never reach its resource, so a retry is
|
|
1170
|
+
* the same series. The receiver puts no CronJob on a Job's
|
|
1171
|
+
* metrics: a CronJob's runs are Jobs of their own.
|
|
927
1172
|
*/
|
|
928
1173
|
groupByAttributeKeys: [
|
|
929
1174
|
"resource.k8s.namespace.name",
|
|
@@ -946,21 +1191,21 @@ const jobFailuresTemplate = {
|
|
|
946
1191
|
filterType: CriteriaFilter_1.FilterType.GreaterThan,
|
|
947
1192
|
value: 0,
|
|
948
1193
|
/*
|
|
949
|
-
* Sum: each sample is one minute's
|
|
950
|
-
* the number of pod failures
|
|
1194
|
+
* Sum: each sample is one minute's failures, and the window total
|
|
1195
|
+
* is the number of pod failures in it.
|
|
951
1196
|
*/
|
|
952
1197
|
metricAggregationType: CriteriaFilter_1.EvaluateOverTimeType.Sum,
|
|
953
1198
|
incidentTitle: `[K8s] Job Failure Detected - ${args.monitorName}`,
|
|
954
1199
|
incidentDescription: `A pod of a Kubernetes Job failed within the last fifteen minutes, so the Job's workload is failing. If the Job retries and succeeds, or nothing fails for fifteen minutes, the alert clears on its own. The affected namespace and job are named under "Affected resource" below, with the describe command under "Start here"; the failed pod's logs say why it exited.`,
|
|
955
1200
|
criteriaName: "Job Failures - Failed Pods in 15 min > 0",
|
|
956
|
-
criteriaDescription: "Triggers when a
|
|
1201
|
+
criteriaDescription: "Triggers when a pod of a Job fails within the monitoring window, counted from the failed pods the agent sends with each sample.",
|
|
957
1202
|
}),
|
|
958
1203
|
onlineCriteriaInstance: buildOnlineCriteriaInstance({
|
|
959
1204
|
onlineMonitorStatusId: args.onlineMonitorStatusId,
|
|
960
1205
|
metricAlias,
|
|
961
1206
|
filterType: CriteriaFilter_1.FilterType.LessThanOrEqualTo,
|
|
962
1207
|
value: 0,
|
|
963
|
-
// Must match the unhealthy side: a sum of per-minute
|
|
1208
|
+
// Must match the unhealthy side: a sum of per-minute failures.
|
|
964
1209
|
metricAggregationType: CriteriaFilter_1.EvaluateOverTimeType.Sum,
|
|
965
1210
|
}),
|
|
966
1211
|
});
|
|
@@ -1228,6 +1473,72 @@ const highDiskUsageTemplate = {
|
|
|
1228
1473
|
});
|
|
1229
1474
|
},
|
|
1230
1475
|
};
|
|
1476
|
+
/*
|
|
1477
|
+
* The nodes a DaemonSet should run on that have no ready pod of it: what
|
|
1478
|
+
* the DaemonSet's own page says ("Ready on 4 of 5 nodes", KubernetesHealth),
|
|
1479
|
+
* and what DaemonSet Misscheduled Nodes - pods on nodes they should NOT be
|
|
1480
|
+
* on - never measured. A log shipper, a CNI or CSI plugin missing from a
|
|
1481
|
+
* node fails silently: nothing on the node errors, it just stops shipping,
|
|
1482
|
+
* networking or mounting.
|
|
1483
|
+
*/
|
|
1484
|
+
const daemonSetPodsNotReadyTemplate = {
|
|
1485
|
+
id: "k8s-daemonset-pods-not-ready",
|
|
1486
|
+
name: "DaemonSet Pods Not Ready",
|
|
1487
|
+
summary: "A DaemonSet has nodes without a ready pod of it for 15 minutes.",
|
|
1488
|
+
description: "Alert when a DaemonSet has fewer ready pods than nodes it should run on, for fifteen minutes: on some node its pod is missing, cannot start, or is not ready. Computed per DaemonSet as k8s.daemonset.desired_scheduled_nodes - k8s.daemonset.ready_nodes, which the agent's k8s_cluster receiver reports. A node that is down leaves its daemon pods not ready too, so this fires next to Node Not Ready for each DaemonSet on it. A rolling update across many nodes that takes longer than fifteen minutes reads as a shortfall the whole time: lengthen the Time Range on a large cluster.",
|
|
1489
|
+
category: "Workload",
|
|
1490
|
+
severity: "Warning",
|
|
1491
|
+
workloadKind: "daemonset",
|
|
1492
|
+
getMonitorStep: (args) => {
|
|
1493
|
+
const metricAlias = "daemonset_ready_shortfall";
|
|
1494
|
+
return buildKubernetesMonitorStep({
|
|
1495
|
+
kubernetesMonitor: buildKubernetesRatioMonitorConfig({
|
|
1496
|
+
clusterIdentifier: args.clusterIdentifier,
|
|
1497
|
+
numeratorMetricName: "k8s.daemonset.desired_scheduled_nodes",
|
|
1498
|
+
denominatorMetricName: "k8s.daemonset.ready_nodes",
|
|
1499
|
+
// Per DaemonSet object, as DaemonSet Misscheduled Nodes.
|
|
1500
|
+
groupByAttributeKeys: [
|
|
1501
|
+
"resource.k8s.namespace.name",
|
|
1502
|
+
"resource.k8s.daemonset.name",
|
|
1503
|
+
],
|
|
1504
|
+
numeratorAlias: "desired_nodes",
|
|
1505
|
+
denominatorAlias: "ready_nodes",
|
|
1506
|
+
resultAlias: metricAlias,
|
|
1507
|
+
resultLegend: "DaemonSet Nodes Without a Ready Pod",
|
|
1508
|
+
formula: "desired_nodes - ready_nodes",
|
|
1509
|
+
// A node count, not a percentage.
|
|
1510
|
+
resultLegendUnit: "",
|
|
1511
|
+
resourceScope: MonitorStepKubernetesMonitor_1.KubernetesResourceScope.Workload,
|
|
1512
|
+
/*
|
|
1513
|
+
* 15 minutes, as the replica mismatches: a rolling update replaces
|
|
1514
|
+
* one node's pod at a time (maxUnavailable 1 by default).
|
|
1515
|
+
*/
|
|
1516
|
+
rollingTime: RollingTime_1.default.Past15Minutes,
|
|
1517
|
+
// ONE series per DaemonSet on both sides: the per-minute count.
|
|
1518
|
+
aggregationType: MetricsAggregationType_1.default.Avg,
|
|
1519
|
+
}),
|
|
1520
|
+
offlineCriteriaInstance: buildOfflineCriteriaInstance({
|
|
1521
|
+
offlineMonitorStatusId: args.offlineMonitorStatusId,
|
|
1522
|
+
incidentSeverityId: args.defaultIncidentSeverityId,
|
|
1523
|
+
alertSeverityId: args.defaultAlertSeverityId,
|
|
1524
|
+
monitorName: args.monitorName,
|
|
1525
|
+
metricAlias,
|
|
1526
|
+
filterType: CriteriaFilter_1.FilterType.GreaterThan,
|
|
1527
|
+
value: 0,
|
|
1528
|
+
incidentTitle: `[K8s] DaemonSet Pods Not Ready - ${args.monitorName}`,
|
|
1529
|
+
incidentDescription: `A Kubernetes DaemonSet has had nodes without a ready pod of it for fifteen minutes: on those nodes its pod is missing, cannot start, or is not ready, so whatever it runs there - a log shipper, a network or storage plugin, a node agent - is not running. Common causes: the pod cannot be pulled or keeps crashing, it does not tolerate a taint on a new node, the node has no room for its requests, or the node itself is down. The affected namespace and DaemonSet are named under "Affected resource" below, with the describe command under "Start here".`,
|
|
1530
|
+
criteriaName: "DaemonSet Pods Not Ready - Desired > Ready for 15 minutes",
|
|
1531
|
+
criteriaDescription: "Triggers when a DaemonSet's count of nodes that should run its pod exceeds its count of nodes with a ready pod in every sample of a fifteen-minute window.",
|
|
1532
|
+
}),
|
|
1533
|
+
onlineCriteriaInstance: buildOnlineCriteriaInstance({
|
|
1534
|
+
onlineMonitorStatusId: args.onlineMonitorStatusId,
|
|
1535
|
+
metricAlias,
|
|
1536
|
+
filterType: CriteriaFilter_1.FilterType.LessThanOrEqualTo,
|
|
1537
|
+
value: 0,
|
|
1538
|
+
}),
|
|
1539
|
+
});
|
|
1540
|
+
},
|
|
1541
|
+
};
|
|
1231
1542
|
const daemonSetUnavailableTemplate = {
|
|
1232
1543
|
/*
|
|
1233
1544
|
* The `id` still says "unavailable" and deliberately stays that way: it
|
|
@@ -1246,6 +1557,7 @@ const daemonSetUnavailableTemplate = {
|
|
|
1246
1557
|
description: "Alert when a DaemonSet is running daemon pods on nodes that no longer match its node selector, affinity or taint tolerations. k8s.daemonset.misscheduled_nodes counts nodes that ARE running the pod but should NOT be — it is not the count of nodes that are missing the pod.",
|
|
1247
1558
|
category: "Workload",
|
|
1248
1559
|
severity: "Warning",
|
|
1560
|
+
workloadKind: "daemonset",
|
|
1249
1561
|
getMonitorStep: (args) => {
|
|
1250
1562
|
const metricAlias = "misscheduled_nodes";
|
|
1251
1563
|
return buildKubernetesMonitorStep({
|
|
@@ -1405,6 +1717,11 @@ const hpaAtMaxReplicasTemplate = {
|
|
|
1405
1717
|
description: "Alert when a HorizontalPodAutoscaler has scaled above its minReplicas and runs at 90% or more of its maxReplicas. Computed per HPA as k8s.hpa.current_replicas ÷ k8s.hpa.max_replicas × 100, while k8s.hpa.current_replicas is above k8s.hpa.min_replicas — an HPA whose floor is already within 10% of its ceiling sits there at idle, and is not saturated. An HPA at its ceiling has no headroom left: load it cannot absorb by scaling turns straight into latency and errors, and a workload that reaches the ceiling and stays there is usually under-resourced per pod rather than genuinely at capacity.",
|
|
1406
1718
|
category: "Workload",
|
|
1407
1719
|
severity: "Critical",
|
|
1720
|
+
/*
|
|
1721
|
+
* Its metrics carry the HPA's own name, not the name of what it scales
|
|
1722
|
+
* (KUBERNETES_HPA_KIND), so a Workload Name is read as the HPA's.
|
|
1723
|
+
*/
|
|
1724
|
+
workloadKind: "hpa",
|
|
1408
1725
|
getMonitorStep: (args) => {
|
|
1409
1726
|
const metricAlias = "hpa_replica_saturation";
|
|
1410
1727
|
const aboveMinAlias = "hpa_replicas_above_min";
|
|
@@ -1631,14 +1948,17 @@ function getAllKubernetesAlertTemplates() {
|
|
|
1631
1948
|
crashLoopBackOffTemplate,
|
|
1632
1949
|
podPendingTemplate,
|
|
1633
1950
|
nodeNotReadyTemplate,
|
|
1951
|
+
nodePressureTemplate,
|
|
1634
1952
|
highCpuTemplate,
|
|
1635
1953
|
highMemoryTemplate,
|
|
1636
1954
|
deploymentReplicaMismatchTemplate,
|
|
1955
|
+
statefulSetReplicaMismatchTemplate,
|
|
1637
1956
|
jobFailuresTemplate,
|
|
1638
1957
|
etcdNoLeaderTemplate,
|
|
1639
1958
|
apiServerThrottlingTemplate,
|
|
1640
1959
|
schedulerBacklogTemplate,
|
|
1641
1960
|
highDiskUsageTemplate,
|
|
1961
|
+
daemonSetPodsNotReadyTemplate,
|
|
1642
1962
|
daemonSetUnavailableTemplate,
|
|
1643
1963
|
nodeCpuRequestUtilizationTemplate,
|
|
1644
1964
|
nodeMemoryRequestUtilizationTemplate,
|