@oneuptime/common 14.2.0 → 14.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Models/AnalyticsModels/CloudCost.js +15 -4
- package/Models/AnalyticsModels/NetworkTrafficUsage.js +11 -2
- package/Models/AnalyticsModels/RumProductAnalyticsSession.d.mts +1 -0
- package/Models/AnalyticsModels/RumProductAnalyticsSession.d.ts +1 -0
- package/Models/AnalyticsModels/RumProductAnalyticsSession.js +28 -4
- package/Models/AnalyticsModels/RumProductAnalyticsSession.mjs +1 -0
- package/Models/AnalyticsModels/RumSession.js +21 -3
- package/Models/AnalyticsModels/RumSessionChunk.js +10 -1
- package/Models/DatabaseModels/Alert.js +1 -1
- package/Models/DatabaseModels/AlertEpisode.js +1 -1
- package/Models/DatabaseModels/AlertEpisodeOnCallRuleOwningTeam.js +1 -1
- package/Models/DatabaseModels/AlertMeasurement.d.mts +1 -0
- package/Models/DatabaseModels/AlertMeasurement.d.ts +1 -0
- package/Models/DatabaseModels/AlertMeasurement.js +30 -0
- package/Models/DatabaseModels/AlertOnCallRuleOwningTeam.js +1 -1
- package/Models/DatabaseModels/DataAssetOwnerTeam.js +1 -1
- package/Models/DatabaseModels/DataAssetOwnerUser.js +1 -1
- package/Models/DatabaseModels/DataIssueReport.js +1 -1
- package/Models/DatabaseModels/DataStore.js +9 -0
- package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.js +3 -1
- package/Models/DatabaseModels/DatabaseBaseModel/OnCallRuleBaseModel.js +3 -1
- package/Models/DatabaseModels/DatabaseBaseModel/RuleBaseModel.js +3 -1
- package/Models/DatabaseModels/Incident.js +1 -1
- package/Models/DatabaseModels/IncidentEpisode.js +1 -1
- package/Models/DatabaseModels/IncidentEpisodeOnCallRuleOwningTeam.js +1 -1
- package/Models/DatabaseModels/IncidentMeasurement.d.mts +1 -0
- package/Models/DatabaseModels/IncidentMeasurement.d.ts +1 -0
- package/Models/DatabaseModels/IncidentMeasurement.js +30 -0
- package/Models/DatabaseModels/IncidentOnCallRuleOwningTeam.js +1 -1
- package/Models/DatabaseModels/IncidentOwnerRuleOwningTeam.js +1 -1
- package/Models/DatabaseModels/IncomingRequestSecret.d.mts +15 -0
- package/Models/DatabaseModels/IncomingRequestSecret.d.ts +15 -0
- package/Models/DatabaseModels/IncomingRequestSecret.js +299 -0
- package/Models/DatabaseModels/IncomingRequestSecret.mjs +2 -0
- package/Models/DatabaseModels/Index.js +4 -0
- package/Models/DatabaseModels/LlmObservabilityConnection.js +1 -1
- package/Models/DatabaseModels/LlmProvider.js +2 -2
- package/Models/DatabaseModels/Monitor.d.mts +4 -0
- package/Models/DatabaseModels/Monitor.d.ts +4 -0
- package/Models/DatabaseModels/Monitor.js +105 -0
- package/Models/DatabaseModels/OnCallDutyPolicy.js +7 -0
- package/Models/DatabaseModels/OwnerNotificationDelivery.d.mts +20 -0
- package/Models/DatabaseModels/OwnerNotificationDelivery.d.ts +20 -0
- package/Models/DatabaseModels/OwnerNotificationDelivery.js +382 -0
- package/Models/DatabaseModels/OwnerNotificationDelivery.mjs +2 -0
- package/Models/DatabaseModels/Project.d.mts +1 -0
- package/Models/DatabaseModels/Project.d.ts +1 -0
- package/Models/DatabaseModels/Project.js +48 -4
- package/Models/DatabaseModels/RumSessionErasureRequest.js +1 -1
- package/Models/DatabaseModels/ScheduledMaintenanceMeasurement.d.mts +1 -0
- package/Models/DatabaseModels/ScheduledMaintenanceMeasurement.d.ts +1 -0
- package/Models/DatabaseModels/ScheduledMaintenanceMeasurement.js +30 -0
- package/Models/DatabaseModels/SecurityEntityRisk.js +1 -1
- package/Models/DatabaseModels/ServiceLevelObjective.d.mts +10 -0
- package/Models/DatabaseModels/ServiceLevelObjective.d.ts +10 -0
- package/Models/DatabaseModels/ServiceLevelObjective.js +317 -2
- package/Models/DatabaseModels/ServiceLevelObjectiveBurnRateRule.js +2 -2
- package/Models/DatabaseModels/ServiceLevelObjectiveErrorBudgetPolicyTier.js +2 -2
- package/Models/DatabaseModels/WorkspaceNotificationRuleOwningTeam.js +1 -1
- package/Server/Services/DatabaseService.d.mts +2 -0
- package/Server/Services/DatabaseService.d.ts +2 -0
- package/Types/AI/AIActionWords.d.mts +3 -0
- package/Types/AI/AIActionWords.d.ts +3 -0
- package/Types/AI/AIActionWords.js +33 -10
- package/Types/AI/AIAgentRunLimits.js +1 -1
- package/Types/AI/AIChatChartCalendar.d.mts +5 -0
- package/Types/AI/AIChatChartCalendar.d.ts +5 -0
- package/Types/AI/AIChatChartCalendar.js +66 -0
- package/Types/AI/AIChatChartCalendar.mjs +4 -0
- package/Types/AI/AIChatRecordSeen.js +11 -2
- package/Types/AI/AIChatTypes.d.mts +1 -0
- package/Types/AI/AIChatTypes.d.ts +1 -0
- package/Types/AI/AIReadTableWords.d.mts +223 -0
- package/Types/AI/AIReadTableWords.d.ts +223 -0
- package/Types/AI/AIReadTableWords.js +553 -1
- package/Types/AI/AIReadTableWords.mjs +20 -0
- package/Types/AI/AIResourceContext.js +1 -1
- package/Types/AI/AiContext.js +13 -4
- package/Types/AI/AiRunRefusal.js +4 -4
- package/Types/AI/ProjectAiDailyLimits.js +1 -1
- package/Types/AI/TelemetryAi.js +2 -2
- package/Types/API/HTTPResponse.d.mts +1 -0
- package/Types/API/HTTPResponse.d.ts +1 -0
- package/Types/API/HTTPResponse.js +30 -12
- package/Types/API/HTTPResponse.mjs +1 -0
- package/Types/API/URL.js +4 -1
- package/Types/Analytics/ActivationMilestone.js +30 -29
- package/Types/Analytics/ChecklistProgress.js +3 -1
- package/Types/Analytics/ProductEvent.js +1 -1
- package/Types/AuditLog/AuditLogCoverage.js +1 -0
- package/Types/AuditLog/AuditLogSessionEvent.d.mts +10 -0
- package/Types/AuditLog/AuditLogSessionEvent.d.ts +10 -0
- package/Types/AuditLog/AuditLogSessionEvent.js +115 -28
- package/Types/AuditLog/AuditLogSessionEvent.mjs +4 -0
- package/Types/AuditLog/Export/AuditLogExportRecord.js +1 -1
- package/Types/AutoRemediation/AiRemediationCommandPlan.js +54 -18
- package/Types/AutoRemediation/AiRemediationGitOps.js +28 -5
- package/Types/AutoRemediation/RemediationRound.js +2 -2
- package/Types/AutoRemediation/RemediationTrackRecord.js +17 -6
- package/Types/BaseDatabase/AggregationIntervalUtil.d.mts +6 -0
- package/Types/BaseDatabase/AggregationIntervalUtil.d.ts +6 -0
- package/Types/BaseDatabase/AggregationIntervalUtil.js +24 -2
- package/Types/CallAndSMS/ServerTwilioEnvironment.js +5 -2
- package/Types/CallAndSMS/TwilioConfigWrite.js +1 -1
- package/Types/Cloud/CloudKeyMetrics.js +1 -1
- package/Types/Cloud/CloudLogGroups.js +18 -10
- package/Types/Cloud/CloudMonitoredResource.js +3 -1
- package/Types/Cloud/CloudResourceCatalog.js +1 -1
- package/Types/Cloud/CloudResourceHealth.js +7 -3
- package/Types/Cloud/CloudResourceIndex.js +1 -1
- package/Types/Cloud/CloudRightSizing.js +33 -11
- package/Types/CloudConnection/CloudAiAgentKey.js +1 -1
- package/Types/CloudConnection/CloudAiAgentSetupCommands.js +62 -41
- package/Types/CloudConnection/CloudConnectionSetupCommands.js +9 -4
- package/Types/CloudConnection/CloudStream.js +14 -4
- package/Types/CloudConnection/CloudStreamTemplate.js +40 -12
- package/Types/CodeRepository/CodeFileSeen.js +51 -22
- package/Types/ComposedWords.d.mts +11 -0
- package/Types/ComposedWords.d.ts +11 -0
- package/Types/ComposedWords.js +55 -0
- package/Types/ComposedWords.mjs +4 -0
- package/Types/CustomDomain/CustomDomainServerReadiness.js +1 -1
- package/Types/CustomDomain/DnsRecordCheckWords.js +4 -1
- package/Types/CustomField/CustomFieldSavedViews.js +17 -5
- package/Types/CustomField/CustomFieldTemplateMerge.js +5 -2
- package/Types/CustomField/CustomFieldValueMapping.js +3 -1
- package/Types/Dashboard/DashboardAccess.js +5 -1
- package/Types/Dashboard/DashboardTemplates.js +92 -31
- package/Types/DataObservability/DataAlertCauseTitles.d.mts +51 -0
- package/Types/DataObservability/DataAlertCauseTitles.d.ts +51 -0
- package/Types/DataObservability/DataAlertCauseTitles.js +181 -0
- package/Types/DataObservability/DataAlertCauseTitles.mjs +13 -0
- package/Types/DataObservability/DataAlertFeedback.d.mts +2 -0
- package/Types/DataObservability/DataAlertFeedback.d.ts +2 -0
- package/Types/DataObservability/DataAssetReads.js +4 -4
- package/Types/DataObservability/DataBiRefreshAlert.js +10 -2
- package/Types/DataObservability/DataCheckSuggestions.js +84 -36
- package/Types/DataObservability/DbtArtifact.js +4 -1
- package/Types/DataSecurity/DataStoreKind.d.mts +2 -0
- package/Types/DataSecurity/DataStoreKind.d.ts +2 -0
- package/Types/DataSecurity/DataStoreKind.js +32 -2
- package/Types/DataSecurity/DataStoreKind.mjs +2 -0
- package/Types/Database/EnableAuditLog.js +1 -1
- package/Types/Database/OwnersOnCreate.d.mts +4 -0
- package/Types/Database/OwnersOnCreate.d.ts +4 -0
- package/Types/Database/OwnersOnCreate.js +29 -0
- package/Types/Database/OwnersOnCreate.mjs +5 -0
- package/Types/Database/TableColumn.d.mts +3 -0
- package/Types/Database/TableColumn.d.ts +3 -0
- package/Types/Database/TableColumn.js +25 -2
- package/Types/Database/TableColumn.mjs +2 -0
- package/Types/Database/UserAttribution.js +9 -2
- package/Types/DatabaseServer/DatabaseContainerClassifier.js +4 -1
- package/Types/DatabaseServer/DatabaseEngineReadings.js +1 -1
- package/Types/DatabaseServer/DatabaseHealth.js +36 -8
- package/Types/Date.d.mts +9 -0
- package/Types/Date.d.ts +9 -0
- package/Types/Date.js +264 -83
- package/Types/DateLanguage.d.mts +22 -2
- package/Types/DateLanguage.d.ts +22 -2
- package/Types/DateLanguage.js +326 -50
- package/Types/DateLanguage.mjs +6 -0
- package/Types/Email/ServerEmailEnvironment.js +5 -2
- package/Types/EmptyValueMark.d.mts +4 -0
- package/Types/EmptyValueMark.d.ts +4 -0
- package/Types/EmptyValueMark.js +57 -0
- package/Types/EmptyValueMark.mjs +5 -0
- package/Types/EnterpriseLicense/EnterpriseMarketplaceBilling.js +2 -1
- package/Types/Exception/ErrorMessageRule.d.mts +2 -0
- package/Types/Exception/ErrorMessageRule.d.ts +2 -0
- package/Types/Exception/ErrorMessageRule.js +49 -1
- package/Types/Exception/ErrorMessageRule.mjs +2 -0
- package/Types/Exception/ExceptionMessages.d.mts +1 -0
- package/Types/Exception/ExceptionMessages.d.ts +1 -0
- package/Types/Exception/ExceptionMessages.js +2 -0
- package/Types/Exception/UnexplainedError.d.mts +8 -0
- package/Types/Exception/UnexplainedError.d.ts +8 -0
- package/Types/Exception/UnexplainedError.js +56 -1
- package/Types/File/FileSize.js +3 -3
- package/Types/Form/FormField.js +4 -4
- package/Types/Form/FormPublic.js +6 -3
- package/Types/Form/FormTemplate.js +7 -5
- package/Types/HeldPermissions.js +10 -3
- package/Types/InstallationHealth/InstallationHealth.js +8 -4
- package/Types/JSONFunctions.d.mts +3 -0
- package/Types/JSONFunctions.d.ts +3 -0
- package/Types/JSONFunctions.js +68 -11
- package/Types/JsonWebTokenPurpose.d.mts +3 -1
- package/Types/JsonWebTokenPurpose.d.ts +3 -1
- package/Types/JsonWebTokenPurpose.js +26 -0
- package/Types/Kubernetes/KubernetesClusterAiAccess.js +18 -7
- package/Types/Kubernetes/KubernetesHealth.js +6 -1
- package/Types/Kubernetes/KubernetesInventoryExtractor.js +18 -3
- package/Types/Kubernetes/KubernetesObjectParser.js +6 -2
- package/Types/Kubernetes/OpenShiftObjectAttributes.js +25 -12
- package/Types/Log/LogQueryToFilter.js +18 -15
- package/Types/Log/LogSeverity.d.mts +3 -0
- package/Types/Log/LogSeverity.d.ts +3 -0
- package/Types/Log/LogSeverity.js +152 -19
- package/Types/Log/LogSeverity.mjs +3 -0
- package/Types/MeaningKeys.js +63 -1
- package/Types/MessageQueue/MessageQueueMetricCatalog.js +29 -4
- package/Types/MessageQueue/MessageQueueSpanPopulation.js +7 -3
- package/Types/Metrics/MetricAliasData.d.mts +1 -0
- package/Types/Metrics/MetricAliasData.d.ts +1 -0
- package/Types/Monitor/CephAlertTemplates.js +42 -27
- package/Types/Monitor/CephMetricCatalog.d.mts +1 -0
- package/Types/Monitor/CephMetricCatalog.d.ts +1 -0
- package/Types/Monitor/CephMetricCatalog.js +46 -31
- package/Types/Monitor/CephMetricCatalog.mjs +1 -0
- package/Types/Monitor/CloudAlertTemplates.js +20 -9
- package/Types/Monitor/CloudAppAlertTemplates.js +4 -2
- package/Types/Monitor/CriteriaFilterValues.js +2 -2
- package/Types/Monitor/DataObservabilityAlertTemplates.js +7 -4
- package/Types/Monitor/DatabaseAlertTemplates.js +4 -1
- package/Types/Monitor/DatabaseMetricCatalog.d.mts +4 -9
- package/Types/Monitor/DatabaseMetricCatalog.d.ts +4 -9
- package/Types/Monitor/DatabaseMetricCatalog.js +178 -145
- package/Types/Monitor/DatabaseMetricCatalog.mjs +2 -0
- package/Types/Monitor/DatabaseMetricGroup.d.mts +9 -0
- package/Types/Monitor/DatabaseMetricGroup.d.ts +9 -0
- package/Types/Monitor/DatabaseMetricGroup.js +30 -0
- package/Types/Monitor/DatabaseMetricGroup.mjs +2 -0
- package/Types/Monitor/DockerAlertTemplates.js +42 -23
- package/Types/Monitor/DockerMetricCatalog.d.mts +1 -0
- package/Types/Monitor/DockerMetricCatalog.d.ts +1 -0
- package/Types/Monitor/DockerMetricCatalog.js +45 -28
- package/Types/Monitor/DockerMetricCatalog.mjs +1 -0
- package/Types/Monitor/DockerSwarmAlertTemplates.js +28 -19
- package/Types/Monitor/DockerSwarmMetricCatalog.d.mts +1 -0
- package/Types/Monitor/DockerSwarmMetricCatalog.d.ts +1 -0
- package/Types/Monitor/DockerSwarmMetricCatalog.js +37 -20
- package/Types/Monitor/DockerSwarmMetricCatalog.mjs +1 -0
- package/Types/Monitor/EvaluationSentence.js +11 -5
- package/Types/Monitor/HostAlertTemplates.js +37 -25
- package/Types/Monitor/HostMetricCatalog.d.mts +1 -0
- package/Types/Monitor/HostMetricCatalog.d.ts +1 -0
- package/Types/Monitor/HostMetricCatalog.js +40 -22
- package/Types/Monitor/HostMetricCatalog.mjs +1 -0
- package/Types/Monitor/IncomingMonitor/IncomingRequestSecret.d.mts +18 -0
- package/Types/Monitor/IncomingMonitor/IncomingRequestSecret.d.ts +18 -0
- package/Types/Monitor/IncomingMonitor/IncomingRequestSecret.js +104 -0
- package/Types/Monitor/IncomingMonitor/IncomingRequestSecret.mjs +9 -0
- package/Types/Monitor/IotAlertTemplates.js +26 -11
- package/Types/Monitor/IotMetricCatalog.d.mts +1 -0
- package/Types/Monitor/IotMetricCatalog.d.ts +1 -0
- package/Types/Monitor/IotMetricCatalog.js +31 -14
- package/Types/Monitor/IotMetricCatalog.mjs +1 -0
- package/Types/Monitor/KubernetesAlertTemplates.js +29 -20
- package/Types/Monitor/KubernetesMetricCatalog.d.mts +0 -5
- package/Types/Monitor/KubernetesMetricCatalog.d.ts +0 -5
- package/Types/Monitor/KubernetesMetricCatalog.js +98 -89
- package/Types/Monitor/LlmMonitor/LlmMonitorTemplates.js +59 -17
- package/Types/Monitor/MessageQueueAlertTemplates.js +15 -6
- package/Types/Monitor/MonitorCriteriaInstance.js +112 -31
- package/Types/Monitor/MonitorStepDatabaseMonitor.d.mts +1 -1
- package/Types/Monitor/MonitorStepDatabaseMonitor.d.ts +1 -1
- package/Types/Monitor/MonitorStepDatabaseMonitor.js +9 -9
- package/Types/Monitor/MonitorStepExternalStatusPageMonitor.js +5 -1
- package/Types/Monitor/MonitorStepIoTMonitor.js +6 -3
- package/Types/Monitor/MonitorStepLogMonitor.js +11 -2
- package/Types/Monitor/MonitorStepMetricMonitor.js +18 -10
- package/Types/Monitor/MonitorStepRollingTime.js +1 -1
- package/Types/Monitor/MonitorStepSnmpMonitor.js +24 -13
- package/Types/Monitor/MonitorTemplateSyncField.js +1 -1
- package/Types/Monitor/NtpMonitor/NtpMonitorDefaults.d.mts +3 -0
- package/Types/Monitor/NtpMonitor/NtpMonitorDefaults.d.ts +3 -0
- package/Types/Monitor/NtpMonitor/NtpMonitorDefaults.js +35 -0
- package/Types/Monitor/NtpMonitor/NtpMonitorDefaults.mjs +4 -0
- package/Types/Monitor/NtpMonitor/NtpMonitorUtil.d.mts +1 -3
- package/Types/Monitor/NtpMonitor/NtpMonitorUtil.d.ts +1 -3
- package/Types/Monitor/NtpMonitor/NtpMonitorUtil.js +39 -45
- package/Types/Monitor/OpenShiftAlertTemplates.js +5 -2
- package/Types/Monitor/OpenStackAlertTemplates.js +67 -43
- package/Types/Monitor/OpenStackControlPlaneAlertTemplates.js +20 -11
- package/Types/Monitor/OpenStackLogAlertTemplates.js +4 -1
- package/Types/Monitor/OpenStackMetricCatalog.d.mts +1 -0
- package/Types/Monitor/OpenStackMetricCatalog.d.ts +1 -0
- package/Types/Monitor/OpenStackMetricCatalog.js +366 -276
- package/Types/Monitor/OpenStackMetricCatalog.mjs +1 -0
- package/Types/Monitor/PodmanAlertTemplates.js +28 -19
- package/Types/Monitor/PodmanMetricCatalog.d.mts +1 -0
- package/Types/Monitor/PodmanMetricCatalog.d.ts +1 -0
- package/Types/Monitor/PodmanMetricCatalog.js +45 -28
- package/Types/Monitor/PodmanMetricCatalog.mjs +1 -0
- package/Types/Monitor/ProxmoxAlertTemplates.js +42 -27
- package/Types/Monitor/ProxmoxMetricCatalog.d.mts +1 -0
- package/Types/Monitor/ProxmoxMetricCatalog.d.ts +1 -0
- package/Types/Monitor/ProxmoxMetricCatalog.js +46 -28
- package/Types/Monitor/ProxmoxMetricCatalog.mjs +1 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.js +16 -3
- package/Types/Monitor/Recommendation/MonitorRecommendationUtil.js +5 -2
- package/Types/Monitor/Recommendation/RecommendationCriteriaBuilder.js +13 -6
- package/Types/Monitor/ServiceAlertTemplates.js +17 -7
- package/Types/Monitor/SnmpMonitor/SnmpOidListUtil.js +9 -2
- package/Types/Monitor/SnmpMonitor/SnmpTableListUtil.js +39 -10
- package/Types/Monitor/StorageArrayAlertTemplates.js +39 -21
- package/Types/Monitor/StorageArrayMetricCatalog.d.mts +1 -0
- package/Types/Monitor/StorageArrayMetricCatalog.d.ts +1 -0
- package/Types/Monitor/StorageArrayMetricCatalog.js +76 -56
- package/Types/Monitor/StorageArrayMetricCatalog.mjs +1 -0
- package/Types/Monitor/TelemetryAlertRule.js +71 -19
- package/Types/Monitor/VMwareAlertTemplates.js +35 -23
- package/Types/Monitor/VMwareMetricCatalog.d.mts +1 -0
- package/Types/Monitor/VMwareMetricCatalog.d.ts +1 -0
- package/Types/Monitor/VMwareMetricCatalog.js +167 -148
- package/Types/Monitor/VMwareMetricCatalog.mjs +1 -0
- package/Types/Monitor/WhoIsTold.js +31 -14
- package/Types/NetworkController/NetworkControllerConnectionHealth.js +4 -1
- package/Types/NetworkController/NetworkControllerDeviceAdd.js +30 -4
- package/Types/NetworkController/NetworkControllerReadSummary.js +42 -19
- package/Types/NetworkDevice/DeviceNaming.js +11 -2
- package/Types/NetworkDevice/DiscoveredDevice.js +3 -1
- package/Types/NetworkDevice/DiscoveryImport.js +4 -2
- package/Types/NetworkEvent/NetworkEventAlertTemplates.js +18 -3
- package/Types/NoBreakSpaces.d.mts +2 -0
- package/Types/NoBreakSpaces.d.ts +2 -0
- package/Types/NoBreakSpaces.js +101 -10
- package/Types/NoBreakSpaces.mjs +2 -0
- package/Types/Notification/OwnerNotificationDelivery.d.mts +51 -0
- package/Types/Notification/OwnerNotificationDelivery.d.ts +51 -0
- package/Types/Notification/OwnerNotificationDelivery.js +107 -0
- package/Types/Notification/OwnerNotificationDelivery.mjs +4 -0
- package/Types/NotificationRule/PagingLadder.js +2 -2
- package/Types/OnCallDutyPolicy/EveryNewEventRules.d.mts +10 -2
- package/Types/OnCallDutyPolicy/EveryNewEventRules.d.ts +10 -2
- package/Types/OnCallDutyPolicy/EveryNewEventRules.js +97 -17
- package/Types/OnCallDutyPolicy/EveryNewEventRules.mjs +7 -0
- package/Types/OnCallDutyPolicy/Layer.js +26 -9
- package/Types/OnCallDutyPolicy/MaterializedShift.js +4 -4
- package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.js +6 -2
- package/Types/OnCallDutyPolicy/OnCallCalendarFeedUtil.js +4 -1
- package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.d.mts +6 -0
- package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.d.ts +6 -0
- package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.js +65 -3
- package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.mjs +2 -0
- package/Types/OnCallDutyPolicy/OnCallLogLine.d.mts +66 -0
- package/Types/OnCallDutyPolicy/OnCallLogLine.d.ts +66 -0
- package/Types/OnCallDutyPolicy/OnCallLogLine.js +459 -0
- package/Types/OnCallDutyPolicy/OnCallLogLine.mjs +3 -0
- package/Types/OnCallDutyPolicy/OnCallPageEnding.d.mts +16 -0
- package/Types/OnCallDutyPolicy/OnCallPageEnding.d.ts +16 -0
- package/Types/OnCallDutyPolicy/OnCallPageEnding.js +83 -0
- package/Types/OnCallDutyPolicy/OnCallPageEnding.mjs +10 -0
- package/Types/OnCallDutyPolicy/OnCallPageLine.d.mts +1 -0
- package/Types/OnCallDutyPolicy/OnCallPageLine.d.ts +1 -0
- package/Types/OnCallDutyPolicy/OnCallPageLine.js +8 -1
- package/Types/OnCallDutyPolicy/OnCallPageLine.mjs +1 -0
- package/Types/OnCallDutyPolicy/OnCallPagePassOn.js +20 -7
- package/Types/OnCallDutyPolicy/OnCallPageRecordGone.d.mts +6 -0
- package/Types/OnCallDutyPolicy/OnCallPageRecordGone.d.ts +6 -0
- package/Types/OnCallDutyPolicy/OnCallPageRecordGone.js +29 -3
- package/Types/OnCallDutyPolicy/OnCallPageRecordGone.mjs +2 -0
- package/Types/OnCallDutyPolicy/OnCallPolicyRunLine.d.mts +22 -0
- package/Types/OnCallDutyPolicy/OnCallPolicyRunLine.d.ts +22 -0
- package/Types/OnCallDutyPolicy/OnCallPolicyRunLine.js +104 -0
- package/Types/OnCallDutyPolicy/OnCallPolicyRunLine.mjs +5 -0
- package/Types/OnCallDutyPolicy/OnCallPolicyRunRetry.d.mts +31 -0
- package/Types/OnCallDutyPolicy/OnCallPolicyRunRetry.d.ts +31 -0
- package/Types/OnCallDutyPolicy/OnCallPolicyRunRetry.js +185 -0
- package/Types/OnCallDutyPolicy/OnCallPolicyRunRetry.mjs +11 -0
- package/Types/OnCallDutyPolicy/OnCallRunStart.d.mts +8 -0
- package/Types/OnCallDutyPolicy/OnCallRunStart.d.ts +8 -0
- package/Types/OnCallDutyPolicy/OnCallRunStart.js +63 -0
- package/Types/OnCallDutyPolicy/OnCallRunStart.mjs +9 -0
- package/Types/OnCallDutyPolicy/OnCallSendFailureLine.d.mts +36 -0
- package/Types/OnCallDutyPolicy/OnCallSendFailureLine.d.ts +36 -0
- package/Types/OnCallDutyPolicy/OnCallSendFailureLine.js +258 -0
- package/Types/OnCallDutyPolicy/OnCallSendFailureLine.mjs +16 -0
- package/Types/OnCallDutyPolicy/OnCallSentLine.d.mts +48 -0
- package/Types/OnCallDutyPolicy/OnCallSentLine.d.ts +48 -0
- package/Types/OnCallDutyPolicy/OnCallSentLine.js +244 -0
- package/Types/OnCallDutyPolicy/OnCallSentLine.mjs +28 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.d.mts +12 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.d.ts +12 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.js +29 -0
- package/Types/OnCallDutyPolicy/OnCallTestPageLine.js +84 -3
- package/Types/OnCallDutyPolicy/ScheduleResolution.js +11 -4
- package/Types/OnCallDutyPolicy/ScheduleTimeline.js +9 -1
- package/Types/OnCallDutyPolicy/ScheduleTimelineLayout.d.mts +2 -1
- package/Types/OnCallDutyPolicy/ScheduleTimelineLayout.d.ts +2 -1
- package/Types/OnCallDutyPolicy/ScheduleTimelineLayout.js +16 -8
- package/Types/OnCallDutyPolicy/ShiftSeamUtil.js +5 -1
- package/Types/OnCallDutyPolicy/UserOverrideOverlap.js +12 -2
- package/Types/OnCallDutyPolicy/UserOverrideUtil.js +31 -9
- package/Types/OnCallDutyPolicy/WorkingHours.js +5 -1
- package/Types/OpenStack/OpenStackBlastRadius.js +16 -1
- package/Types/OpenStack/OpenStackCapacity.js +27 -9
- package/Types/OpenStack/OpenStackCapacitySnapshot.js +14 -7
- package/Types/OpenStack/OpenStackProjectUsage.js +2 -2
- package/Types/OpenStack/OpenStackScale.js +4 -1
- package/Types/OpenStack/OpenStackSpendSnapshot.js +59 -21
- package/Types/OpenStack/OpenStackStatusPagePlan.js +8 -2
- package/Types/OpenStack/OpenStackWaste.js +19 -5
- package/Types/PacketCapture/PacketCaptureCapability.js +1 -1
- package/Types/PacketCapture/PacketCaptureLimits.js +3 -3
- package/Types/PacketCapture/PacketCapturePermissions.js +2 -2
- package/Types/Permission.d.mts +2 -0
- package/Types/Permission.d.ts +2 -0
- package/Types/Permission.js +159 -78
- package/Types/ProductFeedback/ProductFeedback.js +29 -19
- package/Types/Realtime/EventName.d.mts +1 -0
- package/Types/Realtime/EventName.d.ts +1 -0
- package/Types/Realtime/EventName.js +11 -0
- package/Types/Rules/RuleRun.js +11 -2
- package/Types/Rum/ProductAnalyticsEventReads.js +4 -2
- package/Types/Rum/ProductAnalyticsEvents.d.mts +2 -0
- package/Types/Rum/ProductAnalyticsEvents.d.ts +2 -0
- package/Types/Rum/ProductAnalyticsEvents.js +139 -20
- package/Types/Rum/ProductAnalyticsEvents.mjs +2 -0
- package/Types/Rum/RumApplicationStatus.js +1 -1
- package/Types/Rum/SessionReplayFrustrationSignals.js +15 -33
- package/Types/Rum/UserFlow.js +25 -6
- package/Types/Rum/WebVitals.js +7 -3
- package/Types/Runbook/HttpStepVariables.js +10 -5
- package/Types/Runbook/RunbookLegacySteps.js +1 -1
- package/Types/Runbook/RunbookSchedule.js +30 -5
- package/Types/Runbook/RunbookStepApproval.js +1 -1
- package/Types/Runbook/SshHostKey.js +1 -1
- package/Types/Runner/GlobalRunnerWork.js +4 -1
- package/Types/Runner/RunnerChoice.js +8 -3
- package/Types/Runner/RunnerCodeFixes.js +1 -1
- package/Types/SecurityCase/SecurityCaseEventEvidence.js +4 -1
- package/Types/SecurityCase/SecurityEntityRisk.d.mts +5 -0
- package/Types/SecurityCase/SecurityEntityRisk.d.ts +5 -0
- package/Types/SecurityCase/SecurityEntityRisk.js +8 -1
- package/Types/SecurityCase/SecurityEntityRisk.mjs +1 -0
- package/Types/SecurityEvent/SecurityHunt.js +10 -2
- package/Types/SecurityEvent/SecurityWatchlist.js +5 -1
- package/Types/SecurityEvent/SecurityWatchlistFilter.js +1 -1
- package/Types/SecurityPlaybook/SecurityPlaybookStep.js +23 -9
- package/Types/SecurityPlaybook/SecurityPlaybookTemplates.js +9 -2
- package/Types/ServerSending/ServerSendingStatus.js +15 -6
- package/Types/ServerSetup/ServerSetupChecklist.js +33 -14
- package/Types/Serverless/ServerlessFunctionStatus.js +1 -1
- package/Types/Service/ServiceTelemetryStatus.js +5 -1
- package/Types/ServiceLevelObjective/SliType.d.mts +2 -0
- package/Types/ServiceLevelObjective/SliType.d.ts +2 -0
- package/Types/ServiceLevelObjective/SliType.js +15 -0
- package/Types/SetupHealth/SetupHealth.js +17 -7
- package/Types/StatusPage/IncidentSubscriberAudience.js +11 -3
- package/Types/StatusPage/PublicNoteApproval.js +9 -3
- package/Types/StatusPage/StatusPageAccess.js +5 -1
- package/Types/StatusPage/SubscriberNotificationPreview.js +2 -2
- package/Types/StatusPage/SubscriberNotificationTemplateVariables.js +6 -3
- package/Types/Table/DefaultTableColumns.js +1 -1
- package/Types/Team/ComplianceRule.d.mts +9 -5
- package/Types/Team/ComplianceRule.d.ts +9 -5
- package/Types/Team/ComplianceRule.js +207 -69
- package/Types/Team/ComplianceRule.mjs +2 -0
- package/Types/Team/CustomRole.d.mts +8 -0
- package/Types/Team/CustomRole.d.ts +8 -0
- package/Types/Team/CustomRole.js +37 -2
- package/Types/Team/CustomRole.mjs +2 -0
- package/Types/Team/CustomRoleCopyPlan.js +25 -14
- package/Types/Team/TeamComplianceFindings.d.mts +20 -0
- package/Types/Team/TeamComplianceFindings.d.ts +20 -0
- package/Types/Team/TeamComplianceFindings.js +282 -0
- package/Types/Team/TeamComplianceFindings.mjs +7 -0
- package/Types/Team/TeamComplianceStatus.d.mts +28 -0
- package/Types/Team/TeamComplianceStatus.d.ts +28 -0
- package/Types/Team/TeamComplianceStatus.js +38 -0
- package/Types/Team/TeamComplianceStatus.mjs +3 -1
- package/Types/Telemetry/ExceptionAIExplanation.js +7 -3
- package/Types/Telemetry/ExceptionSpanScope.js +2 -2
- package/Types/Telemetry/LlmMetricUsageApi.js +4 -1
- package/Types/Telemetry/LlmSetupCheckApi.js +16 -2
- package/Types/Telemetry/LlmUsageApi.js +5 -2
- package/Types/Telemetry/SimilarExceptions.js +15 -5
- package/Types/Telemetry/TelemetryIngestionBudget.js +5 -5
- package/Types/Template/TemplateVariable.js +1 -1
- package/Types/ToolImport/ToolImportMonitorBuilder.js +7 -2
- package/Types/Translator.d.mts +2 -0
- package/Types/Translator.d.ts +2 -0
- package/Types/Translator.js +194 -39
- package/Types/Translator.mjs +2 -0
- package/Types/UsedBy/UsedByServerProducts.js +5 -2
- package/Types/UserSession/SessionLength.d.mts +8 -0
- package/Types/UserSession/SessionLength.d.ts +8 -0
- package/Types/UserSession/SessionLength.js +73 -6
- package/Types/UserSession/SessionLength.mjs +5 -0
- package/Types/WebsiteRequest.js +4 -1
- package/Types/WelcomeChecklist/WelcomeChecklistState.js +11 -4
- package/Types/Workflow/AffectedResourcesSetting.js +14 -4
- package/Types/Workflow/Components/AI.js +34 -33
- package/Types/Workflow/Components/API.js +143 -138
- package/Types/Workflow/Components/BaseModel.js +157 -133
- package/Types/Workflow/Components/Condition.js +20 -19
- package/Types/Workflow/Components/ConditionComparison.js +25 -24
- package/Types/Workflow/Components/Discord.js +16 -15
- package/Types/Workflow/Components/Email.js +30 -29
- package/Types/Workflow/Components/FromAnotherTool.d.mts +23 -0
- package/Types/Workflow/Components/FromAnotherTool.d.ts +23 -0
- package/Types/Workflow/Components/FromAnotherTool.js +91 -47
- package/Types/Workflow/Components/Huntress.js +70 -65
- package/Types/Workflow/Components/IRC.js +38 -33
- package/Types/Workflow/Components/IncomingEmail.js +30 -29
- package/Types/Workflow/Components/JSON.js +42 -41
- package/Types/Workflow/Components/JavaScript.js +18 -17
- package/Types/Workflow/Components/JavaScriptCheck.js +22 -21
- package/Types/Workflow/Components/Log.js +10 -9
- package/Types/Workflow/Components/Manual.js +10 -9
- package/Types/Workflow/Components/Mattermost.js +22 -21
- package/Types/Workflow/Components/MicrosoftTeams.js +16 -15
- package/Types/Workflow/Components/OnCall.js +66 -65
- package/Types/Workflow/Components/OpenStack.js +29 -28
- package/Types/Workflow/Components/Schedule.js +8 -7
- package/Types/Workflow/Components/Slack.js +16 -15
- package/Types/Workflow/Components/Sleep.js +16 -15
- package/Types/Workflow/Components/Switch.js +12 -11
- package/Types/Workflow/Components/Telegram.js +18 -17
- package/Types/Workflow/Components/Webhook.js +18 -17
- package/Types/Workflow/Components/Workflow.js +15 -14
- package/Types/Workflow/Components/Zabbix.js +30 -25
- package/Types/Workflow/Components.js +36 -35
- package/Types/Workflow/CreateFromTemplate.js +5 -4
- package/Types/Workflow/Documentation/DatabaseDocumentation.js +33 -2
- package/Types/Workflow/OwnersOnCreateSetting.d.mts +7 -0
- package/Types/Workflow/OwnersOnCreateSetting.d.ts +7 -0
- package/Types/Workflow/OwnersOnCreateSetting.js +76 -0
- package/Types/Workflow/OwnersOnCreateSetting.mjs +5 -0
- package/Types/Workflow/RunRecord.js +12 -4
- package/Types/Workflow/StepSamples.js +1 -1
- package/Types/Workflow/StepTrace.js +6 -2
- package/Types/Workflow/TemplateLayout.js +8 -2
- package/Types/Workflow/Templates.d.mts +3 -0
- package/Types/Workflow/Templates.d.ts +3 -0
- package/Types/Workflow/Templates.js +278 -33
- package/Types/Workflow/Templates.mjs +2 -0
- package/Types/Workflow/WorkflowDraft.js +17 -5
- package/Types/Workflow/WorkflowDraftRebase.js +7 -3
- package/Types/Workflow/WorkflowVariableOAuth.js +5 -5
- package/Types/Workspace/NotificationRules/NotificationRuleInvites.js +5 -2
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.js +1 -1
- package/Utils/AI/InvestigationImpactNumbers.js +5 -1
- package/Utils/AI/InvestigationReport.js +3 -2
- package/Utils/AI/PromptText.js +1 -1
- package/Utils/API.js +99 -20
- package/Utils/AiRemediation/CloudChangeWords.js +2 -2
- package/Utils/AiRemediation/GitOpsOwnership.js +37 -5
- package/Utils/AiRemediation/KubectlPolicy.js +10 -1
- package/Utils/AiRemediation/KubectlRevertWatch.js +8 -4
- package/Utils/AiRemediation/KubectlWriteScope.js +15 -3
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.js +1 -1
- package/Utils/AiRemediation/Resource/DockerCliGrammar.js +1 -1
- package/Utils/AiRemediation/Resource/DockerSwarmCommandPolicy.js +1 -1
- package/Utils/AiRemediation/Resource/HostCommandPolicy.js +41 -18
- package/Utils/AiRemediation/Resource/OpenStackChangeReach.js +6 -3
- package/Utils/AiRemediation/Resource/OpenStackCommandPolicy.js +27 -5
- package/Utils/AiRemediation/Resource/ProxmoxCommandPolicy.js +1 -1
- package/Utils/AiRemediation/VerifiedFixRunbook.js +5 -1
- package/Utils/Alerts/AlertMetricType.js +20 -12
- package/Utils/AuditLog/AuditLogResourceTypes.d.mts +4 -0
- package/Utils/AuditLog/AuditLogResourceTypes.d.ts +4 -0
- package/Utils/AuditLog/AuditLogResourceTypes.js +107 -0
- package/Utils/AuditLog/AuditLogResourceTypes.mjs +5 -0
- package/Utils/AuditLog/AuditLogTypedValues.js +2 -2
- package/Utils/ColorContrast.js +6 -3
- package/Utils/CronScheduleText.js +4 -1
- package/Utils/CronTab.js +20 -5
- package/Utils/Dashboard/Components/DashboardAlertListComponent.js +15 -9
- package/Utils/Dashboard/Components/DashboardDataSourceGaugeComponent.js +5 -1
- package/Utils/Dashboard/Components/DashboardDataSourceValueComponent.js +5 -1
- package/Utils/Dashboard/Components/DashboardIncidentListComponent.js +15 -9
- package/Utils/Dashboard/Components/DashboardListSharedArgs.js +2 -1
- package/Utils/Dashboard/Components/DashboardSecurityEventsListComponent.js +6 -1
- package/Utils/Dashboard/Components/DashboardTableComponent.js +5 -1
- package/Utils/Dashboard/DashboardViewConfig.js +17 -3
- package/Utils/Dashboard/DashboardWidgetIds.js +1 -1
- package/Utils/Dashboard/DashboardWidgetSorts.js +37 -15
- package/Utils/Dashboard/GridLayout.js +21 -6
- package/Utils/Dashboard/ModelQueryVariableInterpolation.js +3 -3
- package/Utils/Dashboard/StoredDashboardViewConfig.js +22 -7
- package/Utils/Dashboard/TableThresholds.js +4 -2
- package/Utils/Dashboard/VariableInterpolation.js +18 -3
- package/Utils/Dashboard/VariableUrlState.js +11 -3
- package/Utils/DataSecurity/DataStoreContentScanSchedule.d.mts +66 -0
- package/Utils/DataSecurity/DataStoreContentScanSchedule.d.ts +66 -0
- package/Utils/DataSecurity/DataStoreContentScanSchedule.js +212 -0
- package/Utils/DataSecurity/DataStoreContentScanSchedule.mjs +12 -0
- package/Utils/DataSecurity/Detectors/FinancialDetectors.js +4 -1
- package/Utils/DataSecurity/FieldClassifier.js +15 -4
- package/Utils/DataSecurity/FieldCollector.js +1 -1
- package/Utils/DeveloperDocs/CliExamples.js +2 -2
- package/Utils/DeveloperDocs/ExampleBuilder.js +1 -1
- package/Utils/DeveloperDocs/Hcl.js +8 -5
- package/Utils/DeveloperDocs/LiveData.js +7 -3
- package/Utils/Exceptions/ExceptionInsight.js +6 -3
- package/Utils/Grok/Grok.js +2 -1
- package/Utils/GuidedSetup/OnCallPolicyRecords.d.mts +23 -0
- package/Utils/GuidedSetup/OnCallPolicyRecords.d.ts +23 -0
- package/Utils/GuidedSetup/OnCallPolicyRecords.js +89 -4
- package/Utils/GuidedSetup/OnCallPolicyRecords.mjs +6 -0
- package/Utils/HTTPResponseBodyReader.js +22 -42
- package/Utils/Incident/IncidentFromAlerts.js +1 -1
- package/Utils/Incident/IncidentMetricType.js +21 -12
- package/Utils/Inventory/InventoryAssetDetails.js +5 -1
- package/Utils/LabelRuleImportExport.js +5 -5
- package/Utils/LinearRegExp/LinearRegExp.d.mts +3 -1
- package/Utils/LinearRegExp/LinearRegExp.d.ts +3 -1
- package/Utils/LinearRegExp/LinearRegExp.js +15 -8
- package/Utils/LinearRegExp/Parser.js +2 -2
- package/Utils/LinearRegExp/PatternCache.js +4 -3
- package/Utils/Log/KeyValueParser.js +6 -7
- package/Utils/Logs/LogInsight.js +1 -1
- package/Utils/LookupTable.js +11 -9
- package/Utils/Markdown/ChatMessageMarkdown.js +8 -5
- package/Utils/Markdown/LinkReferenceDefinitions.js +10 -2
- package/Utils/Markdown/OverLongText.d.mts +3 -2
- package/Utils/Markdown/OverLongText.d.ts +3 -2
- package/Utils/Markdown/OverLongText.js +819 -146
- package/Utils/Markdown/SlowMarkdown.js +4 -1
- package/Utils/Metrics/MetricExplorerUrl.d.mts +1 -0
- package/Utils/Metrics/MetricExplorerUrl.d.ts +1 -0
- package/Utils/Metrics/MetricExplorerUrl.js +81 -24
- package/Utils/Metrics/MetricInsight.js +14 -6
- package/Utils/Metrics/MetricQueryCloudAggregation.js +10 -1
- package/Utils/Metrics/MetricQueryFallback.js +8 -2
- package/Utils/Metrics/MetricQueryServices.js +10 -2
- package/Utils/Metrics/MetricResourceAttributeUtil.js +5 -2
- package/Utils/Metrics/MetricResultUnitConverter.js +4 -1
- package/Utils/Metrics/MetricSeriesArrivalUtil.js +1 -1
- package/Utils/Metrics/MetricSeriesScope.js +17 -3
- package/Utils/Metrics/MetricWholeWindow.js +10 -4
- package/Utils/Metrics/RecordingRuleExpression.js +17 -5
- package/Utils/Milliseconds.d.mts +21 -0
- package/Utils/Milliseconds.d.ts +21 -0
- package/Utils/Milliseconds.js +279 -4
- package/Utils/Milliseconds.mjs +6 -0
- package/Utils/ModelApiName.d.mts +2 -0
- package/Utils/ModelApiName.d.ts +2 -0
- package/Utils/ModelApiName.js +26 -0
- package/Utils/ModelApiName.mjs +2 -0
- package/Utils/Monitor/DatabaseCollectionIssueReading.d.mts +14 -0
- package/Utils/Monitor/DatabaseCollectionIssueReading.d.ts +14 -0
- package/Utils/Monitor/DatabaseCollectionIssueReading.js +67 -0
- package/Utils/Monitor/DatabaseCollectionIssueReading.mjs +5 -0
- package/Utils/Monitor/IncomingRequestSubscriptionConfirmation.d.mts +32 -0
- package/Utils/Monitor/IncomingRequestSubscriptionConfirmation.d.ts +32 -0
- package/Utils/Monitor/IncomingRequestSubscriptionConfirmation.js +342 -0
- package/Utils/Monitor/IncomingRequestSubscriptionConfirmation.mjs +7 -0
- package/Utils/Monitor/MetricTelemetrySnapshot.js +9 -3
- package/Utils/Monitor/MetricValueFormatter.d.mts +6 -0
- package/Utils/Monitor/MetricValueFormatter.d.ts +6 -0
- package/Utils/Monitor/MetricValueFormatter.js +7 -1
- package/Utils/Monitor/MonitorEvaluationDetailsUtil.js +5 -1
- package/Utils/Monitor/MonitorMetricType.js +112 -105
- package/Utils/Monitor/MonitorOverviewPresentationUtil.js +97 -25
- package/Utils/Monitor/MonitorOverviewProbeUtil.js +2 -1
- package/Utils/Monitor/MonitorRootCauseWording.d.mts +3 -0
- package/Utils/Monitor/MonitorRootCauseWording.d.ts +3 -0
- package/Utils/Monitor/MonitorRootCauseWording.js +139 -5
- package/Utils/Monitor/MonitorStepMetricQueries.js +27 -10
- package/Utils/Monitor/MonitorSummarySnapshotUtil.js +12 -4
- package/Utils/Monitor/MonitorTemplateCustomFieldUtil.js +4 -1
- package/Utils/Monitor/NotOperationalMonitorQuery.js +5 -2
- package/Utils/Monitor/PlatformResourceIdentity.js +64 -13
- package/Utils/Monitor/ProbeAgreementRule.d.mts +16 -0
- package/Utils/Monitor/ProbeAgreementRule.d.ts +16 -0
- package/Utils/Monitor/ProbeAgreementRule.js +42 -12
- package/Utils/Monitor/ProbeAgreementRule.mjs +2 -0
- package/Utils/Monitor/ProbeFailureCauses.d.mts +80 -0
- package/Utils/Monitor/ProbeFailureCauses.d.ts +80 -0
- package/Utils/Monitor/ProbeFailureCauses.js +649 -0
- package/Utils/Monitor/ProbeFailureCauses.mjs +10 -0
- package/Utils/Monitor/ProbeFailureReading.d.mts +2 -1
- package/Utils/Monitor/ProbeFailureReading.d.ts +2 -1
- package/Utils/Monitor/ProbeFailureReading.js +19 -6
- package/Utils/Monitor/ResourceHeartbeat.js +8 -2
- package/Utils/Monitor/RootCauseFacts.d.mts +30 -0
- package/Utils/Monitor/RootCauseFacts.d.ts +30 -0
- package/Utils/Monitor/RootCauseFacts.js +427 -0
- package/Utils/Monitor/RootCauseFacts.mjs +10 -0
- package/Utils/NetworkDevice/DeviceNameLikeness.js +5 -1
- package/Utils/NetworkDevice/Naming/DeviceNamingPlanner.js +33 -7
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.js +10 -4
- package/Utils/NetworkDevice/NetworkDeviceRefresh.js +8 -1
- package/Utils/NetworkDevice/TransceiverHealthUtil.js +22 -7
- package/Utils/NetworkDiscovery/DiscoveredHostUtil.js +6 -3
- package/Utils/NetworkEvent/SnmpTrapEvent.js +5 -1
- package/Utils/NetworkSite/TypeHierarchyUtil.js +4 -1
- package/Utils/OpenStack/OpenStackCheckFindings.js +5 -1
- package/Utils/OpenStack/OpenStackCheckMetrics.js +9 -4
- package/Utils/OpenStack/OpenStackCheckSettings.js +5 -2
- package/Utils/OpenStack/OpenStackCollectionStop.d.mts +25 -0
- package/Utils/OpenStack/OpenStackCollectionStop.d.ts +25 -0
- package/Utils/OpenStack/OpenStackCollectionStop.js +71 -0
- package/Utils/OpenStack/OpenStackCollectionStop.mjs +3 -0
- package/Utils/Probe/ClaimDueTime.d.mts +18 -0
- package/Utils/Probe/ClaimDueTime.d.ts +18 -0
- package/Utils/Probe/ClaimDueTime.js +66 -0
- package/Utils/Probe/ClaimDueTime.mjs +4 -0
- package/Utils/ProbeNetworkFailureUtil.js +35 -14
- package/Utils/Project/NotificationChannels.js +1 -1
- package/Utils/Project/ProjectBalance.d.mts +9 -0
- package/Utils/Project/ProjectBalance.d.ts +9 -0
- package/Utils/Project/ProjectBalance.js +31 -3
- package/Utils/Project/ProjectBalance.mjs +1 -0
- package/Utils/Project/TwilioAccount.js +2 -2
- package/Utils/PromQL/PromQLEngine.js +7 -10
- package/Utils/PromQL/PromQLFunctionEvaluators.js +88 -48
- package/Utils/PromQL/PromQLLabelOrder.d.mts +3 -0
- package/Utils/PromQL/PromQLLabelOrder.d.ts +3 -0
- package/Utils/PromQL/PromQLLabelOrder.js +14 -1
- package/Utils/PromQL/PromQLLabelOrder.mjs +1 -0
- package/Utils/PromQL/PromQLLabels.js +4 -4
- package/Utils/PromQL/PromQLMath.js +1 -1
- package/Utils/PromQL/PromQLParser.js +7 -3
- package/Utils/PromQL/PromQLRegex.d.mts +22 -4
- package/Utils/PromQL/PromQLRegex.d.ts +22 -4
- package/Utils/PromQL/PromQLRegex.js +333 -72
- package/Utils/PromQL/PromQLRegex.mjs +3 -0
- package/Utils/PromQL/RE2CharacterClass.d.mts +24 -5
- package/Utils/PromQL/RE2CharacterClass.d.ts +24 -5
- package/Utils/PromQL/RE2CharacterClass.js +283 -110
- package/Utils/PromQL/RE2CharacterClass.mjs +6 -0
- package/Utils/PromQL/RE2UnicodeClass.d.mts +12 -0
- package/Utils/PromQL/RE2UnicodeClass.d.ts +12 -0
- package/Utils/PromQL/RE2UnicodeClass.js +331 -0
- package/Utils/PromQL/RE2UnicodeClass.mjs +7 -0
- package/Utils/Realtime.d.mts +1 -0
- package/Utils/Realtime.d.ts +1 -0
- package/Utils/Realtime.js +10 -0
- package/Utils/Rules/RuleCriteriaMatcher.js +65 -17
- package/Utils/Rum/PathText.d.mts +2 -0
- package/Utils/Rum/PathText.d.ts +2 -0
- package/Utils/Rum/PathText.js +144 -0
- package/Utils/Rum/PathText.mjs +3 -0
- package/Utils/Rum/SessionReplayStringMap.d.mts +1 -1
- package/Utils/Rum/SessionReplayStringMap.d.ts +1 -1
- package/Utils/Rum/SessionReplayStringMap.js +6 -2
- package/Utils/Rum/UrlScrubber.d.mts +1 -1
- package/Utils/Rum/UrlScrubber.d.ts +1 -1
- package/Utils/Rum/UrlScrubber.js +65 -29
- package/Utils/Rum/UserFlow.d.mts +1 -0
- package/Utils/Rum/UserFlow.d.ts +1 -0
- package/Utils/Rum/UserFlow.js +42 -129
- package/Utils/Rum/UserFlow.mjs +1 -0
- package/Utils/Runbook/RunbookStepsSignature.js +1 -1
- package/Utils/Runbook/SshHostKeyFingerprint.js +4 -1
- package/Utils/Schema/AnalyticsModelSchema.js +1 -1
- package/Utils/Schema/ModelSchema.js +6 -2
- package/Utils/SecurityCase/SecurityCaseImpactFacts.js +2 -2
- package/Utils/SecurityCase/SecurityCaseStoryItems.js +15 -4
- package/Utils/SecurityCase/SecurityCaseTargets.js +19 -7
- package/Utils/SecurityCase/SecurityEntityRiskScore.d.mts +6 -4
- package/Utils/SecurityCase/SecurityEntityRiskScore.d.ts +6 -4
- package/Utils/SecurityCase/SecurityEntityRiskScore.js +150 -40
- package/Utils/SecurityCase/SecurityOverviewMetrics.d.mts +1 -0
- package/Utils/SecurityCase/SecurityOverviewMetrics.d.ts +1 -0
- package/Utils/SecurityCase/SecurityOverviewMetrics.js +21 -3
- package/Utils/SecurityCase/SecurityOverviewMetrics.mjs +1 -0
- package/Utils/SecurityCase/SecurityPlaybookStepValues.js +2 -2
- package/Utils/SecurityCase/SecurityTelemetrySearch.js +5 -1
- package/Utils/SecurityEvent/Connectors/AwsSecurityHubNormalizer.js +32 -7
- package/Utils/SecurityEvent/Connectors/CrowdStrikeFalconNormalizer.js +45 -15
- package/Utils/SecurityEvent/Connectors/ElasticSecurityNormalizer.js +44 -16
- package/Utils/SecurityEvent/Connectors/EntraIdNormalizer.js +4 -1
- package/Utils/SecurityEvent/Connectors/GoogleWorkspaceNormalizer.js +49 -6
- package/Utils/SecurityEvent/Connectors/Microsoft365AuditNormalizer.js +81 -12
- package/Utils/SecurityEvent/Connectors/MicrosoftDefenderXdrNormalizer.js +32 -5
- package/Utils/SecurityEvent/Connectors/SplunkNormalizer.js +53 -19
- package/Utils/SecurityEvent/Destinations/GoogleSecOpsUdmMapper.js +10 -2
- package/Utils/SecurityEvent/Destinations/SecurityEventRecord.js +7 -1
- package/Utils/SecurityEvent/DetectionOverflow.js +3 -2
- package/Utils/SecurityEvent/GenericNormalizer.js +42 -14
- package/Utils/SecurityEvent/LogParsers/CiscoAsaLogParser.js +104 -11
- package/Utils/SecurityEvent/LogParsers/CloudTrailLogParser.js +5 -4
- package/Utils/SecurityEvent/LogParsers/FortiGateLogParser.js +54 -5
- package/Utils/SecurityEvent/LogParsers/KubernetesAuditLogParser.js +5 -4
- package/Utils/SecurityEvent/LogParsers/OpenStackAuditLogParser.js +1 -1
- package/Utils/SecurityEvent/LogParsers/PaloAltoLogParser.js +81 -7
- package/Utils/SecurityEvent/LogParsers/SecurityDeviceLogParser.js +4 -1
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.js +49 -10
- package/Utils/SecurityEvent/LogParsers/SecurityLogParser.js +1 -1
- package/Utils/SecurityEvent/LogParsers/SshLogParser.js +5 -1
- package/Utils/SecurityEvent/LogParsers/SudoLogParser.js +5 -1
- package/Utils/SecurityEvent/LogParsers/WindowsEventLogParser.js +89 -15
- package/Utils/SecurityEvent/NormalizerHelpers.js +9 -5
- package/Utils/SecurityEvent/OcsfNormalizer.js +25 -7
- package/Utils/SecurityEvent/SecurityEventSearch.js +61 -13
- package/Utils/SecurityEvent/Sigma/SigmaRuleParser.js +3 -1
- package/Utils/SecurityEvent/Sigma/SigmaRuleSetParser.js +15 -5
- package/Utils/SecurityEvent/Sigma/SigmaWatchlists.js +18 -7
- package/Utils/SecurityEvent/TelemetryScan/AuditLogSignals.js +18 -9
- package/Utils/SecurityEvent/TelemetryScan/FlowSignals.js +14 -3
- package/Utils/SecurityEvent/TelemetryScan/TelemetrySecurityEvent.js +3 -1
- package/Utils/SecurityEvent/TelemetryScan/TraceSignals.js +9 -2
- package/Utils/SecurityEvent/UdmNormalizer.js +31 -8
- package/Utils/SessionReplay/SessionReplayHealth.js +34 -23
- package/Utils/Slo/SloBurnRateTemplate.d.mts +12 -0
- package/Utils/Slo/SloBurnRateTemplate.d.ts +12 -0
- package/Utils/Slo/SloBurnRateTemplate.js +55 -6
- package/Utils/Slo/SloBurnRateTemplate.mjs +2 -0
- package/Utils/Slo/SloErrorBudgetPolicy.js +1 -1
- package/Utils/Slo/SloFeedMarkdown.d.mts +19 -1
- package/Utils/Slo/SloFeedMarkdown.d.ts +19 -1
- package/Utils/Slo/SloFeedMarkdown.js +125 -17
- package/Utils/Slo/SloFeedMarkdown.mjs +3 -0
- package/Utils/Slo/SloHealth.d.mts +18 -1
- package/Utils/Slo/SloHealth.d.ts +18 -1
- package/Utils/Slo/SloHealth.js +145 -30
- package/Utils/Slo/SloHealth.mjs +2 -0
- package/Utils/Slo/SloListWidgetFormat.js +14 -4
- package/Utils/Slo/SloMetricSli.d.mts +55 -0
- package/Utils/Slo/SloMetricSli.d.ts +55 -0
- package/Utils/Slo/SloMetricSli.js +275 -0
- package/Utils/Slo/SloMetricSli.mjs +15 -0
- package/Utils/Slo/SloMetricType.js +32 -19
- package/Utils/Slo/SloMonitorStatusSummary.js +1 -1
- package/Utils/Slo/SloOverviewText.d.mts +1 -1
- package/Utils/Slo/SloOverviewText.d.ts +1 -1
- package/Utils/Slo/SloOverviewText.js +7 -1
- package/Utils/Slo/SloProjection.d.mts +2 -0
- package/Utils/Slo/SloProjection.d.ts +2 -0
- package/Utils/Slo/SloProjection.js +7 -2
- package/Utils/Slo/SloProjection.mjs +1 -0
- package/Utils/Slo/SloReleaseCheck.d.mts +68 -0
- package/Utils/Slo/SloReleaseCheck.d.ts +68 -0
- package/Utils/Slo/SloReleaseCheck.js +255 -0
- package/Utils/Slo/SloReleaseCheck.mjs +14 -0
- package/Utils/Slo/SloRequestFilter.d.mts +26 -0
- package/Utils/Slo/SloRequestFilter.d.ts +26 -0
- package/Utils/Slo/SloRequestFilter.js +142 -0
- package/Utils/Slo/SloRequestFilter.mjs +9 -0
- package/Utils/Slo/SloRequestSli.d.mts +127 -0
- package/Utils/Slo/SloRequestSli.d.ts +127 -0
- package/Utils/Slo/SloRequestSli.js +295 -0
- package/Utils/Slo/SloRequestSli.mjs +22 -0
- package/Utils/Slo/SloWidgetFormat.d.mts +10 -0
- package/Utils/Slo/SloWidgetFormat.d.ts +10 -0
- package/Utils/Slo/SloWidgetFormat.js +90 -4
- package/Utils/Slo/SloWidgetFormat.mjs +2 -0
- package/Utils/StateMove.js +4 -1
- package/Utils/StateOrder.js +7 -3
- package/Utils/StatusPage/Report.js +5 -1
- package/Utils/StatusPage/ReportPeriod.js +5 -1
- package/Utils/StatusPage/ReportText.js +25 -4
- package/Utils/Suggestions/ProfileFixSuggestion.js +10 -4
- package/Utils/Suggestions/SuggestionBlocker.js +12 -2
- package/Utils/Suggestions/TelemetryAiFixSuggestion.js +24 -8
- package/Utils/Syslog/SyslogMessageParser.js +14 -5
- package/Utils/Syslog/Vendors/Sophos.js +1 -1
- package/Utils/Syslog/Vendors/UniFi.js +4 -1
- package/Utils/Telemetry/CloudChangeTitle.js +8 -4
- package/Utils/Telemetry/CloudHealthDescription.js +6 -2
- package/Utils/Telemetry/CrossSignalScope.js +7 -15
- package/Utils/Telemetry/LlmConversationTranscript.js +1 -1
- package/Utils/Telemetry/LlmLogEvents.js +17 -7
- package/Utils/Telemetry/LlmMessageParser.js +27 -12
- package/Utils/Telemetry/LlmMetricUsage.js +4 -1
- package/Utils/Telemetry/LlmUsage.js +19 -17
- package/Utils/Telemetry/ReceivingGaps.js +1 -1
- package/Utils/Telemetry/TelemetryQueryTimeRange.js +13 -3
- package/Utils/Traces/TraceInsight.js +9 -6
- package/Utils/VMware/VMwareCollectionStop.d.mts +27 -0
- package/Utils/VMware/VMwareCollectionStop.d.ts +27 -0
- package/Utils/VMware/VMwareCollectionStop.js +74 -0
- package/Utils/VMware/VMwareCollectionStop.mjs +3 -0
- package/Utils/ValueFormatter.js +75 -67
- package/Utils/VideoCall/TranscriptText.js +3 -3
- package/Utils/WhatsAppTemplateFit.js +1 -1
- package/package.json +1 -1
|
@@ -8,6 +8,7 @@ exports.getProxmoxMetricsByCategory = getProxmoxMetricsByCategory;
|
|
|
8
8
|
exports.getProxmoxMetricById = getProxmoxMetricById;
|
|
9
9
|
exports.getProxmoxMetricByMetricName = getProxmoxMetricByMetricName;
|
|
10
10
|
exports.getAllProxmoxMetricCategories = getAllProxmoxMetricCategories;
|
|
11
|
+
exports.getProxmoxMetricCategoryLabel = getProxmoxMetricCategoryLabel;
|
|
11
12
|
const MonitorStepProxmoxMonitor_1 = require("./MonitorStepProxmoxMonitor");
|
|
12
13
|
const MetricsAggregationType_1 = __importDefault(require("../Metrics/MetricsAggregationType"));
|
|
13
14
|
const Translator_1 = require("../Translator");
|
|
@@ -29,7 +30,7 @@ const proxmoxMetricCatalog = [
|
|
|
29
30
|
{
|
|
30
31
|
id: "pve-up",
|
|
31
32
|
friendlyName: (0, Translator_1.translationKey)("Resource Up"),
|
|
32
|
-
description: "Whether a Proxmox resource is up (1) or down/stopped (0). Reported for nodes, guests and storage, and for the cluster itself (id cluster/<name>, 1 while it is quorate) — filter on pve.scope or the id label to scope.",
|
|
33
|
+
description: (0, Translator_1.translationKey)("Whether a Proxmox resource is up (1) or down/stopped (0). Reported for nodes, guests and storage, and for the cluster itself (id cluster/<name>, 1 while it is quorate) — filter on pve.scope or the id label to scope."),
|
|
33
34
|
metricName: "pve_up",
|
|
34
35
|
category: "Availability",
|
|
35
36
|
defaultAggregation: MetricsAggregationType_1.default.Min,
|
|
@@ -38,7 +39,7 @@ const proxmoxMetricCatalog = [
|
|
|
38
39
|
{
|
|
39
40
|
id: "pve-uptime-seconds",
|
|
40
41
|
friendlyName: (0, Translator_1.translationKey)("Uptime"),
|
|
41
|
-
description: "How long a node or guest has been running. Drops to zero when the resource is stopped or rebooted.",
|
|
42
|
+
description: (0, Translator_1.translationKey)("How long a node or guest has been running. Drops to zero when the resource is stopped or rebooted."),
|
|
42
43
|
metricName: "pve_uptime_seconds",
|
|
43
44
|
category: "Availability",
|
|
44
45
|
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
@@ -48,7 +49,7 @@ const proxmoxMetricCatalog = [
|
|
|
48
49
|
{
|
|
49
50
|
id: "pve-version-info",
|
|
50
51
|
friendlyName: (0, Translator_1.translationKey)("PVE Version Info"),
|
|
51
|
-
description: "Metadata series carrying the Proxmox VE release in its version/release labels (value is always 1).",
|
|
52
|
+
description: (0, Translator_1.translationKey)("Metadata series carrying the Proxmox VE release in its version/release labels (value is always 1)."),
|
|
52
53
|
metricName: "pve_version_info",
|
|
53
54
|
category: "Availability",
|
|
54
55
|
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
@@ -59,7 +60,7 @@ const proxmoxMetricCatalog = [
|
|
|
59
60
|
{
|
|
60
61
|
id: "pve-cpu-usage-ratio",
|
|
61
62
|
friendlyName: (0, Translator_1.translationKey)("CPU Usage Ratio"),
|
|
62
|
-
description: "CPU usage as a ratio of available CPU (0 to 1, where 1 = all cores fully used). Reported for nodes and guests — filter on pve.scope to pick one.",
|
|
63
|
+
description: (0, Translator_1.translationKey)("CPU usage as a ratio of available CPU (0 to 1, where 1 = all cores fully used). Reported for nodes and guests — filter on pve.scope to pick one."),
|
|
63
64
|
metricName: "pve_cpu_usage_ratio",
|
|
64
65
|
category: "Node",
|
|
65
66
|
defaultAggregation: MetricsAggregationType_1.default.Avg,
|
|
@@ -69,7 +70,7 @@ const proxmoxMetricCatalog = [
|
|
|
69
70
|
{
|
|
70
71
|
id: "pve-cpu-usage-limit",
|
|
71
72
|
friendlyName: (0, Translator_1.translationKey)("CPU Limit (Cores)"),
|
|
72
|
-
description: "Maximum CPU available to a node or guest, in cores. For guests this is the number of allocated vCPUs.",
|
|
73
|
+
description: (0, Translator_1.translationKey)("Maximum CPU available to a node or guest, in cores. For guests this is the number of allocated vCPUs."),
|
|
73
74
|
metricName: "pve_cpu_usage_limit",
|
|
74
75
|
category: "Node",
|
|
75
76
|
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
@@ -79,7 +80,7 @@ const proxmoxMetricCatalog = [
|
|
|
79
80
|
{
|
|
80
81
|
id: "pve-memory-usage-bytes",
|
|
81
82
|
friendlyName: (0, Translator_1.translationKey)("Memory Usage"),
|
|
82
|
-
description: "Memory currently in use by a node or guest. Compare against Memory Size to gauge memory pressure.",
|
|
83
|
+
description: (0, Translator_1.translationKey)("Memory currently in use by a node or guest. Compare against Memory Size to gauge memory pressure."),
|
|
83
84
|
metricName: "pve_memory_usage_bytes",
|
|
84
85
|
category: "Node",
|
|
85
86
|
defaultAggregation: MetricsAggregationType_1.default.Avg,
|
|
@@ -89,7 +90,7 @@ const proxmoxMetricCatalog = [
|
|
|
89
90
|
{
|
|
90
91
|
id: "pve-memory-size-bytes",
|
|
91
92
|
friendlyName: (0, Translator_1.translationKey)("Memory Size"),
|
|
92
|
-
description: "Total memory available to a node or guest. For guests this is the configured memory allocation.",
|
|
93
|
+
description: (0, Translator_1.translationKey)("Total memory available to a node or guest. For guests this is the configured memory allocation."),
|
|
93
94
|
metricName: "pve_memory_size_bytes",
|
|
94
95
|
category: "Node",
|
|
95
96
|
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
@@ -99,7 +100,7 @@ const proxmoxMetricCatalog = [
|
|
|
99
100
|
{
|
|
100
101
|
id: "pve-node-info",
|
|
101
102
|
friendlyName: (0, Translator_1.translationKey)("Node Info"),
|
|
102
|
-
description: "Metadata series for each Proxmox node (value is always 1) carrying the node's name label: 1 while the node reports. The agent scrapes every 30 seconds, and a Sum adds every scrape in the minute, so it does not count nodes.",
|
|
103
|
+
description: (0, Translator_1.translationKey)("Metadata series for each Proxmox node (value is always 1) carrying the node's name label: 1 while the node reports. The agent scrapes every 30 seconds, and a Sum adds every scrape in the minute, so it does not count nodes."),
|
|
103
104
|
metricName: "pve_node_info",
|
|
104
105
|
category: "Node",
|
|
105
106
|
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
@@ -110,7 +111,7 @@ const proxmoxMetricCatalog = [
|
|
|
110
111
|
{
|
|
111
112
|
id: "pve-network-receive-bytes",
|
|
112
113
|
friendlyName: (0, Translator_1.translationKey)("Network Received"),
|
|
113
|
-
description: "Cumulative bytes received over the network by a guest (VM or container). Chart as a rate to see throughput. Max reads its latest total.",
|
|
114
|
+
description: (0, Translator_1.translationKey)("Cumulative bytes received over the network by a guest (VM or container). Chart as a rate to see throughput. Max reads its latest total."),
|
|
114
115
|
metricName: "pve_network_receive_bytes",
|
|
115
116
|
category: "Guest",
|
|
116
117
|
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
@@ -120,7 +121,7 @@ const proxmoxMetricCatalog = [
|
|
|
120
121
|
{
|
|
121
122
|
id: "pve-network-transmit-bytes",
|
|
122
123
|
friendlyName: (0, Translator_1.translationKey)("Network Transmitted"),
|
|
123
|
-
description: "Cumulative bytes transmitted over the network by a guest (VM or container). Chart as a rate to see throughput. Max reads its latest total.",
|
|
124
|
+
description: (0, Translator_1.translationKey)("Cumulative bytes transmitted over the network by a guest (VM or container). Chart as a rate to see throughput. Max reads its latest total."),
|
|
124
125
|
metricName: "pve_network_transmit_bytes",
|
|
125
126
|
category: "Guest",
|
|
126
127
|
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
@@ -130,7 +131,7 @@ const proxmoxMetricCatalog = [
|
|
|
130
131
|
{
|
|
131
132
|
id: "pve-disk-read-bytes",
|
|
132
133
|
friendlyName: (0, Translator_1.translationKey)("Disk Read"),
|
|
133
|
-
description: "Cumulative bytes read from disk by a guest (VM or container). Chart as a rate to see read throughput. Max reads its latest total.",
|
|
134
|
+
description: (0, Translator_1.translationKey)("Cumulative bytes read from disk by a guest (VM or container). Chart as a rate to see read throughput. Max reads its latest total."),
|
|
134
135
|
metricName: "pve_disk_read_bytes",
|
|
135
136
|
category: "Guest",
|
|
136
137
|
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
@@ -140,7 +141,7 @@ const proxmoxMetricCatalog = [
|
|
|
140
141
|
{
|
|
141
142
|
id: "pve-disk-write-bytes",
|
|
142
143
|
friendlyName: (0, Translator_1.translationKey)("Disk Write"),
|
|
143
|
-
description: "Cumulative bytes written to disk by a guest (VM or container). Chart as a rate to see write throughput. Max reads its latest total.",
|
|
144
|
+
description: (0, Translator_1.translationKey)("Cumulative bytes written to disk by a guest (VM or container). Chart as a rate to see write throughput. Max reads its latest total."),
|
|
144
145
|
metricName: "pve_disk_write_bytes",
|
|
145
146
|
category: "Guest",
|
|
146
147
|
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
@@ -150,7 +151,7 @@ const proxmoxMetricCatalog = [
|
|
|
150
151
|
{
|
|
151
152
|
id: "pve-guest-info",
|
|
152
153
|
friendlyName: (0, Translator_1.translationKey)("Guest Info"),
|
|
153
|
-
description: "Metadata series for each guest (value is always 1) carrying name, node, and type labels: 1 while the guest exists. A Sum adds every scrape in the minute, so it does not count guests.",
|
|
154
|
+
description: (0, Translator_1.translationKey)("Metadata series for each guest (value is always 1) carrying name, node, and type labels: 1 while the guest exists. A Sum adds every scrape in the minute, so it does not count guests."),
|
|
154
155
|
metricName: "pve_guest_info",
|
|
155
156
|
category: "Guest",
|
|
156
157
|
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
@@ -160,7 +161,7 @@ const proxmoxMetricCatalog = [
|
|
|
160
161
|
{
|
|
161
162
|
id: "pve-lock-state",
|
|
162
163
|
friendlyName: (0, Translator_1.translationKey)("Lock State"),
|
|
163
|
-
description: "The lock Proxmox holds on a guest while a backup, migration, snapshot or clone runs, as an enum-style series: one series per lock (backup, migrate, snapshot, suspended...) with value 1 for the one held. Filter on the state label.",
|
|
164
|
+
description: (0, Translator_1.translationKey)("The lock Proxmox holds on a guest while a backup, migration, snapshot or clone runs, as an enum-style series: one series per lock (backup, migrate, snapshot, suspended...) with value 1 for the one held. Filter on the state label."),
|
|
164
165
|
metricName: "pve_lock_state",
|
|
165
166
|
category: "Guest",
|
|
166
167
|
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
@@ -169,7 +170,7 @@ const proxmoxMetricCatalog = [
|
|
|
169
170
|
{
|
|
170
171
|
id: "pve-onboot-status",
|
|
171
172
|
friendlyName: (0, Translator_1.translationKey)("Start-on-Boot Status"),
|
|
172
|
-
description: "Whether a guest is configured to start on node boot (1) or not (0). A stopped guest with onboot=1 is usually unintended downtime.",
|
|
173
|
+
description: (0, Translator_1.translationKey)("Whether a guest is configured to start on node boot (1) or not (0). A stopped guest with onboot=1 is usually unintended downtime."),
|
|
173
174
|
metricName: "pve_onboot_status",
|
|
174
175
|
category: "Guest",
|
|
175
176
|
defaultAggregation: MetricsAggregationType_1.default.Min,
|
|
@@ -180,7 +181,7 @@ const proxmoxMetricCatalog = [
|
|
|
180
181
|
{
|
|
181
182
|
id: "pve-disk-usage-bytes",
|
|
182
183
|
friendlyName: (0, Translator_1.translationKey)("Disk Usage"),
|
|
183
|
-
description: "Disk space currently used. Reported for storage volumes, node root filesystems, and guest root disks — filter on pve.scope to pick one. For QEMU guests this reads 0 unless the QEMU guest agent is installed.",
|
|
184
|
+
description: (0, Translator_1.translationKey)("Disk space currently used. Reported for storage volumes, node root filesystems, and guest root disks — filter on pve.scope to pick one. For QEMU guests this reads 0 unless the QEMU guest agent is installed."),
|
|
184
185
|
metricName: "pve_disk_usage_bytes",
|
|
185
186
|
category: "Storage",
|
|
186
187
|
defaultAggregation: MetricsAggregationType_1.default.Avg,
|
|
@@ -190,7 +191,7 @@ const proxmoxMetricCatalog = [
|
|
|
190
191
|
{
|
|
191
192
|
id: "pve-disk-size-bytes",
|
|
192
193
|
friendlyName: (0, Translator_1.translationKey)("Disk Size"),
|
|
193
|
-
description: "Total disk space available on a storage volume, node root filesystem, or guest root disk.",
|
|
194
|
+
description: (0, Translator_1.translationKey)("Total disk space available on a storage volume, node root filesystem, or guest root disk."),
|
|
194
195
|
metricName: "pve_disk_size_bytes",
|
|
195
196
|
category: "Storage",
|
|
196
197
|
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
@@ -200,7 +201,7 @@ const proxmoxMetricCatalog = [
|
|
|
200
201
|
{
|
|
201
202
|
id: "pve-storage-shared",
|
|
202
203
|
friendlyName: (0, Translator_1.translationKey)("Shared Storage"),
|
|
203
|
-
description: "Whether every node of the cluster can use a storage (1) or only its own node (0).",
|
|
204
|
+
description: (0, Translator_1.translationKey)("Whether every node of the cluster can use a storage (1) or only its own node (0)."),
|
|
204
205
|
metricName: "pve_storage_shared",
|
|
205
206
|
category: "Storage",
|
|
206
207
|
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
@@ -210,7 +211,7 @@ const proxmoxMetricCatalog = [
|
|
|
210
211
|
{
|
|
211
212
|
id: "pve-storage-info",
|
|
212
213
|
friendlyName: (0, Translator_1.translationKey)("Storage Info"),
|
|
213
|
-
description: "Metadata series for each storage volume (value is always 1) carrying node and storage labels: 1 while the storage exists. A Sum adds every scrape in the minute, so it does not count storage volumes.",
|
|
214
|
+
description: (0, Translator_1.translationKey)("Metadata series for each storage volume (value is always 1) carrying node and storage labels: 1 while the storage exists. A Sum adds every scrape in the minute, so it does not count storage volumes."),
|
|
214
215
|
metricName: "pve_storage_info",
|
|
215
216
|
category: "Storage",
|
|
216
217
|
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
@@ -221,7 +222,7 @@ const proxmoxMetricCatalog = [
|
|
|
221
222
|
{
|
|
222
223
|
id: "pve-ha-state",
|
|
223
224
|
friendlyName: (0, Translator_1.translationKey)("HA State"),
|
|
224
|
-
description: "High-availability state of a node or guest as an enum-style series: one series per possible state (e.g. started, stopped, error) with value 1 for the current state. Filter on the state label to alert on specific states.",
|
|
225
|
+
description: (0, Translator_1.translationKey)("High-availability state of a node or guest as an enum-style series: one series per possible state (e.g. started, stopped, error) with value 1 for the current state. Filter on the state label to alert on specific states."),
|
|
225
226
|
metricName: "pve_ha_state",
|
|
226
227
|
category: "HA",
|
|
227
228
|
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
@@ -235,7 +236,7 @@ const proxmoxMetricCatalog = [
|
|
|
235
236
|
{
|
|
236
237
|
id: "pve-not-backed-up-total",
|
|
237
238
|
friendlyName: (0, Translator_1.translationKey)("Guests Without Backup"),
|
|
238
|
-
description: "Count of guests (VMs and containers) not covered by ANY backup job. A single cluster-level series, id cluster/<name>, reported at 0 too. Covers backup-job membership only — not whether backups ran recently or succeeded.",
|
|
239
|
+
description: (0, Translator_1.translationKey)("Count of guests (VMs and containers) not covered by ANY backup job. A single cluster-level series, id cluster/<name>, reported at 0 too. Covers backup-job membership only — not whether backups ran recently or succeeded."),
|
|
239
240
|
metricName: "pve_not_backed_up_total",
|
|
240
241
|
category: "Backup",
|
|
241
242
|
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
@@ -245,7 +246,7 @@ const proxmoxMetricCatalog = [
|
|
|
245
246
|
{
|
|
246
247
|
id: "pve-not-backed-up-info",
|
|
247
248
|
friendlyName: (0, Translator_1.translationKey)("Guest Without Backup Info"),
|
|
248
|
-
description: "Metadata series present for each guest NOT covered by any backup job (value is always 1), labeled only with the guest's id. Group by id to list the uncovered guests; the series disappears once the guest joins a backup job.",
|
|
249
|
+
description: (0, Translator_1.translationKey)("Metadata series present for each guest NOT covered by any backup job (value is always 1), labeled only with the guest's id. Group by id to list the uncovered guests; the series disappears once the guest joins a backup job."),
|
|
249
250
|
metricName: "pve_not_backed_up_info",
|
|
250
251
|
category: "Backup",
|
|
251
252
|
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
@@ -262,7 +263,7 @@ const proxmoxMetricCatalog = [
|
|
|
262
263
|
{
|
|
263
264
|
id: "pve-replication-failed-syncs",
|
|
264
265
|
friendlyName: (0, Translator_1.translationKey)("Replication Failed Syncs"),
|
|
265
|
-
description: "Number of consecutive failed sync attempts for a storage replication job. Anything above 0 means the job's replica is going stale — group by id to alert per job.",
|
|
266
|
+
description: (0, Translator_1.translationKey)("Number of consecutive failed sync attempts for a storage replication job. Anything above 0 means the job's replica is going stale — group by id to alert per job."),
|
|
266
267
|
metricName: "pve_replication_failed_syncs",
|
|
267
268
|
category: "Replication",
|
|
268
269
|
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
@@ -272,7 +273,7 @@ const proxmoxMetricCatalog = [
|
|
|
272
273
|
{
|
|
273
274
|
id: "pve-replication-duration-seconds",
|
|
274
275
|
friendlyName: (0, Translator_1.translationKey)("Replication Duration"),
|
|
275
|
-
description: "How long a replication job's last sync took. A rising duration usually means growing deltas or a slow/congested target.",
|
|
276
|
+
description: (0, Translator_1.translationKey)("How long a replication job's last sync took. A rising duration usually means growing deltas or a slow/congested target."),
|
|
276
277
|
metricName: "pve_replication_duration_seconds",
|
|
277
278
|
category: "Replication",
|
|
278
279
|
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
@@ -282,7 +283,7 @@ const proxmoxMetricCatalog = [
|
|
|
282
283
|
{
|
|
283
284
|
id: "pve-replication-last-sync-timestamp-seconds",
|
|
284
285
|
friendlyName: (0, Translator_1.translationKey)("Replication Last Sync"),
|
|
285
|
-
description: "Unix timestamp of a replication job's last SUCCESSFUL sync. Compare against the current time to gauge replica staleness (the criteria engine has no wall-clock math, so staleness is a chart/UI concern, not an alert).",
|
|
286
|
+
description: (0, Translator_1.translationKey)("Unix timestamp of a replication job's last SUCCESSFUL sync. Compare against the current time to gauge replica staleness (the criteria engine has no wall-clock math, so staleness is a chart/UI concern, not an alert)."),
|
|
286
287
|
metricName: "pve_replication_last_sync_timestamp_seconds",
|
|
287
288
|
category: "Replication",
|
|
288
289
|
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
@@ -292,7 +293,7 @@ const proxmoxMetricCatalog = [
|
|
|
292
293
|
{
|
|
293
294
|
id: "pve-replication-last-try-timestamp-seconds",
|
|
294
295
|
friendlyName: (0, Translator_1.translationKey)("Replication Last Try"),
|
|
295
|
-
description: "Unix timestamp of a replication job's last sync ATTEMPT. A last-try newer than last-sync means the most recent attempt failed.",
|
|
296
|
+
description: (0, Translator_1.translationKey)("Unix timestamp of a replication job's last sync ATTEMPT. A last-try newer than last-sync means the most recent attempt failed."),
|
|
296
297
|
metricName: "pve_replication_last_try_timestamp_seconds",
|
|
297
298
|
category: "Replication",
|
|
298
299
|
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
@@ -302,7 +303,7 @@ const proxmoxMetricCatalog = [
|
|
|
302
303
|
{
|
|
303
304
|
id: "pve-replication-next-sync-timestamp-seconds",
|
|
304
305
|
friendlyName: (0, Translator_1.translationKey)("Replication Next Sync"),
|
|
305
|
-
description: "Unix timestamp of a replication job's next scheduled sync.",
|
|
306
|
+
description: (0, Translator_1.translationKey)("Unix timestamp of a replication job's next scheduled sync."),
|
|
306
307
|
metricName: "pve_replication_next_sync_timestamp_seconds",
|
|
307
308
|
category: "Replication",
|
|
308
309
|
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
@@ -312,7 +313,7 @@ const proxmoxMetricCatalog = [
|
|
|
312
313
|
{
|
|
313
314
|
id: "pve-replication-info",
|
|
314
315
|
friendlyName: (0, Translator_1.translationKey)("Replication Info"),
|
|
315
|
-
description: "Metadata series for each storage replication job (value is always 1) carrying type, source, target and guest labels: 1 while the job exists. Join its labels to map a job id to the guest and node pair it replicates.",
|
|
316
|
+
description: (0, Translator_1.translationKey)("Metadata series for each storage replication job (value is always 1) carrying type, source, target and guest labels: 1 while the job exists. Join its labels to map a job id to the guest and node pair it replicates."),
|
|
316
317
|
metricName: "pve_replication_info",
|
|
317
318
|
category: "Replication",
|
|
318
319
|
defaultAggregation: MetricsAggregationType_1.default.Max,
|
|
@@ -349,3 +350,20 @@ function getAllProxmoxMetricCategories() {
|
|
|
349
350
|
"Replication",
|
|
350
351
|
];
|
|
351
352
|
}
|
|
353
|
+
/*
|
|
354
|
+
* Each group's heading in the metric picker, a key: a category is the value
|
|
355
|
+
* the catalog's metrics name, so the picker looks its heading up here, once
|
|
356
|
+
* (#8653).
|
|
357
|
+
*/
|
|
358
|
+
const categoryLabels = {
|
|
359
|
+
Availability: (0, Translator_1.translationKey)("Availability"),
|
|
360
|
+
Node: (0, Translator_1.translationKey)("Node"),
|
|
361
|
+
Guest: (0, Translator_1.translationKey)("Guest"),
|
|
362
|
+
Storage: (0, Translator_1.translationKey)("Storage"),
|
|
363
|
+
HA: (0, Translator_1.translationKey)("HA"),
|
|
364
|
+
Backup: (0, Translator_1.translationKey)("Backup"),
|
|
365
|
+
Replication: (0, Translator_1.translationKey)("Replication"),
|
|
366
|
+
};
|
|
367
|
+
function getProxmoxMetricCategoryLabel(category) {
|
|
368
|
+
return categoryLabels[category] || category;
|
|
369
|
+
}
|
|
@@ -3,4 +3,5 @@ export const getAllProxmoxMetricCategories = commonJsModule.getAllProxmoxMetricC
|
|
|
3
3
|
export const getAllProxmoxMetrics = commonJsModule.getAllProxmoxMetrics;
|
|
4
4
|
export const getProxmoxMetricById = commonJsModule.getProxmoxMetricById;
|
|
5
5
|
export const getProxmoxMetricByMetricName = commonJsModule.getProxmoxMetricByMetricName;
|
|
6
|
+
export const getProxmoxMetricCategoryLabel = commonJsModule.getProxmoxMetricCategoryLabel;
|
|
6
7
|
export const getProxmoxMetricsByCategory = commonJsModule.getProxmoxMetricsByCategory;
|
|
@@ -32,9 +32,22 @@ const DataPipelineAlertTemplates_1 = require("../DataPipelineAlertTemplates");
|
|
|
32
32
|
const CloudAlertTemplates_1 = require("../CloudAlertTemplates");
|
|
33
33
|
const CloudAppAlertTemplates_1 = require("../CloudAppAlertTemplates");
|
|
34
34
|
function normalize(data) {
|
|
35
|
-
return
|
|
36
|
-
|
|
37
|
-
:
|
|
35
|
+
return {
|
|
36
|
+
recommendationId: (0, MonitorRecommendationTypes_1.buildRecommendationId)(data.resourceType, data.template.id),
|
|
37
|
+
recommendationType: RecommendationType_1.default.Monitor,
|
|
38
|
+
resourceType: data.resourceType,
|
|
39
|
+
monitorType: data.monitorType,
|
|
40
|
+
templateId: data.template.id,
|
|
41
|
+
name: data.template.name,
|
|
42
|
+
summary: data.template.summary,
|
|
43
|
+
description: data.template.description,
|
|
44
|
+
category: data.template.category,
|
|
45
|
+
severity: data.template.severity,
|
|
46
|
+
getMonitorStep: data.getMonitorStep,
|
|
47
|
+
...(data.template.monitoringInterval
|
|
48
|
+
? { monitoringInterval: data.template.monitoringInterval }
|
|
49
|
+
: {}),
|
|
50
|
+
};
|
|
38
51
|
}
|
|
39
52
|
/*
|
|
40
53
|
* One adapter per module. Each is deliberately written out rather than
|
|
@@ -645,10 +645,13 @@ class MonitorRecommendationUtil {
|
|
|
645
645
|
* `args.monitorName`, exactly as the create flow's `resourceDisplayName`.
|
|
646
646
|
*/
|
|
647
647
|
static getSerializedFingerprintForRecommendation(data) {
|
|
648
|
-
const fingerprint = this.getFingerprintFromMonitorStep(data.recommendation.getMonitorStep(
|
|
648
|
+
const fingerprint = this.getFingerprintFromMonitorStep(data.recommendation.getMonitorStep({
|
|
649
|
+
...data.args,
|
|
650
|
+
monitorName: this.getTemplateMonitorName({
|
|
649
651
|
recommendation: data.recommendation,
|
|
650
652
|
resourceDisplayName: data.args.monitorName,
|
|
651
|
-
})
|
|
653
|
+
}),
|
|
654
|
+
}));
|
|
652
655
|
if (!fingerprint) {
|
|
653
656
|
return undefined;
|
|
654
657
|
}
|
|
@@ -164,12 +164,19 @@ function buildFilters(data) {
|
|
|
164
164
|
return {
|
|
165
165
|
checkOn: CriteriaFilter_1.CheckOn.MetricValue,
|
|
166
166
|
filterType: spec.filterType,
|
|
167
|
-
metricMonitorOptions:
|
|
168
|
-
?
|
|
169
|
-
:
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
167
|
+
metricMonitorOptions: {
|
|
168
|
+
metricAggregationType: (_a = spec.metricAggregationType) !== null && _a !== void 0 ? _a : data.metricAggregationType,
|
|
169
|
+
metricAlias: spec.metricAlias,
|
|
170
|
+
...(data.onNoDataPolicy ? { onNoDataPolicy: data.onNoDataPolicy } : {}),
|
|
171
|
+
// The baseline options belong to the primary comparison only.
|
|
172
|
+
...(index === 0 && data.anomalyDetection
|
|
173
|
+
? { anomalyDetection: data.anomalyDetection }
|
|
174
|
+
: {}),
|
|
175
|
+
...(data.forecast &&
|
|
176
|
+
CriteriaFilter_1.CriteriaFilterUtil.isForecastFilterType(spec.filterType)
|
|
177
|
+
? { forecast: data.forecast }
|
|
178
|
+
: {}),
|
|
179
|
+
},
|
|
173
180
|
value: data.deriveValue ? data.deriveValue(spec) : spec.value,
|
|
174
181
|
};
|
|
175
182
|
});
|
|
@@ -112,9 +112,10 @@ function buildCriteriaPair(data) {
|
|
|
112
112
|
* unhealthy one.
|
|
113
113
|
*/
|
|
114
114
|
metricMonitorOptions: data.anomalyDetection
|
|
115
|
-
? { anomalyDetection:
|
|
115
|
+
? { anomalyDetection: { ...data.anomalyDetection } }
|
|
116
116
|
: metricMonitorOptions
|
|
117
|
-
?
|
|
117
|
+
? { ...metricMonitorOptions }
|
|
118
|
+
: undefined,
|
|
118
119
|
},
|
|
119
120
|
],
|
|
120
121
|
incidents: [
|
|
@@ -155,7 +156,8 @@ function buildCriteriaPair(data) {
|
|
|
155
156
|
value: data.threshold,
|
|
156
157
|
// A copy per filter — see the unhealthy filter above.
|
|
157
158
|
metricMonitorOptions: metricMonitorOptions
|
|
158
|
-
?
|
|
159
|
+
? { ...metricMonitorOptions }
|
|
160
|
+
: undefined,
|
|
159
161
|
},
|
|
160
162
|
],
|
|
161
163
|
incidents: [],
|
|
@@ -227,14 +229,22 @@ function buildQueryConfig(data) {
|
|
|
227
229
|
legend: data.title,
|
|
228
230
|
legendUnit: data.legendUnit,
|
|
229
231
|
},
|
|
230
|
-
metricQueryData:
|
|
232
|
+
metricQueryData: {
|
|
233
|
+
filterData: {
|
|
231
234
|
metricName: data.metricName,
|
|
232
235
|
attributes: data.attributes || {},
|
|
233
236
|
aggegationType: data.aggregationType,
|
|
234
237
|
aggregateBy: {},
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
|
|
238
|
+
},
|
|
239
|
+
/*
|
|
240
|
+
* Omitted entirely rather than written as [] when there is nothing to
|
|
241
|
+
* group by, so an ungrouped template serializes to exactly the shape it
|
|
242
|
+
* did before this parameter existed.
|
|
243
|
+
*/
|
|
244
|
+
...(data.groupByAttributeKeys && data.groupByAttributeKeys.length > 0
|
|
245
|
+
? { groupByAttributeKeys: data.groupByAttributeKeys }
|
|
246
|
+
: {}),
|
|
247
|
+
},
|
|
238
248
|
};
|
|
239
249
|
}
|
|
240
250
|
/*
|
|
@@ -181,7 +181,11 @@ class SnmpOidListUtil {
|
|
|
181
181
|
const name = ((_a = entry.name) === null || _a === void 0 ? void 0 : _a.trim())
|
|
182
182
|
? entry.name.trim().substring(0, exports.MAX_OID_NAME_LENGTH)
|
|
183
183
|
: undefined;
|
|
184
|
-
sanitized.push(
|
|
184
|
+
sanitized.push({
|
|
185
|
+
...entry,
|
|
186
|
+
oid: normalized,
|
|
187
|
+
...(name === undefined ? {} : { name: name }),
|
|
188
|
+
});
|
|
185
189
|
}
|
|
186
190
|
/*
|
|
187
191
|
* Counted AFTER sanitizing, so blank rows and duplicates cannot push a
|
|
@@ -224,7 +228,10 @@ class SnmpOidListUtil {
|
|
|
224
228
|
if (!normalized || !OID_SYNTAX.test(normalized)) {
|
|
225
229
|
continue;
|
|
226
230
|
}
|
|
227
|
-
const normalizedEntry =
|
|
231
|
+
const normalizedEntry = {
|
|
232
|
+
...entry,
|
|
233
|
+
oid: normalized,
|
|
234
|
+
};
|
|
228
235
|
const existingIndex = indexByOid.get(normalized);
|
|
229
236
|
if (existingIndex === undefined) {
|
|
230
237
|
indexByOid.set(normalized, merged.length);
|
|
@@ -184,9 +184,20 @@ class SnmpTableListUtil {
|
|
|
184
184
|
const description = ((_a = table.description) === null || _a === void 0 ? void 0 : _a.trim())
|
|
185
185
|
? table.description.trim()
|
|
186
186
|
: undefined;
|
|
187
|
-
return
|
|
188
|
-
|
|
189
|
-
:
|
|
187
|
+
return {
|
|
188
|
+
key: key,
|
|
189
|
+
name: name,
|
|
190
|
+
...(description ? { description: description } : {}),
|
|
191
|
+
kind: kind,
|
|
192
|
+
...(rowLabelColumnOids.length > 0
|
|
193
|
+
? { rowLabelColumnOids: rowLabelColumnOids }
|
|
194
|
+
: {}),
|
|
195
|
+
// Only ever true: an absent flag and a false one mean the same.
|
|
196
|
+
...(table.rowIndexIsText === true ? { rowIndexIsText: true } : {}),
|
|
197
|
+
...(table.skipNameOnlyRows === true ? { skipNameOnlyRows: true } : {}),
|
|
198
|
+
columns: columns,
|
|
199
|
+
...(maxRows === undefined ? {} : { maxRows: maxRows }),
|
|
200
|
+
};
|
|
190
201
|
}
|
|
191
202
|
static sanitizeColumn(column, oid, context) {
|
|
192
203
|
var _a, _b;
|
|
@@ -519,9 +530,15 @@ class SnmpTableListUtil {
|
|
|
519
530
|
name: table.name,
|
|
520
531
|
kind: SnmpTableListUtil.parseKind(table.kind),
|
|
521
532
|
columns: table.columns.map((column) => {
|
|
522
|
-
return
|
|
523
|
-
|
|
524
|
-
:
|
|
533
|
+
return {
|
|
534
|
+
oid: SnmpOidListUtil_1.default.normalizeOid(column.oid),
|
|
535
|
+
name: column.name,
|
|
536
|
+
...(column.unit ? { unit: column.unit } : {}),
|
|
537
|
+
...(column.role ? { role: column.role } : {}),
|
|
538
|
+
...(column.healthyValues && column.healthyValues.length > 0
|
|
539
|
+
? { healthyValues: column.healthyValues }
|
|
540
|
+
: {}),
|
|
541
|
+
};
|
|
525
542
|
}),
|
|
526
543
|
rows: rows,
|
|
527
544
|
};
|
|
@@ -643,7 +660,11 @@ class SnmpTableListUtil {
|
|
|
643
660
|
leftOutRows.filter((row) => {
|
|
644
661
|
return !WifiInternalNetwork_1.default.isReportedRow(SnmpTableListUtil.readStoredSsidRow(ssidColumn, row));
|
|
645
662
|
}).length;
|
|
646
|
-
const read =
|
|
663
|
+
const read = {
|
|
664
|
+
...snapshot,
|
|
665
|
+
rows: rows,
|
|
666
|
+
leftOutRowCount: (snapshot.leftOutRowCount || 0) + leftOutRows.length,
|
|
667
|
+
};
|
|
647
668
|
if (blankRowCount > 0) {
|
|
648
669
|
read.blankRowCount = blankRowCount;
|
|
649
670
|
}
|
|
@@ -806,7 +827,11 @@ class SnmpTableListUtil {
|
|
|
806
827
|
remainingCells -= snapshot.rows.length * cellsPerRow;
|
|
807
828
|
continue;
|
|
808
829
|
}
|
|
809
|
-
capped.push(
|
|
830
|
+
capped.push({
|
|
831
|
+
...snapshot,
|
|
832
|
+
rows: snapshot.rows.slice(0, Math.max(0, rowsThatFit)),
|
|
833
|
+
isTruncated: true,
|
|
834
|
+
});
|
|
810
835
|
remainingCells -= Math.max(0, rowsThatFit) * cellsPerRow;
|
|
811
836
|
}
|
|
812
837
|
return capped;
|
|
@@ -826,7 +851,8 @@ class SnmpTableListUtil {
|
|
|
826
851
|
}),
|
|
827
852
|
}).map((snapshot) => {
|
|
828
853
|
return data.failureReason
|
|
829
|
-
?
|
|
854
|
+
? { ...snapshot, failureReason: data.failureReason }
|
|
855
|
+
: snapshot;
|
|
830
856
|
});
|
|
831
857
|
}
|
|
832
858
|
/*
|
|
@@ -877,7 +903,10 @@ class SnmpTableListUtil {
|
|
|
877
903
|
* not, for every reader of the column.
|
|
878
904
|
*/
|
|
879
905
|
static withFailureOf(previous, current) {
|
|
880
|
-
const marked =
|
|
906
|
+
const marked = {
|
|
907
|
+
...SnmpTableListUtil.withListedRowsOf(previous),
|
|
908
|
+
failureCause: current.failureCause,
|
|
909
|
+
};
|
|
881
910
|
delete marked.failureReason;
|
|
882
911
|
if (current.failureReason) {
|
|
883
912
|
marked.failureReason = current.failureReason;
|
|
@@ -110,7 +110,10 @@ function buildStorageArrayMonitorStep(args) {
|
|
|
110
110
|
return monitorStep;
|
|
111
111
|
}
|
|
112
112
|
function buildStorageArrayOfflineCriteriaInstance(args) {
|
|
113
|
-
return (0, RecommendationCriteriaBuilder_1.buildUnhealthyCriteriaInstance)(
|
|
113
|
+
return (0, RecommendationCriteriaBuilder_1.buildUnhealthyCriteriaInstance)({
|
|
114
|
+
...args,
|
|
115
|
+
resourceNoun: "storage array",
|
|
116
|
+
});
|
|
114
117
|
}
|
|
115
118
|
function buildStorageArrayOnlineCriteriaInstance(args) {
|
|
116
119
|
return (0, RecommendationCriteriaBuilder_1.buildHealthyCriteriaInstance)(args);
|
|
@@ -136,14 +139,17 @@ function buildStorageArrayMonitorConfig(args) {
|
|
|
136
139
|
legend: args.metricAlias,
|
|
137
140
|
legendUnit: legendUnit,
|
|
138
141
|
},
|
|
139
|
-
metricQueryData:
|
|
142
|
+
metricQueryData: {
|
|
143
|
+
filterData: {
|
|
140
144
|
metricName: args.metricName,
|
|
141
145
|
attributes: args.attributes || {},
|
|
142
146
|
aggegationType: args.aggregationType,
|
|
143
147
|
aggregateBy: {},
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
|
|
148
|
+
},
|
|
149
|
+
...(args.groupByAttributeKey
|
|
150
|
+
? { groupByAttributeKeys: [args.groupByAttributeKey] }
|
|
151
|
+
: {}),
|
|
152
|
+
},
|
|
147
153
|
},
|
|
148
154
|
],
|
|
149
155
|
formulaConfigs: [],
|
|
@@ -162,7 +168,16 @@ function singleQueryTemplate(spec) {
|
|
|
162
168
|
storageSystems: [spec.storageSystem],
|
|
163
169
|
getMonitorStep: (args) => {
|
|
164
170
|
return buildStorageArrayMonitorStep({
|
|
165
|
-
storageArrayMonitor: buildStorageArrayMonitorConfig(
|
|
171
|
+
storageArrayMonitor: buildStorageArrayMonitorConfig({
|
|
172
|
+
arrayIdentifier: args.arrayIdentifier,
|
|
173
|
+
storageSystem: spec.storageSystem,
|
|
174
|
+
metricName: spec.metricName,
|
|
175
|
+
metricAlias: spec.metricAlias,
|
|
176
|
+
rollingTime: spec.rollingTime,
|
|
177
|
+
aggregationType: spec.aggregationType,
|
|
178
|
+
...(spec.attributes ? { attributes: spec.attributes } : {}),
|
|
179
|
+
groupByAttributeKey: spec.groupByAttributeKey,
|
|
180
|
+
}),
|
|
166
181
|
offlineCriteriaInstance: buildStorageArrayOfflineCriteriaInstance({
|
|
167
182
|
offlineMonitorStatusId: args.offlineMonitorStatusId,
|
|
168
183
|
incidentSeverityId: args.defaultIncidentSeverityId,
|
|
@@ -209,26 +224,29 @@ function arrayStoppedReportingTemplate(data) {
|
|
|
209
224
|
storageSystems: [data.storageSystem],
|
|
210
225
|
getMonitorStep: (args) => {
|
|
211
226
|
const metricAlias = RecommendationCriteriaBuilder_1.STOPPED_REPORTING_METRIC_ALIAS;
|
|
212
|
-
return buildStorageArrayMonitorStep(
|
|
227
|
+
return buildStorageArrayMonitorStep({
|
|
228
|
+
storageArrayMonitor: buildStorageArrayMonitorConfig({
|
|
213
229
|
arrayIdentifier: args.arrayIdentifier,
|
|
214
230
|
storageSystem: data.storageSystem,
|
|
215
231
|
metricName: data.infoMetricName,
|
|
216
232
|
metricAlias,
|
|
217
233
|
rollingTime: RollingTime_1.default.Past10Minutes,
|
|
218
234
|
aggregationType: MetricsAggregationType_1.default.Count,
|
|
219
|
-
})
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
235
|
+
}),
|
|
236
|
+
...(0, RecommendationCriteriaBuilder_1.buildStoppedReportingCriteriaInstances)({
|
|
237
|
+
onlineMonitorStatusId: args.onlineMonitorStatusId,
|
|
238
|
+
offlineMonitorStatusId: args.offlineMonitorStatusId,
|
|
239
|
+
incidentSeverityId: args.defaultIncidentSeverityId,
|
|
240
|
+
alertSeverityId: args.defaultAlertSeverityId,
|
|
241
|
+
monitorName: args.monitorName,
|
|
242
|
+
metricAlias,
|
|
243
|
+
resourceNoun: "storage array",
|
|
244
|
+
incidentTitle: `[Storage Array] Array Stopped Reporting - ${args.monitorName}`,
|
|
245
|
+
incidentDescription: `OneUptime has received no data from this ${data.platformName} for ten minutes, so its other monitors have nothing to evaluate either. Check, in order: whether the array's management address answers from the agent's machine, whether the read-only user's API token still works, whether the Storage Array Agent's containers are running and what the collector's log says, and whether the agent can reach OneUptime with its token. The incident resolves on its own once data arrives again.`,
|
|
246
|
+
criteriaName: "Array Stopped Reporting - No data for 10 minutes",
|
|
247
|
+
criteriaDescription: `Triggers when the array sends no ${data.infoMetricName} data for the whole ten-minute window.`,
|
|
248
|
+
}),
|
|
249
|
+
});
|
|
232
250
|
},
|
|
233
251
|
};
|
|
234
252
|
}
|
|
@@ -676,7 +694,7 @@ function getStorageArrayAlertTemplatesForSystem(system) {
|
|
|
676
694
|
return StorageSystem_1.StorageSystemUtil.getShortName(templateSystem);
|
|
677
695
|
})
|
|
678
696
|
.join(", ");
|
|
679
|
-
return
|
|
697
|
+
return { ...template, name: `${template.name} (${platforms})` };
|
|
680
698
|
});
|
|
681
699
|
}
|
|
682
700
|
function getStorageArrayAlertTemplatesByCategory(category) {
|
|
@@ -22,4 +22,5 @@ export declare function getStorageArrayMetricById(id: string): StorageArrayMetri
|
|
|
22
22
|
export declare function getStorageArrayMetricByMetricName(metricName: string): StorageArrayMetricDefinition | undefined;
|
|
23
23
|
export declare function getStorageArrayMetric(metricName: string, attributes?: Record<string, unknown> | undefined): StorageArrayMetricDefinition | undefined;
|
|
24
24
|
export declare function getAllStorageArrayMetricCategories(): Array<StorageArrayMetricCategory>;
|
|
25
|
+
export declare function getStorageArrayMetricCategoryLabel(category: StorageArrayMetricCategory): string;
|
|
25
26
|
export declare function getStorageArrayObjectLabel(scope: StorageArrayResourceScope, system: string | null | undefined, metricName?: string | undefined): string | null;
|