@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
|
@@ -81,7 +81,7 @@ function buildDockerSwarmOnlineCriteriaInstance(args) {
|
|
|
81
81
|
function buildDockerSwarmMonitorConfig(args) {
|
|
82
82
|
return {
|
|
83
83
|
clusterIdentifier: args.clusterIdentifier,
|
|
84
|
-
resourceFilters: {},
|
|
84
|
+
resourceFilters: args.tasksOnly ? { tasksOnly: true } : {},
|
|
85
85
|
metricViewConfig: {
|
|
86
86
|
queryConfigs: [
|
|
87
87
|
{
|
|
@@ -113,6 +113,12 @@ function buildDockerSwarmMonitorConfig(args) {
|
|
|
113
113
|
* evaluated independently — one incident per task container. The worker
|
|
114
114
|
* always adds the cluster scope (`resource.docker.swarm.cluster.name`)
|
|
115
115
|
* from the step's clusterIdentifier; no container.runtime filter.
|
|
116
|
+
*
|
|
117
|
+
* Every template but Cluster Stopped Reporting watches Swarm's tasks only
|
|
118
|
+
* (`tasksOnly`): the agent runs as a plain container on every node, and so
|
|
119
|
+
* can anything started with `docker run`, and those are not the swarm's
|
|
120
|
+
* workloads. Cluster Stopped Reporting reads the agent's own container as
|
|
121
|
+
* its heartbeat, so it counts every container.
|
|
116
122
|
*/
|
|
117
123
|
const clusterStoppedReportingTemplate = {
|
|
118
124
|
id: "docker-swarm-cluster-stopped-reporting",
|
|
@@ -185,6 +191,7 @@ const highCpuTemplate = {
|
|
|
185
191
|
*/
|
|
186
192
|
aggregationType: MetricsAggregationType_1.default.Avg,
|
|
187
193
|
groupByAttributeKey: "resource.container.name",
|
|
194
|
+
tasksOnly: true,
|
|
188
195
|
}),
|
|
189
196
|
offlineCriteriaInstance: buildDockerSwarmOfflineCriteriaInstance({
|
|
190
197
|
offlineMonitorStatusId: args.offlineMonitorStatusId,
|
|
@@ -235,6 +242,7 @@ const highMemoryTemplate = {
|
|
|
235
242
|
*/
|
|
236
243
|
aggregationType: MetricsAggregationType_1.default.Avg,
|
|
237
244
|
groupByAttributeKey: "resource.container.name",
|
|
245
|
+
tasksOnly: true,
|
|
238
246
|
}),
|
|
239
247
|
offlineCriteriaInstance: buildDockerSwarmOfflineCriteriaInstance({
|
|
240
248
|
offlineMonitorStatusId: args.offlineMonitorStatusId,
|
|
@@ -276,6 +284,7 @@ const highProcessCountTemplate = {
|
|
|
276
284
|
// Max per task — any scrape over the threshold trips it.
|
|
277
285
|
aggregationType: MetricsAggregationType_1.default.Max,
|
|
278
286
|
groupByAttributeKey: "resource.container.name",
|
|
287
|
+
tasksOnly: true,
|
|
279
288
|
}),
|
|
280
289
|
offlineCriteriaInstance: buildDockerSwarmOfflineCriteriaInstance({
|
|
281
290
|
offlineMonitorStatusId: args.offlineMonitorStatusId,
|
|
@@ -336,6 +345,7 @@ const taskDownTemplate = {
|
|
|
336
345
|
*/
|
|
337
346
|
aggregationType: MetricsAggregationType_1.default.Min,
|
|
338
347
|
groupByAttributeKey: "resource.container.name",
|
|
348
|
+
tasksOnly: true,
|
|
339
349
|
}),
|
|
340
350
|
offlineCriteriaInstance: buildDockerSwarmOfflineCriteriaInstance({
|
|
341
351
|
offlineMonitorStatusId: args.offlineMonitorStatusId,
|
|
@@ -351,7 +361,8 @@ const taskDownTemplate = {
|
|
|
351
361
|
* default — see UnhealthyCriteriaArgs.metricAggregationType.
|
|
352
362
|
*
|
|
353
363
|
* Samples are bucketed per MINUTE before the criteria sees them
|
|
354
|
-
* (
|
|
364
|
+
* (the worker's grouped read, MonitorTelemetryMonitor's
|
|
365
|
+
* readQueryDataPoints), so a Past1Minute window is
|
|
355
366
|
* one or two buckets. Under AllValues EVERY bucket would have to
|
|
356
367
|
* read under 60s, which stops being true the moment the window
|
|
357
368
|
* straddles uptime crossing 60 — leaving a firing window as
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { AnomalyDetectionMethod, AnomalyDetectionSensitivity, CheckOn, CriteriaFilter, MetricAnomalyDetectionOptions } from "../CriteriaFilter.mjs";
|
|
2
|
+
import MonitorStep from "../MonitorStep.mjs";
|
|
3
|
+
export declare const EXCEPTION_MEASURES: ReadonlyArray<CheckOn>;
|
|
4
|
+
export declare const EXCEPTION_BASELINE_LOOKBACK_SECONDS: number;
|
|
5
|
+
export declare const EXCEPTION_BASELINE_MINIMUM_WEEKS: number;
|
|
6
|
+
export declare const EXCEPTION_BASELINE_MAXIMUM_WINDOW_DAYS: number;
|
|
7
|
+
export declare const EXCEPTION_ANOMALY_MINIMUM_COUNT: Record<AnomalyDetectionSensitivity, number>;
|
|
8
|
+
export interface ExceptionMonitorNeeds {
|
|
9
|
+
newExceptions: boolean;
|
|
10
|
+
regressedExceptions: boolean;
|
|
11
|
+
baseline: boolean;
|
|
12
|
+
learnedBaselineWindowDays: Array<number>;
|
|
13
|
+
}
|
|
14
|
+
export interface ExceptionAnomalySettings {
|
|
15
|
+
sensitivity: AnomalyDetectionSensitivity;
|
|
16
|
+
sigmaCount: number;
|
|
17
|
+
minimumCount: number;
|
|
18
|
+
windowDays: number;
|
|
19
|
+
method: AnomalyDetectionMethod;
|
|
20
|
+
minSamples: number;
|
|
21
|
+
}
|
|
22
|
+
export declare function isExceptionMeasure(checkOn: unknown): checkOn is CheckOn;
|
|
23
|
+
export declare function isExceptionCountAnomaly(filter: CriteriaFilter): boolean;
|
|
24
|
+
export declare function getExceptionAnomalySettings(options: MetricAnomalyDetectionOptions | undefined): ExceptionAnomalySettings;
|
|
25
|
+
export declare function getExceptionMonitorNeeds(monitorStep: MonitorStep | undefined): ExceptionMonitorNeeds;
|
|
26
|
+
export declare function getUsualExceptionCount(data: {
|
|
27
|
+
previousCount: number;
|
|
28
|
+
windowSeconds: number;
|
|
29
|
+
lookbackSeconds?: number | undefined;
|
|
30
|
+
}): number;
|
|
31
|
+
export declare function getExceptionIncreasePercent(data: {
|
|
32
|
+
currentCount: number;
|
|
33
|
+
usualCount: number;
|
|
34
|
+
}): number;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { AnomalyDetectionMethod, AnomalyDetectionSensitivity, CheckOn, CriteriaFilter, MetricAnomalyDetectionOptions } from "../CriteriaFilter";
|
|
2
|
+
import MonitorStep from "../MonitorStep";
|
|
3
|
+
export declare const EXCEPTION_MEASURES: ReadonlyArray<CheckOn>;
|
|
4
|
+
export declare const EXCEPTION_BASELINE_LOOKBACK_SECONDS: number;
|
|
5
|
+
export declare const EXCEPTION_BASELINE_MINIMUM_WEEKS: number;
|
|
6
|
+
export declare const EXCEPTION_BASELINE_MAXIMUM_WINDOW_DAYS: number;
|
|
7
|
+
export declare const EXCEPTION_ANOMALY_MINIMUM_COUNT: Record<AnomalyDetectionSensitivity, number>;
|
|
8
|
+
export interface ExceptionMonitorNeeds {
|
|
9
|
+
newExceptions: boolean;
|
|
10
|
+
regressedExceptions: boolean;
|
|
11
|
+
baseline: boolean;
|
|
12
|
+
learnedBaselineWindowDays: Array<number>;
|
|
13
|
+
}
|
|
14
|
+
export interface ExceptionAnomalySettings {
|
|
15
|
+
sensitivity: AnomalyDetectionSensitivity;
|
|
16
|
+
sigmaCount: number;
|
|
17
|
+
minimumCount: number;
|
|
18
|
+
windowDays: number;
|
|
19
|
+
method: AnomalyDetectionMethod;
|
|
20
|
+
minSamples: number;
|
|
21
|
+
}
|
|
22
|
+
export declare function isExceptionMeasure(checkOn: unknown): checkOn is CheckOn;
|
|
23
|
+
export declare function isExceptionCountAnomaly(filter: CriteriaFilter): boolean;
|
|
24
|
+
export declare function getExceptionAnomalySettings(options: MetricAnomalyDetectionOptions | undefined): ExceptionAnomalySettings;
|
|
25
|
+
export declare function getExceptionMonitorNeeds(monitorStep: MonitorStep | undefined): ExceptionMonitorNeeds;
|
|
26
|
+
export declare function getUsualExceptionCount(data: {
|
|
27
|
+
previousCount: number;
|
|
28
|
+
windowSeconds: number;
|
|
29
|
+
lookbackSeconds?: number | undefined;
|
|
30
|
+
}): number;
|
|
31
|
+
export declare function getExceptionIncreasePercent(data: {
|
|
32
|
+
currentCount: number;
|
|
33
|
+
usualCount: number;
|
|
34
|
+
}): number;
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EXCEPTION_ANOMALY_MINIMUM_COUNT = exports.EXCEPTION_BASELINE_MAXIMUM_WINDOW_DAYS = exports.EXCEPTION_BASELINE_MINIMUM_WEEKS = exports.EXCEPTION_BASELINE_LOOKBACK_SECONDS = exports.EXCEPTION_MEASURES = void 0;
|
|
4
|
+
exports.isExceptionMeasure = isExceptionMeasure;
|
|
5
|
+
exports.isExceptionCountAnomaly = isExceptionCountAnomaly;
|
|
6
|
+
exports.getExceptionAnomalySettings = getExceptionAnomalySettings;
|
|
7
|
+
exports.getExceptionMonitorNeeds = getExceptionMonitorNeeds;
|
|
8
|
+
exports.getUsualExceptionCount = getUsualExceptionCount;
|
|
9
|
+
exports.getExceptionIncreasePercent = getExceptionIncreasePercent;
|
|
10
|
+
const CriteriaFilter_1 = require("../CriteriaFilter");
|
|
11
|
+
/*
|
|
12
|
+
* WHAT AN EXCEPTIONS MONITOR CAN ALERT ON, BEYOND HOW MANY.
|
|
13
|
+
*
|
|
14
|
+
* Besides the number of matching occurrences in its window (Exception
|
|
15
|
+
* Count), an Exceptions monitor can alert on:
|
|
16
|
+
*
|
|
17
|
+
* - New Exceptions: matching exception groups first seen in the window -
|
|
18
|
+
* a bug nobody has seen before;
|
|
19
|
+
* - Regressed Exceptions: matching groups that came back in the window
|
|
20
|
+
* after they were resolved, and are still open - a fix that did not
|
|
21
|
+
* hold;
|
|
22
|
+
* - Exception Increase (in %): how far the window's count is above the
|
|
23
|
+
* usual one - the matching occurrences of the day before the window, per
|
|
24
|
+
* window of the same length - a spike.
|
|
25
|
+
*
|
|
26
|
+
* The count itself can also be judged against what is normal for the hour
|
|
27
|
+
* of the week, learned from the monitor's own history: Exception Count with
|
|
28
|
+
* an anomaly condition (ExceptionLearnedBaseline). That knows a service's
|
|
29
|
+
* daily and weekly rhythm, where a fixed percent over yesterday does not.
|
|
30
|
+
*
|
|
31
|
+
* Shared by the worker that measures them (MonitorTelemetryMonitor), the
|
|
32
|
+
* criteria that judge them (ExceptionMonitorCriteria) and the Dashboard's
|
|
33
|
+
* rule editor. Pure.
|
|
34
|
+
*/
|
|
35
|
+
exports.EXCEPTION_MEASURES = [
|
|
36
|
+
CriteriaFilter_1.CheckOn.ExceptionCount,
|
|
37
|
+
CriteriaFilter_1.CheckOn.NewExceptionCount,
|
|
38
|
+
CriteriaFilter_1.CheckOn.RegressedExceptionCount,
|
|
39
|
+
CriteriaFilter_1.CheckOn.ExceptionCountIncreasePercent,
|
|
40
|
+
];
|
|
41
|
+
// The day before the window: what "the usual" count is read from.
|
|
42
|
+
exports.EXCEPTION_BASELINE_LOOKBACK_SECONDS = 24 * 60 * 60;
|
|
43
|
+
/*
|
|
44
|
+
* How many earlier weeks a learned baseline needs before it may alert: the
|
|
45
|
+
* same hour of the week seen more than once, so one odd week is not taken
|
|
46
|
+
* for the service's rhythm. As the shortest baseline window, 14 days.
|
|
47
|
+
*/
|
|
48
|
+
exports.EXCEPTION_BASELINE_MINIMUM_WEEKS = 2;
|
|
49
|
+
// The longest baseline window: twelve earlier weeks are read at most.
|
|
50
|
+
exports.EXCEPTION_BASELINE_MAXIMUM_WINDOW_DAYS = 90;
|
|
51
|
+
/*
|
|
52
|
+
* The fewest exceptions in a window that can read as unusually high. A
|
|
53
|
+
* service that throws almost nothing has almost no range, and its second
|
|
54
|
+
* exception of the month is statistically remarkable and no reason to wake
|
|
55
|
+
* anyone: the first few of a quiet service do not alert, and a real burst
|
|
56
|
+
* does.
|
|
57
|
+
*/
|
|
58
|
+
exports.EXCEPTION_ANOMALY_MINIMUM_COUNT = {
|
|
59
|
+
[CriteriaFilter_1.AnomalyDetectionSensitivity.Low]: 20,
|
|
60
|
+
[CriteriaFilter_1.AnomalyDetectionSensitivity.Medium]: 10,
|
|
61
|
+
[CriteriaFilter_1.AnomalyDetectionSensitivity.High]: 5,
|
|
62
|
+
};
|
|
63
|
+
function isExceptionMeasure(checkOn) {
|
|
64
|
+
return exports.EXCEPTION_MEASURES.includes(checkOn);
|
|
65
|
+
}
|
|
66
|
+
/*
|
|
67
|
+
* Whether a filter judges the count against the learned baseline. Only the
|
|
68
|
+
* count has one: a new, regressed or rising measure has no history here.
|
|
69
|
+
*/
|
|
70
|
+
function isExceptionCountAnomaly(filter) {
|
|
71
|
+
return (filter.checkOn === CriteriaFilter_1.CheckOn.ExceptionCount &&
|
|
72
|
+
CriteriaFilter_1.CriteriaFilterUtil.isAnomalyFilterType(filter.filterType));
|
|
73
|
+
}
|
|
74
|
+
/*
|
|
75
|
+
* The settings of an anomaly condition, each as stored or its default. The
|
|
76
|
+
* API and Terraform write these options as raw JSON, so a value that is not
|
|
77
|
+
* a usable number reads as unset rather than failing the check.
|
|
78
|
+
*/
|
|
79
|
+
function getExceptionAnomalySettings(options) {
|
|
80
|
+
const sensitivity = Object.values(CriteriaFilter_1.AnomalyDetectionSensitivity).includes(options === null || options === void 0 ? void 0 : options.sensitivity)
|
|
81
|
+
? options.sensitivity
|
|
82
|
+
: CriteriaFilter_1.AnomalyDetectionSensitivity.Medium;
|
|
83
|
+
const sigmaCount = Number(options === null || options === void 0 ? void 0 : options.sigmaCount);
|
|
84
|
+
const minimumCount = Number(options === null || options === void 0 ? void 0 : options.minimumCount);
|
|
85
|
+
const windowDays = Number(options === null || options === void 0 ? void 0 : options.windowDays);
|
|
86
|
+
const minSamples = Number(options === null || options === void 0 ? void 0 : options.minSamples);
|
|
87
|
+
return {
|
|
88
|
+
sensitivity,
|
|
89
|
+
sigmaCount: Number.isFinite(sigmaCount) && sigmaCount > 0
|
|
90
|
+
? sigmaCount
|
|
91
|
+
: CriteriaFilter_1.ANOMALY_SIGMA_BY_SENSITIVITY[sensitivity],
|
|
92
|
+
minimumCount: (options === null || options === void 0 ? void 0 : options.minimumCount) !== undefined &&
|
|
93
|
+
options.minimumCount !== null &&
|
|
94
|
+
Number.isFinite(minimumCount) &&
|
|
95
|
+
minimumCount >= 0
|
|
96
|
+
? minimumCount
|
|
97
|
+
: exports.EXCEPTION_ANOMALY_MINIMUM_COUNT[sensitivity],
|
|
98
|
+
windowDays: Math.min(Math.max(Number.isFinite(windowDays) && windowDays > 0
|
|
99
|
+
? windowDays
|
|
100
|
+
: CriteriaFilter_1.DEFAULT_ANOMALY_WINDOW_DAYS, exports.EXCEPTION_BASELINE_MINIMUM_WEEKS * 7), exports.EXCEPTION_BASELINE_MAXIMUM_WINDOW_DAYS),
|
|
101
|
+
method: (options === null || options === void 0 ? void 0 : options.method) === CriteriaFilter_1.AnomalyDetectionMethod.MedianMad
|
|
102
|
+
? CriteriaFilter_1.AnomalyDetectionMethod.MedianMad
|
|
103
|
+
: CriteriaFilter_1.AnomalyDetectionMethod.MeanStddev,
|
|
104
|
+
minSamples: Number.isFinite(minSamples) && minSamples > 0 ? minSamples : 1,
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
/*
|
|
108
|
+
* What the monitor's criteria ask for beyond the count, so the worker reads
|
|
109
|
+
* nothing it will not judge: a plain Exception Count monitor costs what it
|
|
110
|
+
* always did.
|
|
111
|
+
*/
|
|
112
|
+
function getExceptionMonitorNeeds(monitorStep) {
|
|
113
|
+
var _a, _b, _c, _d, _e;
|
|
114
|
+
const needs = {
|
|
115
|
+
newExceptions: false,
|
|
116
|
+
regressedExceptions: false,
|
|
117
|
+
baseline: false,
|
|
118
|
+
learnedBaselineWindowDays: [],
|
|
119
|
+
};
|
|
120
|
+
const instances = ((_c = (_b = (_a = monitorStep === null || monitorStep === void 0 ? void 0 : monitorStep.data) === null || _a === void 0 ? void 0 : _a.monitorCriteria) === null || _b === void 0 ? void 0 : _b.data) === null || _c === void 0 ? void 0 : _c.monitorCriteriaInstanceArray) ||
|
|
121
|
+
[];
|
|
122
|
+
for (const instance of instances) {
|
|
123
|
+
for (const filter of (((_d = instance.data) === null || _d === void 0 ? void 0 : _d.filters) ||
|
|
124
|
+
[])) {
|
|
125
|
+
if (filter.checkOn === CriteriaFilter_1.CheckOn.NewExceptionCount) {
|
|
126
|
+
needs.newExceptions = true;
|
|
127
|
+
}
|
|
128
|
+
if (filter.checkOn === CriteriaFilter_1.CheckOn.RegressedExceptionCount) {
|
|
129
|
+
needs.regressedExceptions = true;
|
|
130
|
+
}
|
|
131
|
+
if (filter.checkOn === CriteriaFilter_1.CheckOn.ExceptionCountIncreasePercent) {
|
|
132
|
+
needs.baseline = true;
|
|
133
|
+
}
|
|
134
|
+
if (isExceptionCountAnomaly(filter)) {
|
|
135
|
+
const windowDays = getExceptionAnomalySettings((_e = filter.metricMonitorOptions) === null || _e === void 0 ? void 0 : _e.anomalyDetection).windowDays;
|
|
136
|
+
if (!needs.learnedBaselineWindowDays.includes(windowDays)) {
|
|
137
|
+
needs.learnedBaselineWindowDays.push(windowDays);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
return needs;
|
|
143
|
+
}
|
|
144
|
+
/*
|
|
145
|
+
* The usual count for a window of `windowSeconds`: the occurrences of the
|
|
146
|
+
* lookback before it, spread evenly over windows of that length.
|
|
147
|
+
*/
|
|
148
|
+
function getUsualExceptionCount(data) {
|
|
149
|
+
const lookback = data.lookbackSeconds && data.lookbackSeconds > 0
|
|
150
|
+
? data.lookbackSeconds
|
|
151
|
+
: exports.EXCEPTION_BASELINE_LOOKBACK_SECONDS;
|
|
152
|
+
const previous = Math.max(0, data.previousCount || 0);
|
|
153
|
+
const window = Math.max(1, data.windowSeconds || 0);
|
|
154
|
+
return (previous * window) / lookback;
|
|
155
|
+
}
|
|
156
|
+
/*
|
|
157
|
+
* How far the count is above the usual one, in percent, never below 0. The
|
|
158
|
+
* usual count is taken as at least one occurrence, so a service that was
|
|
159
|
+
* quiet and now throws ten reads 900% - ten times the least it could have
|
|
160
|
+
* been - rather than an infinite jump, and an unchanged or lower count
|
|
161
|
+
* reads 0.
|
|
162
|
+
*/
|
|
163
|
+
function getExceptionIncreasePercent(data) {
|
|
164
|
+
const usual = Math.max(1, data.usualCount || 0);
|
|
165
|
+
const current = Math.max(0, data.currentCount || 0);
|
|
166
|
+
if (current <= usual) {
|
|
167
|
+
return 0;
|
|
168
|
+
}
|
|
169
|
+
return Math.round(((current - usual) / usual) * 100);
|
|
170
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import commonJsModule from "./ExceptionMonitorEvaluation.js";
|
|
2
|
+
export const EXCEPTION_ANOMALY_MINIMUM_COUNT = commonJsModule.EXCEPTION_ANOMALY_MINIMUM_COUNT;
|
|
3
|
+
export const EXCEPTION_BASELINE_LOOKBACK_SECONDS = commonJsModule.EXCEPTION_BASELINE_LOOKBACK_SECONDS;
|
|
4
|
+
export const EXCEPTION_BASELINE_MAXIMUM_WINDOW_DAYS = commonJsModule.EXCEPTION_BASELINE_MAXIMUM_WINDOW_DAYS;
|
|
5
|
+
export const EXCEPTION_BASELINE_MINIMUM_WEEKS = commonJsModule.EXCEPTION_BASELINE_MINIMUM_WEEKS;
|
|
6
|
+
export const EXCEPTION_MEASURES = commonJsModule.EXCEPTION_MEASURES;
|
|
7
|
+
export const getExceptionAnomalySettings = commonJsModule.getExceptionAnomalySettings;
|
|
8
|
+
export const getExceptionIncreasePercent = commonJsModule.getExceptionIncreasePercent;
|
|
9
|
+
export const getExceptionMonitorNeeds = commonJsModule.getExceptionMonitorNeeds;
|
|
10
|
+
export const getUsualExceptionCount = commonJsModule.getUsualExceptionCount;
|
|
11
|
+
export const isExceptionCountAnomaly = commonJsModule.isExceptionCountAnomaly;
|
|
12
|
+
export const isExceptionMeasure = commonJsModule.isExceptionMeasure;
|
|
@@ -2,10 +2,27 @@ import Query from "../../BaseDatabase/Query.mjs";
|
|
|
2
2
|
import ObjectID from "../../ObjectID.mjs";
|
|
3
3
|
import ExceptionInstance from "../../../Models/AnalyticsModels/ExceptionInstance.mjs";
|
|
4
4
|
import MonitorEvaluationSummary from "../MonitorEvaluationSummary.mjs";
|
|
5
|
+
export interface ExceptionLearnedBaseline {
|
|
6
|
+
windowDays: number;
|
|
7
|
+
windowSeconds: number;
|
|
8
|
+
weeksOfHistory: number;
|
|
9
|
+
sampleCount: number;
|
|
10
|
+
mean: number;
|
|
11
|
+
stddev: number;
|
|
12
|
+
median: number;
|
|
13
|
+
madSigma: number;
|
|
14
|
+
minObserved: number;
|
|
15
|
+
maxObserved: number;
|
|
16
|
+
}
|
|
5
17
|
export default interface ExceptionMonitorResponse {
|
|
6
18
|
projectId: ObjectID;
|
|
7
19
|
exceptionCount: number;
|
|
8
20
|
exceptionQuery: Query<ExceptionInstance>;
|
|
9
21
|
monitorId: ObjectID;
|
|
10
22
|
evaluationSummary?: MonitorEvaluationSummary | undefined;
|
|
23
|
+
newExceptionCount?: number | undefined;
|
|
24
|
+
regressedExceptionCount?: number | undefined;
|
|
25
|
+
exceptionCountBaseline?: number | undefined;
|
|
26
|
+
exceptionCountIncreasePercent?: number | undefined;
|
|
27
|
+
exceptionLearnedBaselines?: Array<ExceptionLearnedBaseline> | undefined;
|
|
11
28
|
}
|
|
@@ -2,10 +2,27 @@ import Query from "../../BaseDatabase/Query";
|
|
|
2
2
|
import ObjectID from "../../ObjectID";
|
|
3
3
|
import ExceptionInstance from "../../../Models/AnalyticsModels/ExceptionInstance";
|
|
4
4
|
import MonitorEvaluationSummary from "../MonitorEvaluationSummary";
|
|
5
|
+
export interface ExceptionLearnedBaseline {
|
|
6
|
+
windowDays: number;
|
|
7
|
+
windowSeconds: number;
|
|
8
|
+
weeksOfHistory: number;
|
|
9
|
+
sampleCount: number;
|
|
10
|
+
mean: number;
|
|
11
|
+
stddev: number;
|
|
12
|
+
median: number;
|
|
13
|
+
madSigma: number;
|
|
14
|
+
minObserved: number;
|
|
15
|
+
maxObserved: number;
|
|
16
|
+
}
|
|
5
17
|
export default interface ExceptionMonitorResponse {
|
|
6
18
|
projectId: ObjectID;
|
|
7
19
|
exceptionCount: number;
|
|
8
20
|
exceptionQuery: Query<ExceptionInstance>;
|
|
9
21
|
monitorId: ObjectID;
|
|
10
22
|
evaluationSummary?: MonitorEvaluationSummary | undefined;
|
|
23
|
+
newExceptionCount?: number | undefined;
|
|
24
|
+
regressedExceptionCount?: number | undefined;
|
|
25
|
+
exceptionCountBaseline?: number | undefined;
|
|
26
|
+
exceptionCountIncreasePercent?: number | undefined;
|
|
27
|
+
exceptionLearnedBaselines?: Array<ExceptionLearnedBaseline> | undefined;
|
|
11
28
|
}
|
|
@@ -8,6 +8,8 @@ export interface HostMetricDefinition {
|
|
|
8
8
|
category: HostMetricCategory;
|
|
9
9
|
defaultAggregation: MetricsAggregationType;
|
|
10
10
|
unit?: string;
|
|
11
|
+
attributes?: Record<string, string> | undefined;
|
|
12
|
+
groupByAttributeKeys?: Array<string> | undefined;
|
|
11
13
|
}
|
|
12
14
|
export declare function getAllHostMetrics(): Array<HostMetricDefinition>;
|
|
13
15
|
export declare function getHostMetricsByCategory(category: HostMetricCategory): Array<HostMetricDefinition>;
|
|
@@ -8,6 +8,8 @@ export interface HostMetricDefinition {
|
|
|
8
8
|
category: HostMetricCategory;
|
|
9
9
|
defaultAggregation: MetricsAggregationType;
|
|
10
10
|
unit?: string;
|
|
11
|
+
attributes?: Record<string, string> | undefined;
|
|
12
|
+
groupByAttributeKeys?: Array<string> | undefined;
|
|
11
13
|
}
|
|
12
14
|
export declare function getAllHostMetrics(): Array<HostMetricDefinition>;
|
|
13
15
|
export declare function getHostMetricsByCategory(category: HostMetricCategory): Array<HostMetricDefinition>;
|
|
@@ -10,8 +10,8 @@ exports.getHostMetricByMetricName = getHostMetricByMetricName;
|
|
|
10
10
|
exports.getAllHostMetricCategories = getAllHostMetricCategories;
|
|
11
11
|
const MetricsAggregationType_1 = __importDefault(require("../Metrics/MetricsAggregationType"));
|
|
12
12
|
/*
|
|
13
|
-
* These are the real OpenTelemetry host metrics
|
|
14
|
-
*
|
|
13
|
+
* These are the real OpenTelemetry host metrics an OpenTelemetry Collector's
|
|
14
|
+
* hostmetrics receiver sends from a host (the Hosts product). The
|
|
15
15
|
* utilization metrics (system.cpu.utilization, system.memory.utilization,
|
|
16
16
|
* system.filesystem.utilization) are reported as a [0, 1] ratio by the OTel
|
|
17
17
|
* host receiver, so the friendly unit is "ratio" — the dashboard auto-scales
|
|
@@ -22,68 +22,76 @@ const hostMetricCatalog = [
|
|
|
22
22
|
{
|
|
23
23
|
id: "system-cpu-utilization",
|
|
24
24
|
friendlyName: "CPU Utilization",
|
|
25
|
-
description: "
|
|
25
|
+
description: "Share of CPU time spent running applications (the user state), as a ratio (0 to 1). The High CPU Utilization template adds system time.",
|
|
26
26
|
metricName: "system.cpu.utilization",
|
|
27
27
|
category: "CPU",
|
|
28
28
|
defaultAggregation: MetricsAggregationType_1.default.Avg,
|
|
29
29
|
unit: "ratio",
|
|
30
|
+
attributes: { state: "user" },
|
|
30
31
|
},
|
|
31
32
|
{
|
|
32
33
|
id: "process-cpu-utilization",
|
|
33
34
|
friendlyName: "Process CPU Utilization",
|
|
34
|
-
description: "
|
|
35
|
+
description: "CPU utilization of each process on the host, as a ratio (0 to 1), one series per executable.",
|
|
35
36
|
metricName: "process.cpu.utilization",
|
|
36
37
|
category: "CPU",
|
|
37
38
|
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
38
39
|
unit: "ratio",
|
|
40
|
+
groupByAttributeKeys: ["resource.process.executable.name"],
|
|
39
41
|
},
|
|
40
42
|
// Memory Metrics
|
|
41
43
|
{
|
|
42
44
|
id: "system-memory-utilization",
|
|
43
45
|
friendlyName: "Memory Utilization",
|
|
44
|
-
description: "
|
|
46
|
+
description: "Share of physical memory in use, as a ratio (0 to 1). Page cache and buffers are left out.",
|
|
45
47
|
metricName: "system.memory.utilization",
|
|
46
48
|
category: "Memory",
|
|
47
49
|
defaultAggregation: MetricsAggregationType_1.default.Avg,
|
|
48
50
|
unit: "ratio",
|
|
51
|
+
attributes: { state: "used" },
|
|
49
52
|
},
|
|
50
53
|
{
|
|
51
54
|
id: "system-memory-usage",
|
|
52
55
|
friendlyName: "Memory Usage",
|
|
53
|
-
description: "
|
|
56
|
+
description: "Memory in use, in bytes. Page cache and buffers are left out.",
|
|
54
57
|
metricName: "system.memory.usage",
|
|
55
58
|
category: "Memory",
|
|
56
59
|
defaultAggregation: MetricsAggregationType_1.default.Avg,
|
|
57
60
|
unit: "bytes",
|
|
61
|
+
attributes: { state: "used" },
|
|
58
62
|
},
|
|
59
63
|
// Disk / Filesystem Metrics
|
|
60
64
|
{
|
|
61
65
|
id: "system-filesystem-utilization",
|
|
62
66
|
friendlyName: "Filesystem Utilization",
|
|
63
|
-
description: "
|
|
67
|
+
description: "Share of each filesystem in use, as a ratio (0 to 1), one series per mount point.",
|
|
64
68
|
metricName: "system.filesystem.utilization",
|
|
65
69
|
category: "Disk",
|
|
66
70
|
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
67
71
|
unit: "ratio",
|
|
72
|
+
groupByAttributeKeys: ["mountpoint"],
|
|
68
73
|
},
|
|
69
74
|
{
|
|
70
75
|
id: "system-filesystem-usage",
|
|
71
76
|
friendlyName: "Filesystem Usage",
|
|
72
|
-
description: "
|
|
77
|
+
description: "Bytes in use on each filesystem, one series per mount point.",
|
|
73
78
|
metricName: "system.filesystem.usage",
|
|
74
79
|
category: "Disk",
|
|
75
80
|
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
76
81
|
unit: "bytes",
|
|
82
|
+
attributes: { state: "used" },
|
|
83
|
+
groupByAttributeKeys: ["mountpoint"],
|
|
77
84
|
},
|
|
78
85
|
// Network Metrics
|
|
79
86
|
{
|
|
80
87
|
id: "system-network-io",
|
|
81
88
|
friendlyName: "Network I/O",
|
|
82
|
-
description: "
|
|
89
|
+
description: "Bytes received and sent since the host started, one series per direction. A lifetime counter: it only grows.",
|
|
83
90
|
metricName: "system.network.io",
|
|
84
91
|
category: "Network",
|
|
85
|
-
defaultAggregation: MetricsAggregationType_1.default.
|
|
92
|
+
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
86
93
|
unit: "bytes",
|
|
94
|
+
groupByAttributeKeys: ["direction"],
|
|
87
95
|
},
|
|
88
96
|
// Load Average Metrics
|
|
89
97
|
{
|
|
@@ -117,11 +125,12 @@ const hostMetricCatalog = [
|
|
|
117
125
|
{
|
|
118
126
|
id: "system-processes-count",
|
|
119
127
|
friendlyName: "Process Count",
|
|
120
|
-
description: "Number of processes
|
|
128
|
+
description: "Number of processes on the host, one series per status (running, sleeping, blocked...).",
|
|
121
129
|
metricName: "system.processes.count",
|
|
122
130
|
category: "Processes",
|
|
123
131
|
defaultAggregation: MetricsAggregationType_1.default.Avg,
|
|
124
132
|
unit: "count",
|
|
133
|
+
groupByAttributeKeys: ["status"],
|
|
125
134
|
},
|
|
126
135
|
];
|
|
127
136
|
function getAllHostMetrics() {
|
|
@@ -63,6 +63,7 @@ export declare function buildIoTMonitorConfig(args: {
|
|
|
63
63
|
attributes?: Record<string, string>;
|
|
64
64
|
groupByAttributeKey?: string | undefined;
|
|
65
65
|
legendUnit?: string | undefined;
|
|
66
|
+
judgeLatestReading?: boolean | undefined;
|
|
66
67
|
}): MonitorStepIoTMonitor;
|
|
67
68
|
/**
|
|
68
69
|
* Build a ratio monitor: `(numerator / denominator) * 100`, optionally
|
|
@@ -63,6 +63,7 @@ export declare function buildIoTMonitorConfig(args: {
|
|
|
63
63
|
attributes?: Record<string, string>;
|
|
64
64
|
groupByAttributeKey?: string | undefined;
|
|
65
65
|
legendUnit?: string | undefined;
|
|
66
|
+
judgeLatestReading?: boolean | undefined;
|
|
66
67
|
}): MonitorStepIoTMonitor;
|
|
67
68
|
/**
|
|
68
69
|
* Build a ratio monitor: `(numerator / denominator) * 100`, optionally
|
|
@@ -74,10 +74,7 @@ function buildIoTOnlineCriteriaInstance(args) {
|
|
|
74
74
|
function buildIoTMonitorConfig(args) {
|
|
75
75
|
var _a, _b;
|
|
76
76
|
const legendUnit = (_a = args.legendUnit) !== null && _a !== void 0 ? _a : (_b = (0, IotMetricCatalog_1.getIoTMetricByMetricName)(args.metricName)) === null || _b === void 0 ? void 0 : _b.unit;
|
|
77
|
-
return {
|
|
78
|
-
fleetIdentifier: args.fleetIdentifier,
|
|
79
|
-
resourceFilters: {},
|
|
80
|
-
metricViewConfig: {
|
|
77
|
+
return Object.assign(Object.assign({ fleetIdentifier: args.fleetIdentifier }, (args.judgeLatestReading ? { judgeLatestReading: true } : {})), { resourceFilters: {}, metricViewConfig: {
|
|
81
78
|
queryConfigs: [
|
|
82
79
|
{
|
|
83
80
|
metricAliasData: {
|
|
@@ -98,9 +95,7 @@ function buildIoTMonitorConfig(args) {
|
|
|
98
95
|
},
|
|
99
96
|
],
|
|
100
97
|
formulaConfigs: [],
|
|
101
|
-
},
|
|
102
|
-
rollingTime: args.rollingTime,
|
|
103
|
-
};
|
|
98
|
+
}, rollingTime: args.rollingTime });
|
|
104
99
|
}
|
|
105
100
|
/**
|
|
106
101
|
* Build a ratio monitor: `(numerator / denominator) * 100`, optionally
|
|
@@ -219,6 +214,15 @@ const deviceOfflineTemplate = {
|
|
|
219
214
|
aggregationType: MetricsAggregationType_1.default.Min,
|
|
220
215
|
attributes: {},
|
|
221
216
|
groupByAttributeKey: "device.id",
|
|
217
|
+
/*
|
|
218
|
+
* A down reading is a state: the device is down until it says
|
|
219
|
+
* otherwise. Judged over every reading in the window, a Last Will's
|
|
220
|
+
* 0 kept "any value < 1" true - and the incident open - for up to
|
|
221
|
+
* thirty minutes after the device came back. Each device is judged
|
|
222
|
+
* on its latest reading instead; a silent device still has no
|
|
223
|
+
* reading, and its no-data policy decides.
|
|
224
|
+
*/
|
|
225
|
+
judgeLatestReading: true,
|
|
222
226
|
}),
|
|
223
227
|
offlineCriteriaInstance: buildIoTOfflineCriteriaInstance({
|
|
224
228
|
offlineMonitorStatusId: args.offlineMonitorStatusId,
|
|
@@ -4,7 +4,7 @@ import MonitorCriteriaInstance from "./MonitorCriteriaInstance.mjs";
|
|
|
4
4
|
import { AdditionalCriteriaFilterSpec } from "./Recommendation/RecommendationCriteriaBuilder.mjs";
|
|
5
5
|
import FilterCondition from "../Filter/FilterCondition.mjs";
|
|
6
6
|
import { FilterType, EvaluateOverTimeType } from "./CriteriaFilter.mjs";
|
|
7
|
-
import MonitorStepKubernetesMonitor, { KubernetesResourceScope } from "./MonitorStepKubernetesMonitor.mjs";
|
|
7
|
+
import MonitorStepKubernetesMonitor, { KubernetesResourceScope, KubernetesWorkloadKind } from "./MonitorStepKubernetesMonitor.mjs";
|
|
8
8
|
import RollingTime from "../RollingTime/RollingTime.mjs";
|
|
9
9
|
import MetricsAggregationType from "../Metrics/MetricsAggregationType.mjs";
|
|
10
10
|
export type KubernetesAlertTemplateCategory = "Availability" | "Workload" | "Node" | "ControlPlane" | "Storage" | "Scheduling";
|
|
@@ -24,6 +24,7 @@ export interface KubernetesAlertTemplate {
|
|
|
24
24
|
description: string;
|
|
25
25
|
category: KubernetesAlertTemplateCategory;
|
|
26
26
|
severity: KubernetesAlertTemplateSeverity;
|
|
27
|
+
workloadKind?: KubernetesWorkloadKind | undefined;
|
|
27
28
|
getMonitorStep: (args: KubernetesAlertTemplateArgs) => MonitorStep;
|
|
28
29
|
}
|
|
29
30
|
export declare function buildKubernetesMonitorStep(args: {
|
|
@@ -181,6 +182,7 @@ export interface KubernetesQuerySpec {
|
|
|
181
182
|
alias: string;
|
|
182
183
|
metricName: string;
|
|
183
184
|
aggregationType: MetricsAggregationType;
|
|
185
|
+
title?: string | undefined;
|
|
184
186
|
}
|
|
185
187
|
export interface KubernetesFormulaSpec {
|
|
186
188
|
alias: string;
|
|
@@ -190,9 +192,11 @@ export interface KubernetesFormulaSpec {
|
|
|
190
192
|
}
|
|
191
193
|
/**
|
|
192
194
|
* Several queries over the SAME object, and the formulas over them that the
|
|
193
|
-
* criteria compare: a
|
|
194
|
-
* (CrashLoopBackOff
|
|
195
|
-
*
|
|
195
|
+
* criteria compare: a count next to the gauge that qualifies it
|
|
196
|
+
* (CrashLoopBackOff: the restarts the agent sends with each sample, and
|
|
197
|
+
* readiness), a titled count of its own (Job Failures: the failed pods the
|
|
198
|
+
* agent sends with each sample), or two derived values that must both hold
|
|
199
|
+
* (an HPA at its ceiling AND above its floor).
|
|
196
200
|
*
|
|
197
201
|
* Every query carries the same group-by key set, which is what lines the
|
|
198
202
|
* series up (see buildKubernetesRatioMonitorConfig: a key only one query
|
|
@@ -200,15 +204,14 @@ export interface KubernetesFormulaSpec {
|
|
|
200
204
|
* against an empty operand), so pass only keys every metric's receiver
|
|
201
205
|
* stamps itself.
|
|
202
206
|
*
|
|
203
|
-
* A counter's growth is
|
|
204
|
-
* a Max and a Min query over
|
|
205
|
-
* subtracting them
|
|
206
|
-
* criteria with `EvaluateOverTimeType.Sum` totals those across the window.
|
|
207
|
-
* The monitor path has no cross-bucket rate, so this sees only growth
|
|
207
|
+
* A counter's growth is NOT taken here. The monitor path has no cross-bucket
|
|
208
|
+
* rate, so a Max and a Min query over a lifetime counter and a formula
|
|
209
|
+
* subtracting them (buildDockerDeltaMonitorConfig) see only its growth
|
|
208
210
|
* between two samples of the SAME minute: at the agent's 30-second
|
|
209
|
-
* collection interval, about half of the real increments
|
|
210
|
-
*
|
|
211
|
-
*
|
|
211
|
+
* collection interval, about half of the real increments. The Kubernetes
|
|
212
|
+
* templates that count restarts or failures read the increase the agent
|
|
213
|
+
* sends with every sample instead (the chart's restarts-increase and
|
|
214
|
+
* job-failures-increase processors), summed over the window.
|
|
212
215
|
*/
|
|
213
216
|
export declare function buildKubernetesMultiQueryMonitorConfig(args: {
|
|
214
217
|
clusterIdentifier: string;
|