@oneuptime/common 14.0.99 → 14.0.100
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/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/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/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/KubernetesInventoryExtractor.js +23 -16
- package/Types/Kubernetes/KubernetesObjectParser.d.mts +24 -0
- package/Types/Kubernetes/KubernetesObjectParser.d.ts +24 -0
- package/Types/Kubernetes/KubernetesObjectParser.js +64 -0
- package/Types/Kubernetes/KubernetesObjectParser.mjs +3 -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 +155 -73
- package/Types/Monitor/KubernetesMetricCatalog.d.mts +2 -1
- package/Types/Monitor/KubernetesMetricCatalog.d.ts +2 -1
- package/Types/Monitor/KubernetesMetricCatalog.js +62 -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/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/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/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
|
@@ -3,6 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.getCephGroupByKeyForScope = getCephGroupByKeyForScope;
|
|
7
|
+
exports.getCephCustomMetricAggregations = getCephCustomMetricAggregations;
|
|
6
8
|
exports.getAllCephMetrics = getAllCephMetrics;
|
|
7
9
|
exports.getCephMetricsByCategory = getCephMetricsByCategory;
|
|
8
10
|
exports.getCephMetricById = getCephMetricById;
|
|
@@ -10,6 +12,45 @@ exports.getCephMetricByMetricName = getCephMetricByMetricName;
|
|
|
10
12
|
exports.getAllCephMetricCategories = getAllCephMetricCategories;
|
|
11
13
|
const MonitorStepCephMonitor_1 = require("./MonitorStepCephMonitor");
|
|
12
14
|
const MetricsAggregationType_1 = __importDefault(require("../Metrics/MetricsAggregationType"));
|
|
15
|
+
/*
|
|
16
|
+
* The label a metric's own object is told apart by: a per-pool series by
|
|
17
|
+
* `pool_id`, a per-daemon one (an OSD, a monitor) by `ceph_daemon`. A Custom
|
|
18
|
+
* Metric groups by it, so it judges each pool or daemon on its own and opens
|
|
19
|
+
* one incident each, as the templates do; a cluster-wide metric is not
|
|
20
|
+
* grouped.
|
|
21
|
+
*/
|
|
22
|
+
function getCephGroupByKeyForScope(scope) {
|
|
23
|
+
switch (scope) {
|
|
24
|
+
case MonitorStepCephMonitor_1.CephResourceScope.Pool:
|
|
25
|
+
return "pool_id";
|
|
26
|
+
case MonitorStepCephMonitor_1.CephResourceScope.Osd:
|
|
27
|
+
case MonitorStepCephMonitor_1.CephResourceScope.Mon:
|
|
28
|
+
return "ceph_daemon";
|
|
29
|
+
default:
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
/*
|
|
34
|
+
* The aggregations a Ceph Custom Metric offers. Not Sum or Count: every
|
|
35
|
+
* Ceph metric is a per-daemon or per-pool gauge the agent scrapes every 30
|
|
36
|
+
* seconds, so either adds up the scrapes in a minute - a Sum of OSD Up read
|
|
37
|
+
* 24 for 12 OSDs - and counts nothing. A monitor saved with one still offers
|
|
38
|
+
* it, and Advanced offers every aggregation.
|
|
39
|
+
*/
|
|
40
|
+
const CEPH_CUSTOM_METRIC_AGGREGATIONS = [
|
|
41
|
+
MetricsAggregationType_1.default.Avg,
|
|
42
|
+
MetricsAggregationType_1.default.Max,
|
|
43
|
+
MetricsAggregationType_1.default.Min,
|
|
44
|
+
];
|
|
45
|
+
function getCephCustomMetricAggregations(current) {
|
|
46
|
+
const offered = [
|
|
47
|
+
...CEPH_CUSTOM_METRIC_AGGREGATIONS,
|
|
48
|
+
];
|
|
49
|
+
if (current && !offered.includes(current)) {
|
|
50
|
+
offered.push(current);
|
|
51
|
+
}
|
|
52
|
+
return offered;
|
|
53
|
+
}
|
|
13
54
|
/*
|
|
14
55
|
* Metric names follow the ceph-mgr Prometheus module naming scheme.
|
|
15
56
|
* Per-daemon series carry a `ceph_daemon` datapoint label (e.g. "osd.3",
|
|
@@ -31,7 +72,7 @@ const cephMetricCatalog = [
|
|
|
31
72
|
{
|
|
32
73
|
id: "ceph-health-detail",
|
|
33
74
|
friendlyName: "Health Check Detail",
|
|
34
|
-
description: "One series per
|
|
75
|
+
description: "One series per health check (e.g. OSD_DOWN, PG_DEGRADED) with name and severity labels: 1 while the check is active, 0 after it clears, and no series for a check that has never fired. Exposed by the mgr prometheus module on Quincy and later — absent on older releases.",
|
|
35
76
|
metricName: "ceph_health_detail",
|
|
36
77
|
category: "Cluster Health",
|
|
37
78
|
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
@@ -61,20 +102,20 @@ const cephMetricCatalog = [
|
|
|
61
102
|
{
|
|
62
103
|
id: "ceph-mon-quorum-status",
|
|
63
104
|
friendlyName: "Monitor Quorum Status",
|
|
64
|
-
description: "Whether each Ceph monitor daemon is in quorum (1) or not (0). One series per monitor
|
|
105
|
+
description: "Whether each Ceph monitor daemon is in quorum (1) or not (0). One series per monitor: the minimum reads 0 when any monitor is out of quorum. A Sum adds every scrape in the minute, so it does not count members.",
|
|
65
106
|
metricName: "ceph_mon_quorum_status",
|
|
66
107
|
category: "Cluster Health",
|
|
67
|
-
defaultAggregation: MetricsAggregationType_1.default.
|
|
108
|
+
defaultAggregation: MetricsAggregationType_1.default.Min,
|
|
68
109
|
defaultResourceScope: MonitorStepCephMonitor_1.CephResourceScope.Mon,
|
|
69
110
|
unit: "count",
|
|
70
111
|
},
|
|
71
112
|
{
|
|
72
113
|
id: "ceph-mon-metadata",
|
|
73
114
|
friendlyName: "Monitor Metadata",
|
|
74
|
-
description: "Metadata series for each monitor daemon (value is always 1) carrying hostname and ceph_version labels. Sum
|
|
115
|
+
description: "Metadata series for each monitor daemon (value is always 1) carrying hostname and ceph_version labels: 1 while the monitor reports. A Sum adds every scrape in the minute, so it does not count monitors.",
|
|
75
116
|
metricName: "ceph_mon_metadata",
|
|
76
117
|
category: "Cluster Health",
|
|
77
|
-
defaultAggregation: MetricsAggregationType_1.default.
|
|
118
|
+
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
78
119
|
defaultResourceScope: MonitorStepCephMonitor_1.CephResourceScope.Mon,
|
|
79
120
|
unit: "count",
|
|
80
121
|
},
|
|
@@ -102,20 +143,20 @@ const cephMetricCatalog = [
|
|
|
102
143
|
{
|
|
103
144
|
id: "ceph-osd-up",
|
|
104
145
|
friendlyName: "OSD Up",
|
|
105
|
-
description: "Whether each OSD daemon is up (1) or down (0). One series per OSD
|
|
146
|
+
description: "Whether each OSD daemon is up (1) or down (0). One series per OSD: the minimum reads 0 when any OSD is down. A Sum adds every scrape in the minute, so it does not count OSDs.",
|
|
106
147
|
metricName: "ceph_osd_up",
|
|
107
148
|
category: "OSD",
|
|
108
|
-
defaultAggregation: MetricsAggregationType_1.default.
|
|
149
|
+
defaultAggregation: MetricsAggregationType_1.default.Min,
|
|
109
150
|
defaultResourceScope: MonitorStepCephMonitor_1.CephResourceScope.Osd,
|
|
110
151
|
unit: "count",
|
|
111
152
|
},
|
|
112
153
|
{
|
|
113
154
|
id: "ceph-osd-in",
|
|
114
155
|
friendlyName: "OSD In",
|
|
115
|
-
description: "Whether each OSD is in the cluster (1) or marked out (0). An OSD that is up but out no longer stores data and triggers rebalancing.",
|
|
156
|
+
description: "Whether each OSD is in the cluster (1) or marked out (0): the minimum reads 0 when any OSD is out. An OSD that is up but out no longer stores data and triggers rebalancing.",
|
|
116
157
|
metricName: "ceph_osd_in",
|
|
117
158
|
category: "OSD",
|
|
118
|
-
defaultAggregation: MetricsAggregationType_1.default.
|
|
159
|
+
defaultAggregation: MetricsAggregationType_1.default.Min,
|
|
119
160
|
defaultResourceScope: MonitorStepCephMonitor_1.CephResourceScope.Osd,
|
|
120
161
|
unit: "count",
|
|
121
162
|
},
|
|
@@ -172,10 +213,10 @@ const cephMetricCatalog = [
|
|
|
172
213
|
{
|
|
173
214
|
id: "ceph-osd-metadata",
|
|
174
215
|
friendlyName: "OSD Metadata",
|
|
175
|
-
description: "Metadata series for each OSD daemon (value is always 1) carrying hostname, device_class, and ceph_version labels. Sum
|
|
216
|
+
description: "Metadata series for each OSD daemon (value is always 1) carrying hostname, device_class, and ceph_version labels: 1 while the OSD reports. A Sum adds every scrape in the minute, so it does not count OSDs.",
|
|
176
217
|
metricName: "ceph_osd_metadata",
|
|
177
218
|
category: "OSD",
|
|
178
|
-
defaultAggregation: MetricsAggregationType_1.default.
|
|
219
|
+
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
179
220
|
defaultResourceScope: MonitorStepCephMonitor_1.CephResourceScope.Osd,
|
|
180
221
|
unit: "count",
|
|
181
222
|
},
|
|
@@ -213,50 +254,50 @@ const cephMetricCatalog = [
|
|
|
213
254
|
{
|
|
214
255
|
id: "ceph-pool-rd",
|
|
215
256
|
friendlyName: "Pool Read Operations",
|
|
216
|
-
description: "Cumulative read operations served by each pool. Chart as a rate to see read IOPS.",
|
|
257
|
+
description: "Cumulative read operations served by each pool. Chart as a rate to see read IOPS. Max reads its latest total.",
|
|
217
258
|
metricName: "ceph_pool_rd",
|
|
218
259
|
category: "Pool",
|
|
219
|
-
defaultAggregation: MetricsAggregationType_1.default.
|
|
260
|
+
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
220
261
|
defaultResourceScope: MonitorStepCephMonitor_1.CephResourceScope.Pool,
|
|
221
262
|
unit: "ops",
|
|
222
263
|
},
|
|
223
264
|
{
|
|
224
265
|
id: "ceph-pool-wr",
|
|
225
266
|
friendlyName: "Pool Write Operations",
|
|
226
|
-
description: "Cumulative write operations served by each pool. Chart as a rate to see write IOPS.",
|
|
267
|
+
description: "Cumulative write operations served by each pool. Chart as a rate to see write IOPS. Max reads its latest total.",
|
|
227
268
|
metricName: "ceph_pool_wr",
|
|
228
269
|
category: "Pool",
|
|
229
|
-
defaultAggregation: MetricsAggregationType_1.default.
|
|
270
|
+
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
230
271
|
defaultResourceScope: MonitorStepCephMonitor_1.CephResourceScope.Pool,
|
|
231
272
|
unit: "ops",
|
|
232
273
|
},
|
|
233
274
|
{
|
|
234
275
|
id: "ceph-pool-rd-bytes",
|
|
235
276
|
friendlyName: "Pool Read Throughput",
|
|
236
|
-
description: "Cumulative bytes read from each pool. Chart as a rate to see read throughput.",
|
|
277
|
+
description: "Cumulative bytes read from each pool. Chart as a rate to see read throughput. Max reads its latest total.",
|
|
237
278
|
metricName: "ceph_pool_rd_bytes",
|
|
238
279
|
category: "Pool",
|
|
239
|
-
defaultAggregation: MetricsAggregationType_1.default.
|
|
280
|
+
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
240
281
|
defaultResourceScope: MonitorStepCephMonitor_1.CephResourceScope.Pool,
|
|
241
282
|
unit: "bytes",
|
|
242
283
|
},
|
|
243
284
|
{
|
|
244
285
|
id: "ceph-pool-wr-bytes",
|
|
245
286
|
friendlyName: "Pool Write Throughput",
|
|
246
|
-
description: "Cumulative bytes written to each pool. Chart as a rate to see write throughput.",
|
|
287
|
+
description: "Cumulative bytes written to each pool. Chart as a rate to see write throughput. Max reads its latest total.",
|
|
247
288
|
metricName: "ceph_pool_wr_bytes",
|
|
248
289
|
category: "Pool",
|
|
249
|
-
defaultAggregation: MetricsAggregationType_1.default.
|
|
290
|
+
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
250
291
|
defaultResourceScope: MonitorStepCephMonitor_1.CephResourceScope.Pool,
|
|
251
292
|
unit: "bytes",
|
|
252
293
|
},
|
|
253
294
|
{
|
|
254
295
|
id: "ceph-pool-metadata",
|
|
255
296
|
friendlyName: "Pool Metadata",
|
|
256
|
-
description: "Metadata series for each pool (value is always 1) carrying the pool's name label — the ONLY series that maps pool_id to a name
|
|
297
|
+
description: "Metadata series for each pool (value is always 1) carrying the pool's name label — the ONLY series that maps pool_id to a name: 1 while the pool exists.",
|
|
257
298
|
metricName: "ceph_pool_metadata",
|
|
258
299
|
category: "Pool",
|
|
259
|
-
defaultAggregation: MetricsAggregationType_1.default.
|
|
300
|
+
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
260
301
|
defaultResourceScope: MonitorStepCephMonitor_1.CephResourceScope.Pool,
|
|
261
302
|
unit: "count",
|
|
262
303
|
},
|
|
@@ -265,36 +306,38 @@ const cephMetricCatalog = [
|
|
|
265
306
|
*
|
|
266
307
|
* All ceph_pg_* state metrics are exported PER POOL with a `pool_id`
|
|
267
308
|
* datapoint label on every supported release (Nautilus and later) —
|
|
268
|
-
* they are NOT single cluster-wide gauges. Sum
|
|
269
|
-
*
|
|
309
|
+
* they are NOT single cluster-wide gauges. A Sum would add every pool
|
|
310
|
+
* and every scrape in the minute (the agent scrapes every 30 seconds), so
|
|
311
|
+
* the counts default to Max and are compared pool by pool, grouped by
|
|
312
|
+
* pool_id, as the PG templates' ratios do.
|
|
270
313
|
*/
|
|
271
314
|
{
|
|
272
315
|
id: "ceph-pg-total",
|
|
273
316
|
friendlyName: "Total PGs",
|
|
274
|
-
description: "Number of placement groups per pool (pool_id label).
|
|
317
|
+
description: "Number of placement groups per pool (pool_id label). A Custom Metric judges each pool on its own. To compare Active or Clean PGs with it, as the PG templates do, use Advanced and group both by pool_id: a Sum adds every scrape in the minute as well as every pool.",
|
|
275
318
|
metricName: "ceph_pg_total",
|
|
276
319
|
category: "PG",
|
|
277
|
-
defaultAggregation: MetricsAggregationType_1.default.
|
|
320
|
+
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
278
321
|
defaultResourceScope: MonitorStepCephMonitor_1.CephResourceScope.Pool,
|
|
279
322
|
unit: "count",
|
|
280
323
|
},
|
|
281
324
|
{
|
|
282
325
|
id: "ceph-pg-active",
|
|
283
326
|
friendlyName: "Active PGs",
|
|
284
|
-
description: "Number of placement groups in the active state (able to serve I/O) per pool (pool_id label). In a healthy
|
|
327
|
+
description: "Number of placement groups in the active state (able to serve I/O) per pool (pool_id label). In a healthy pool it equals Total PGs; to compare the two, use Advanced and group both by pool_id.",
|
|
285
328
|
metricName: "ceph_pg_active",
|
|
286
329
|
category: "PG",
|
|
287
|
-
defaultAggregation: MetricsAggregationType_1.default.
|
|
330
|
+
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
288
331
|
defaultResourceScope: MonitorStepCephMonitor_1.CephResourceScope.Pool,
|
|
289
332
|
unit: "count",
|
|
290
333
|
},
|
|
291
334
|
{
|
|
292
335
|
id: "ceph-pg-clean",
|
|
293
336
|
friendlyName: "Clean PGs",
|
|
294
|
-
description: "Number of placement groups in the clean state (fully replicated, no recovery pending) per pool (pool_id label). In a healthy
|
|
337
|
+
description: "Number of placement groups in the clean state (fully replicated, no recovery pending) per pool (pool_id label). In a healthy pool it equals Total PGs; to compare the two, use Advanced and group both by pool_id.",
|
|
295
338
|
metricName: "ceph_pg_clean",
|
|
296
339
|
category: "PG",
|
|
297
|
-
defaultAggregation: MetricsAggregationType_1.default.
|
|
340
|
+
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
298
341
|
defaultResourceScope: MonitorStepCephMonitor_1.CephResourceScope.Pool,
|
|
299
342
|
unit: "count",
|
|
300
343
|
},
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import commonJsModule from "./CephMetricCatalog.js";
|
|
2
2
|
export const getAllCephMetricCategories = commonJsModule.getAllCephMetricCategories;
|
|
3
3
|
export const getAllCephMetrics = commonJsModule.getAllCephMetrics;
|
|
4
|
+
export const getCephCustomMetricAggregations = commonJsModule.getCephCustomMetricAggregations;
|
|
5
|
+
export const getCephGroupByKeyForScope = commonJsModule.getCephGroupByKeyForScope;
|
|
4
6
|
export const getCephMetricById = commonJsModule.getCephMetricById;
|
|
5
7
|
export const getCephMetricByMetricName = commonJsModule.getCephMetricByMetricName;
|
|
6
8
|
export const getCephMetricsByCategory = commonJsModule.getCephMetricsByCategory;
|
|
@@ -47,6 +47,9 @@ export declare enum CheckOn {
|
|
|
47
47
|
LlmBadAnswerCount = "Bad AI Answers",
|
|
48
48
|
LlmAnswerCount = "AI Answers",
|
|
49
49
|
ExceptionCount = "Exception Count",
|
|
50
|
+
NewExceptionCount = "New Exceptions",
|
|
51
|
+
RegressedExceptionCount = "Regressed Exceptions",
|
|
52
|
+
ExceptionCountIncreasePercent = "Exception Increase (in %)",
|
|
50
53
|
ProfileCount = "Profile Count",
|
|
51
54
|
ProfileFunctionShare = "Function Share (in %)",
|
|
52
55
|
MetricValue = "Metric Value",
|
|
@@ -147,6 +150,9 @@ export declare enum AnomalyDetectionSensitivity {
|
|
|
147
150
|
Medium = "Medium",
|
|
148
151
|
High = "High"
|
|
149
152
|
}
|
|
153
|
+
export declare const ANOMALY_SIGMA_BY_SENSITIVITY: Record<AnomalyDetectionSensitivity, number>;
|
|
154
|
+
export declare const ANOMALY_WINDOW_DAYS_OPTIONS: ReadonlyArray<number>;
|
|
155
|
+
export declare const DEFAULT_ANOMALY_WINDOW_DAYS: number;
|
|
150
156
|
export declare enum AnomalyDetectionMethod {
|
|
151
157
|
/** Rolling mean ± N × population standard deviation. Default. */
|
|
152
158
|
MeanStddev = "Mean & Std Dev",
|
|
@@ -164,6 +170,17 @@ export interface MetricAnomalyDetectionOptions {
|
|
|
164
170
|
windowDays?: number | undefined;
|
|
165
171
|
/** Minimum samples per (hour-of-week) cell to trust the baseline. */
|
|
166
172
|
minSamples?: number | undefined;
|
|
173
|
+
/**
|
|
174
|
+
* Exception counts only: how many standard deviations from the baseline a
|
|
175
|
+
* window must be, in place of what the sensitivity sets.
|
|
176
|
+
*/
|
|
177
|
+
sigmaCount?: number | undefined;
|
|
178
|
+
/**
|
|
179
|
+
* Log, span and exception counts: the fewest a window needs to read as
|
|
180
|
+
* unusually high, in place of what the sensitivity sets, so a quiet
|
|
181
|
+
* service does not alert on its first few.
|
|
182
|
+
*/
|
|
183
|
+
minimumCount?: number | undefined;
|
|
167
184
|
}
|
|
168
185
|
export interface MetricMonitorOptions {
|
|
169
186
|
metricAlias?: string | undefined;
|
|
@@ -47,6 +47,9 @@ export declare enum CheckOn {
|
|
|
47
47
|
LlmBadAnswerCount = "Bad AI Answers",
|
|
48
48
|
LlmAnswerCount = "AI Answers",
|
|
49
49
|
ExceptionCount = "Exception Count",
|
|
50
|
+
NewExceptionCount = "New Exceptions",
|
|
51
|
+
RegressedExceptionCount = "Regressed Exceptions",
|
|
52
|
+
ExceptionCountIncreasePercent = "Exception Increase (in %)",
|
|
50
53
|
ProfileCount = "Profile Count",
|
|
51
54
|
ProfileFunctionShare = "Function Share (in %)",
|
|
52
55
|
MetricValue = "Metric Value",
|
|
@@ -147,6 +150,9 @@ export declare enum AnomalyDetectionSensitivity {
|
|
|
147
150
|
Medium = "Medium",
|
|
148
151
|
High = "High"
|
|
149
152
|
}
|
|
153
|
+
export declare const ANOMALY_SIGMA_BY_SENSITIVITY: Record<AnomalyDetectionSensitivity, number>;
|
|
154
|
+
export declare const ANOMALY_WINDOW_DAYS_OPTIONS: ReadonlyArray<number>;
|
|
155
|
+
export declare const DEFAULT_ANOMALY_WINDOW_DAYS: number;
|
|
150
156
|
export declare enum AnomalyDetectionMethod {
|
|
151
157
|
/** Rolling mean ± N × population standard deviation. Default. */
|
|
152
158
|
MeanStddev = "Mean & Std Dev",
|
|
@@ -164,6 +170,17 @@ export interface MetricAnomalyDetectionOptions {
|
|
|
164
170
|
windowDays?: number | undefined;
|
|
165
171
|
/** Minimum samples per (hour-of-week) cell to trust the baseline. */
|
|
166
172
|
minSamples?: number | undefined;
|
|
173
|
+
/**
|
|
174
|
+
* Exception counts only: how many standard deviations from the baseline a
|
|
175
|
+
* window must be, in place of what the sensitivity sets.
|
|
176
|
+
*/
|
|
177
|
+
sigmaCount?: number | undefined;
|
|
178
|
+
/**
|
|
179
|
+
* Log, span and exception counts: the fewest a window needs to read as
|
|
180
|
+
* unusually high, in place of what the sensitivity sets, so a quiet
|
|
181
|
+
* service does not alert on its first few.
|
|
182
|
+
*/
|
|
183
|
+
minimumCount?: number | undefined;
|
|
167
184
|
}
|
|
168
185
|
export interface MetricMonitorOptions {
|
|
169
186
|
metricAlias?: string | undefined;
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.CriteriaFilterUtil = exports.FilterType = exports.EvaluateOverTimeMinutes = exports.AnomalyDetectionMethod = exports.AnomalyDetectionSensitivity = exports.NoDataPolicy = exports.EvaluateOverTimeType = exports.CheckOn = void 0;
|
|
6
|
+
exports.CriteriaFilterUtil = exports.FilterType = exports.EvaluateOverTimeMinutes = exports.AnomalyDetectionMethod = exports.DEFAULT_ANOMALY_WINDOW_DAYS = exports.ANOMALY_WINDOW_DAYS_OPTIONS = exports.ANOMALY_SIGMA_BY_SENSITIVITY = exports.AnomalyDetectionSensitivity = exports.NoDataPolicy = exports.EvaluateOverTimeType = exports.CheckOn = void 0;
|
|
7
7
|
const MonitorType_1 = __importDefault(require("./MonitorType"));
|
|
8
8
|
var CheckOn;
|
|
9
9
|
(function (CheckOn) {
|
|
@@ -62,6 +62,14 @@ var CheckOn;
|
|
|
62
62
|
CheckOn["LlmAnswerCount"] = "AI Answers";
|
|
63
63
|
// Exception monitors.
|
|
64
64
|
CheckOn["ExceptionCount"] = "Exception Count";
|
|
65
|
+
/*
|
|
66
|
+
* Exception groups first seen in the window; groups that came back after
|
|
67
|
+
* they were resolved, in it; and how far the window's count is above the
|
|
68
|
+
* usual one - the day before, per window (ExceptionMonitorCriteria).
|
|
69
|
+
*/
|
|
70
|
+
CheckOn["NewExceptionCount"] = "New Exceptions";
|
|
71
|
+
CheckOn["RegressedExceptionCount"] = "Regressed Exceptions";
|
|
72
|
+
CheckOn["ExceptionCountIncreasePercent"] = "Exception Increase (in %)";
|
|
65
73
|
// Profile monitors.
|
|
66
74
|
CheckOn["ProfileCount"] = "Profile Count";
|
|
67
75
|
/*
|
|
@@ -270,6 +278,20 @@ var AnomalyDetectionSensitivity;
|
|
|
270
278
|
AnomalyDetectionSensitivity["Medium"] = "Medium";
|
|
271
279
|
AnomalyDetectionSensitivity["High"] = "High";
|
|
272
280
|
})(AnomalyDetectionSensitivity || (exports.AnomalyDetectionSensitivity = AnomalyDetectionSensitivity = {}));
|
|
281
|
+
/*
|
|
282
|
+
* How many standard deviations from the baseline each sensitivity allows.
|
|
283
|
+
* Tighter sensitivity = lower sigma threshold = more alerts.
|
|
284
|
+
*/
|
|
285
|
+
exports.ANOMALY_SIGMA_BY_SENSITIVITY = {
|
|
286
|
+
[AnomalyDetectionSensitivity.Low]: 4,
|
|
287
|
+
[AnomalyDetectionSensitivity.Medium]: 3,
|
|
288
|
+
[AnomalyDetectionSensitivity.High]: 2,
|
|
289
|
+
};
|
|
290
|
+
// The baseline windows a criteria can pick, in days, the default first.
|
|
291
|
+
exports.ANOMALY_WINDOW_DAYS_OPTIONS = [
|
|
292
|
+
14, 28, 60, 90,
|
|
293
|
+
];
|
|
294
|
+
exports.DEFAULT_ANOMALY_WINDOW_DAYS = 14;
|
|
273
295
|
var AnomalyDetectionMethod;
|
|
274
296
|
(function (AnomalyDetectionMethod) {
|
|
275
297
|
/** Rolling mean ± N × population standard deviation. Default. */
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import commonJsModule from "./CriteriaFilter.js";
|
|
2
|
+
export const ANOMALY_SIGMA_BY_SENSITIVITY = commonJsModule.ANOMALY_SIGMA_BY_SENSITIVITY;
|
|
3
|
+
export const ANOMALY_WINDOW_DAYS_OPTIONS = commonJsModule.ANOMALY_WINDOW_DAYS_OPTIONS;
|
|
2
4
|
export const AnomalyDetectionMethod = commonJsModule.AnomalyDetectionMethod;
|
|
3
5
|
export const AnomalyDetectionSensitivity = commonJsModule.AnomalyDetectionSensitivity;
|
|
4
6
|
export const CheckOn = commonJsModule.CheckOn;
|
|
5
7
|
export const CriteriaFilterUtil = commonJsModule.CriteriaFilterUtil;
|
|
8
|
+
export const DEFAULT_ANOMALY_WINDOW_DAYS = commonJsModule.DEFAULT_ANOMALY_WINDOW_DAYS;
|
|
6
9
|
export const EvaluateOverTimeMinutes = commonJsModule.EvaluateOverTimeMinutes;
|
|
7
10
|
export const EvaluateOverTimeType = commonJsModule.EvaluateOverTimeType;
|
|
8
11
|
export const FilterType = commonJsModule.FilterType;
|
|
@@ -61,6 +61,7 @@ export declare function buildDockerMonitorConfig(args: {
|
|
|
61
61
|
aggregationType: MetricsAggregationType;
|
|
62
62
|
attributes?: Record<string, string>;
|
|
63
63
|
groupByAttributeKey?: string | undefined;
|
|
64
|
+
title?: string | undefined;
|
|
64
65
|
}): MonitorStepDockerMonitor;
|
|
65
66
|
export declare function buildDockerDeltaMonitorConfig(args: {
|
|
66
67
|
hostIdentifier: string;
|
|
@@ -61,6 +61,7 @@ export declare function buildDockerMonitorConfig(args: {
|
|
|
61
61
|
aggregationType: MetricsAggregationType;
|
|
62
62
|
attributes?: Record<string, string>;
|
|
63
63
|
groupByAttributeKey?: string | undefined;
|
|
64
|
+
title?: string | undefined;
|
|
64
65
|
}): MonitorStepDockerMonitor;
|
|
65
66
|
export declare function buildDockerDeltaMonitorConfig(args: {
|
|
66
67
|
hostIdentifier: string;
|
|
@@ -62,8 +62,9 @@ function dockerTitleSuffix(args) {
|
|
|
62
62
|
* `oneuptime.agent.version`), so Swarm container identity is stored
|
|
63
63
|
* `resource.`-prefixed too, and DockerSwarmAlertTemplates.ts groups by
|
|
64
64
|
* `resource.container.name` like these do. The bare `container.name`
|
|
65
|
-
* matches no stored attribute:
|
|
66
|
-
*
|
|
65
|
+
* matches no stored attribute: the worker's grouped read (GROUP BY
|
|
66
|
+
* attributes['key'], MonitorTelemetryMonitor.readQueryDataPoints) reads a
|
|
67
|
+
* missing key as "", which would collapse every container into ONE series
|
|
67
68
|
* with an empty label.
|
|
68
69
|
*/
|
|
69
70
|
function buildDockerMonitorStep(args) {
|
|
@@ -109,6 +110,7 @@ function buildDockerOnlineCriteriaInstance(args) {
|
|
|
109
110
|
return (0, RecommendationCriteriaBuilder_1.buildHealthyCriteriaInstance)(args);
|
|
110
111
|
}
|
|
111
112
|
function buildDockerMonitorConfig(args) {
|
|
113
|
+
const title = args.title || args.metricAlias;
|
|
112
114
|
return {
|
|
113
115
|
hostIdentifier: args.hostIdentifier,
|
|
114
116
|
containerFilters: {},
|
|
@@ -117,9 +119,9 @@ function buildDockerMonitorConfig(args) {
|
|
|
117
119
|
{
|
|
118
120
|
metricAliasData: {
|
|
119
121
|
metricVariable: args.metricAlias,
|
|
120
|
-
title:
|
|
121
|
-
description:
|
|
122
|
-
legend:
|
|
122
|
+
title: title,
|
|
123
|
+
description: title,
|
|
124
|
+
legend: title,
|
|
123
125
|
legendUnit: undefined,
|
|
124
126
|
},
|
|
125
127
|
metricQueryData: Object.assign({ filterData: {
|
|
@@ -156,6 +158,12 @@ function buildDockerMonitorConfig(args) {
|
|
|
156
158
|
* by construction. The alert stays open until a human closes it, and
|
|
157
159
|
* the next evaluation reopens it.
|
|
158
160
|
*
|
|
161
|
+
* Only Container CPU Throttling is built on this helper now. Container
|
|
162
|
+
* Restart Loop used it too, and missed half of every crash loop (point 1
|
|
163
|
+
* below): the agent now sends the restarts since its previous sample of a
|
|
164
|
+
* container as `container.restarts.increase`, and that template sums them -
|
|
165
|
+
* see containerRestartLoopTemplate.
|
|
166
|
+
*
|
|
159
167
|
* The alerting path has no rate operator. `transformAsRate` on
|
|
160
168
|
* MetricQueryConfigData is CHART-only (MetricCharts.tsx is its only reader;
|
|
161
169
|
* monitorDocker never looks at it), and `transformValue` is a function, so
|
|
@@ -165,8 +173,9 @@ function buildDockerMonitorConfig(args) {
|
|
|
165
173
|
* `aggregationTemporality`/`isMonotonic` so the browser can suggest a rate
|
|
166
174
|
* view. So the delta has to be built from what the worker does honour: two
|
|
167
175
|
* queries over the same metric, one Max and one Min, plus a formula
|
|
168
|
-
* subtracting them.
|
|
169
|
-
*
|
|
176
|
+
* subtracting them. The worker's grouped read buckets rows per (series,
|
|
177
|
+
* minute) in ClickHouse using EACH query's own aggregation (a window up to
|
|
178
|
+
* three hours is bucketed by the minute), so `max - min` is
|
|
170
179
|
* the counter's increase WITHIN each minute, and the criteria's
|
|
171
180
|
* `EvaluateOverTimeType.Sum` totals those increases across the window.
|
|
172
181
|
*
|
|
@@ -382,57 +391,62 @@ const highMemoryTemplate = {
|
|
|
382
391
|
});
|
|
383
392
|
},
|
|
384
393
|
};
|
|
394
|
+
/*
|
|
395
|
+
* The id stays "docker-restart-loop": it is the stable key the
|
|
396
|
+
* recommendation catalog and the already-created-monitor diff match on.
|
|
397
|
+
*
|
|
398
|
+
* It used to read the growth of `container.restarts` (Docker's lifetime
|
|
399
|
+
* RestartCount) between two samples of the same minute: a Max and a Min
|
|
400
|
+
* query per minute and a formula subtracting them
|
|
401
|
+
* (buildDockerDeltaMonitorConfig). At the agent's 30-second scrape a
|
|
402
|
+
* restart between the last sample of one minute and the first of the next
|
|
403
|
+
* was never counted - about half of every crash loop, so a loop of four to
|
|
404
|
+
* seven restarts in fifteen minutes could pass under "more than 3" - and a
|
|
405
|
+
* manual restart, which starts Docker's count again at 0, read as the whole
|
|
406
|
+
* count in one minute and fired. The alerting path cannot difference values
|
|
407
|
+
* across minutes (no rate or delta in AggregationType or
|
|
408
|
+
* EvaluateOverTimeType, and formulas are evaluated point by point), so the
|
|
409
|
+
* agent does it: every sample carries `container.restarts.increase`, the
|
|
410
|
+
* restarts since its previous sample of the container, however far back
|
|
411
|
+
* that was (cumulative_to_delta/restarts-increase in
|
|
412
|
+
* DockerAgent/otel-collector-config.yaml). Summed per minute and over the
|
|
413
|
+
* window, that is every restart in the window. And docker_stats keeps
|
|
414
|
+
* sampling a container Docker is restarting - Docker reports it as running
|
|
415
|
+
* between its runs - so a container that exits the moment it starts is
|
|
416
|
+
* sampled every 30 seconds too.
|
|
417
|
+
*
|
|
418
|
+
* A host whose agent predates `container.restarts.increase` sends nothing
|
|
419
|
+
* this reads: neither criteria matches, and the docs tell it to update the
|
|
420
|
+
* agent. That is also why monitors made from the old query are left as
|
|
421
|
+
* they are rather than rewritten to this one.
|
|
422
|
+
*/
|
|
385
423
|
const containerRestartLoopTemplate = {
|
|
386
424
|
id: "docker-restart-loop",
|
|
387
425
|
name: "Container Restart Loop",
|
|
388
426
|
summary: "A container restarts more than 3 times in 15 minutes.",
|
|
389
|
-
description: "Alert when a container
|
|
427
|
+
description: "Alert when a container restarts more than 3 times within fifteen minutes: Docker keeps restarting it under its restart policy, so it is crash-looping rather than recovering from a one-off failure. Reads container.restarts.increase, the restarts since the agent's previous sample of the container, so every restart counts however far apart the samples are; a restart by hand starts a new count and is not one. An older Docker agent does not send it: update the agent first. One alert per container.",
|
|
390
428
|
category: "Container",
|
|
391
429
|
severity: "Critical",
|
|
392
430
|
getMonitorStep: (args) => {
|
|
393
431
|
const metricAlias = "container_restarts";
|
|
394
432
|
return buildDockerMonitorStep({
|
|
395
|
-
|
|
396
|
-
* `container.restarts` is Docker's LIFETIME RestartCount, not a
|
|
397
|
-
* windowed count, and nothing in the pipeline deltas it. Comparing it
|
|
398
|
-
* to a constant asks "has this container ever crash-looped" — true
|
|
399
|
-
* forever once true, and unrecoverable against a counter that only
|
|
400
|
-
* goes up. The loop signal is how much the counter GREW. See
|
|
401
|
-
* buildDockerDeltaMonitorConfig.
|
|
402
|
-
*/
|
|
403
|
-
dockerMonitor: buildDockerDeltaMonitorConfig({
|
|
433
|
+
dockerMonitor: buildDockerMonitorConfig({
|
|
404
434
|
hostIdentifier: args.hostIdentifier,
|
|
405
|
-
metricName: "container.restarts",
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
resultAlias: metricAlias,
|
|
409
|
-
resultLegend: "Container Restarts (in window)",
|
|
435
|
+
metricName: "container.restarts.increase",
|
|
436
|
+
metricAlias,
|
|
437
|
+
title: "Container Restarts",
|
|
410
438
|
/*
|
|
411
|
-
*
|
|
412
|
-
*
|
|
413
|
-
*
|
|
439
|
+
* Fifteen minutes: Docker's restart back-off doubles up to a minute
|
|
440
|
+
* between restarts, so a real crash loop restarts about once a
|
|
441
|
+
* minute and is well past 3 in fifteen.
|
|
414
442
|
*/
|
|
443
|
+
rollingTime: RollingTime_1.default.Past15Minutes,
|
|
415
444
|
/*
|
|
416
|
-
*
|
|
417
|
-
*
|
|
418
|
-
*
|
|
419
|
-
* between the two samples of the SAME minute — roughly half are
|
|
420
|
-
* missed. Bursts inside one 30s gap are counted in full, and
|
|
421
|
-
* Docker's restart backoff (doubling, capped at 60s) puts a real
|
|
422
|
-
* crash loop at ~20 restarts per fifteen minutes, so the threshold
|
|
423
|
-
* below still clears with room to spare.
|
|
424
|
-
*
|
|
425
|
-
* What it cannot see: docker_stats samples RUNNING containers only,
|
|
426
|
-
* so a container that exits the moment it starts is almost never
|
|
427
|
-
* sampled, twice in a minute or at all. Taking the counter's growth
|
|
428
|
-
* across the WHOLE window instead would need the alerting path to
|
|
429
|
-
* difference values across buckets, which it cannot (no rate or
|
|
430
|
-
* delta in AggregationType or EvaluateOverTimeType, and formulas
|
|
431
|
-
* are evaluated point by point); and even that would need two
|
|
432
|
-
* samples of the container. Container Restarted (Low Uptime) fires
|
|
433
|
-
* on every restart the agent does sample.
|
|
445
|
+
* Sum WITHIN each container's series: the restarts in each minute.
|
|
446
|
+
* A minute with no sample of the container has no row, not a zero,
|
|
447
|
+
* and the increase a later sample sends still counts them.
|
|
434
448
|
*/
|
|
435
|
-
|
|
449
|
+
aggregationType: MetricsAggregationType_1.default.Sum,
|
|
436
450
|
groupByAttributeKey: "resource.container.name",
|
|
437
451
|
}),
|
|
438
452
|
offlineCriteriaInstance: buildDockerOfflineCriteriaInstance({
|
|
@@ -445,18 +459,15 @@ const containerRestartLoopTemplate = {
|
|
|
445
459
|
value: 3,
|
|
446
460
|
/*
|
|
447
461
|
* Sum over the window, not the sustained AllValues default: each
|
|
448
|
-
* sample is ONE MINUTE'S
|
|
449
|
-
*
|
|
450
|
-
*
|
|
451
|
-
* docs have always described for this template ("> 3 / Sum" in
|
|
452
|
-
* App/FeatureSet/Docs/Content/en/monitor/docker-monitor.md) and
|
|
453
|
-
* which the code never implemented.
|
|
462
|
+
* sample is ONE MINUTE'S restarts, and most minutes of a crash
|
|
463
|
+
* loop have none, so "every minute breached" is unreachable. The
|
|
464
|
+
* window total is the loop count.
|
|
454
465
|
*/
|
|
455
466
|
metricAggregationType: CriteriaFilter_1.EvaluateOverTimeType.Sum,
|
|
456
467
|
incidentTitle: `[Docker] Container Restart Loop Detected${dockerTitleSuffix(args)}`,
|
|
457
|
-
incidentDescription: `A Docker container restarted more than 3 times in the last fifteen minutes — it is crash-looping, not recovering from a one-off failure. Check the root cause for the specific container, then read that container's logs and its restart policy.`,
|
|
468
|
+
incidentDescription: `A Docker container restarted more than 3 times in the last fifteen minutes — it is crash-looping, not recovering from a one-off failure. Check the root cause for the specific container, then read that container's logs (\`docker logs --since 15m\`) and its restart policy. The alert clears once the container stops restarting.`,
|
|
458
469
|
criteriaName: "Restart Loop - Restarts > 3 in 15 min",
|
|
459
|
-
criteriaDescription: "Triggers when a container
|
|
470
|
+
criteriaDescription: "Triggers when a container restarts more than 3 times across the monitoring window, counted from the restarts the agent sends with each sample.",
|
|
460
471
|
}),
|
|
461
472
|
onlineCriteriaInstance: buildDockerOnlineCriteriaInstance({
|
|
462
473
|
onlineMonitorStatusId: args.onlineMonitorStatusId,
|
|
@@ -142,6 +142,22 @@ const dockerMetricCatalog = [
|
|
|
142
142
|
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
143
143
|
unit: "count",
|
|
144
144
|
},
|
|
145
|
+
/*
|
|
146
|
+
* What to alert on for restarts: the agent sends, with each sample, the
|
|
147
|
+
* restarts since its previous sample of the container
|
|
148
|
+
* (cumulative_to_delta/restarts-increase in the agent's config), so their
|
|
149
|
+
* Sum over a window is the restarts in it. container.restarts above is
|
|
150
|
+
* the lifetime count, for the charts.
|
|
151
|
+
*/
|
|
152
|
+
{
|
|
153
|
+
id: "container-restarts-increase",
|
|
154
|
+
friendlyName: "Container Restarts (Increase)",
|
|
155
|
+
description: "Restarts since the agent's previous sample of the container. Their sum over a window is the restarts in it.",
|
|
156
|
+
metricName: "container.restarts.increase",
|
|
157
|
+
category: "Container",
|
|
158
|
+
defaultAggregation: MetricsAggregationType_1.default.Sum,
|
|
159
|
+
unit: "count",
|
|
160
|
+
},
|
|
145
161
|
{
|
|
146
162
|
id: "container-pids-count",
|
|
147
163
|
friendlyName: "Container Process Count",
|
|
@@ -61,6 +61,7 @@ export declare function buildDockerSwarmMonitorConfig(args: {
|
|
|
61
61
|
aggregationType: MetricsAggregationType;
|
|
62
62
|
attributes?: Record<string, string>;
|
|
63
63
|
groupByAttributeKey?: string | undefined;
|
|
64
|
+
tasksOnly?: boolean | undefined;
|
|
64
65
|
}): MonitorStepDockerSwarmMonitor;
|
|
65
66
|
export declare function getAllDockerSwarmAlertTemplates(): Array<DockerSwarmAlertTemplate>;
|
|
66
67
|
export declare function getDockerSwarmAlertTemplatesByCategory(category: DockerSwarmAlertTemplateCategory): Array<DockerSwarmAlertTemplate>;
|
|
@@ -61,6 +61,7 @@ export declare function buildDockerSwarmMonitorConfig(args: {
|
|
|
61
61
|
aggregationType: MetricsAggregationType;
|
|
62
62
|
attributes?: Record<string, string>;
|
|
63
63
|
groupByAttributeKey?: string | undefined;
|
|
64
|
+
tasksOnly?: boolean | undefined;
|
|
64
65
|
}): MonitorStepDockerSwarmMonitor;
|
|
65
66
|
export declare function getAllDockerSwarmAlertTemplates(): Array<DockerSwarmAlertTemplate>;
|
|
66
67
|
export declare function getDockerSwarmAlertTemplatesByCategory(category: DockerSwarmAlertTemplateCategory): Array<DockerSwarmAlertTemplate>;
|