@oneuptime/common 17.0.0 → 17.1.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/AuditLog.d.mts +10 -0
- package/Models/AnalyticsModels/AuditLog.d.ts +10 -0
- package/Models/AnalyticsModels/AuditLog.js +110 -0
- package/Models/AnalyticsModels/KubernetesCostAllocation.d.mts +14 -0
- package/Models/AnalyticsModels/KubernetesCostAllocation.d.ts +14 -0
- package/Models/AnalyticsModels/KubernetesCostAllocation.js +169 -0
- package/Models/DatabaseModels/AIPostmortemRule.js +1 -1
- package/Models/DatabaseModels/AIRun.d.mts +3 -0
- package/Models/DatabaseModels/AIRun.d.ts +3 -0
- package/Models/DatabaseModels/AIRun.js +64 -0
- package/Models/DatabaseModels/AlertGroupingRule.js +1 -1
- package/Models/DatabaseModels/AlertIncidentRule.js +1 -1
- package/Models/DatabaseModels/AlertMeasurement.js +1 -1
- package/Models/DatabaseModels/AlertReminderRule.js +1 -1
- package/Models/DatabaseModels/AlertSeverity.js +1 -1
- package/Models/DatabaseModels/AlertState.js +1 -1
- package/Models/DatabaseModels/CloudConnection.d.mts +1 -0
- package/Models/DatabaseModels/CloudConnection.d.ts +1 -0
- package/Models/DatabaseModels/CloudConnection.js +20 -0
- package/Models/DatabaseModels/DataAsset.d.mts +1 -0
- package/Models/DatabaseModels/DataAsset.d.ts +1 -0
- package/Models/DatabaseModels/DataAsset.js +17 -0
- package/Models/DatabaseModels/DataBiConnection.d.mts +1 -0
- package/Models/DatabaseModels/DataBiConnection.d.ts +1 -0
- package/Models/DatabaseModels/DataBiConnection.js +23 -0
- package/Models/DatabaseModels/DataPipeline.d.mts +5 -0
- package/Models/DatabaseModels/DataPipeline.d.ts +5 -0
- package/Models/DatabaseModels/DataPipeline.js +88 -0
- package/Models/DatabaseModels/DataPipelineOwnerRule.d.mts +21 -0
- package/Models/DatabaseModels/DataPipelineOwnerRule.d.ts +21 -0
- package/Models/DatabaseModels/DataPipelineOwnerRule.js +635 -0
- package/Models/DatabaseModels/DataPipelineOwnerRule.mjs +2 -0
- package/Models/DatabaseModels/DataSecurityComplianceSetting.d.mts +24 -0
- package/Models/DatabaseModels/DataSecurityComplianceSetting.d.ts +24 -0
- package/Models/DatabaseModels/DataSecurityComplianceSetting.js +454 -0
- package/Models/DatabaseModels/DataSecurityComplianceSetting.mjs +2 -0
- package/Models/DatabaseModels/DataStore.d.mts +1 -0
- package/Models/DatabaseModels/DataStore.d.ts +1 -0
- package/Models/DatabaseModels/DataStore.js +24 -0
- package/Models/DatabaseModels/DetectionRule.d.mts +2 -0
- package/Models/DatabaseModels/DetectionRule.d.ts +2 -0
- package/Models/DatabaseModels/DetectionRule.js +29 -0
- package/Models/DatabaseModels/DeviceManagementConnection.d.mts +25 -0
- package/Models/DatabaseModels/DeviceManagementConnection.d.ts +25 -0
- package/Models/DatabaseModels/DeviceManagementConnection.js +438 -0
- package/Models/DatabaseModels/DeviceManagementConnection.mjs +2 -0
- package/Models/DatabaseModels/GlobalConfig.d.mts +1 -0
- package/Models/DatabaseModels/GlobalConfig.d.ts +1 -0
- package/Models/DatabaseModels/GlobalConfig.js +31 -0
- package/Models/DatabaseModels/GlobalSso.d.mts +2 -0
- package/Models/DatabaseModels/GlobalSso.d.ts +2 -0
- package/Models/DatabaseModels/GlobalSso.js +56 -0
- package/Models/DatabaseModels/HostCollectorConfig.js +1 -1
- package/Models/DatabaseModels/HostLogSession.d.mts +22 -0
- package/Models/DatabaseModels/HostLogSession.d.ts +22 -0
- package/Models/DatabaseModels/HostLogSession.js +352 -0
- package/Models/DatabaseModels/HostLogSession.mjs +2 -0
- package/Models/DatabaseModels/IncidentCustomField.js +1 -1
- package/Models/DatabaseModels/IncidentFeed.d.mts +1 -0
- package/Models/DatabaseModels/IncidentFeed.d.ts +1 -0
- package/Models/DatabaseModels/IncidentFeed.js +6 -0
- package/Models/DatabaseModels/IncidentGroupingRule.js +1 -1
- package/Models/DatabaseModels/IncidentMeasurement.js +1 -1
- package/Models/DatabaseModels/IncidentPostmortemStatus.js +1 -1
- package/Models/DatabaseModels/IncidentReminderRule.js +1 -1
- package/Models/DatabaseModels/IncidentSeverity.js +1 -1
- package/Models/DatabaseModels/IncidentSlaRule.js +1 -1
- package/Models/DatabaseModels/IncidentState.js +1 -1
- package/Models/DatabaseModels/IncidentTemplateOwnerTeam.d.mts +0 -1
- package/Models/DatabaseModels/IncidentTemplateOwnerTeam.d.ts +0 -1
- package/Models/DatabaseModels/IncidentTemplateOwnerTeam.js +0 -35
- package/Models/DatabaseModels/IncidentTemplateOwnerUser.d.mts +0 -1
- package/Models/DatabaseModels/IncidentTemplateOwnerUser.d.ts +0 -1
- package/Models/DatabaseModels/IncidentTemplateOwnerUser.js +0 -40
- package/Models/DatabaseModels/IncidentVideoCall.d.mts +3 -0
- package/Models/DatabaseModels/IncidentVideoCall.d.ts +3 -0
- package/Models/DatabaseModels/IncidentVideoCall.js +105 -0
- package/Models/DatabaseModels/IncomingCallPolicyEscalationRule.js +1 -1
- package/Models/DatabaseModels/Index.js +16 -0
- package/Models/DatabaseModels/InstanceSamlSigningKey.d.mts +5 -0
- package/Models/DatabaseModels/InstanceSamlSigningKey.d.ts +5 -0
- package/Models/DatabaseModels/InstanceSamlSigningKey.js +108 -0
- package/Models/DatabaseModels/InstanceSamlSigningKey.mjs +2 -0
- package/Models/DatabaseModels/KubernetesResource.d.mts +9 -0
- package/Models/DatabaseModels/KubernetesResource.d.ts +9 -0
- package/Models/DatabaseModels/KubernetesResource.js +233 -1
- package/Models/DatabaseModels/LogDropFilter.js +1 -1
- package/Models/DatabaseModels/LogPipeline.js +1 -1
- package/Models/DatabaseModels/LogPipelineProcessor.js +1 -1
- package/Models/DatabaseModels/LogScrubRule.js +1 -1
- package/Models/DatabaseModels/ManagedDevice.d.mts +44 -0
- package/Models/DatabaseModels/ManagedDevice.d.ts +44 -0
- package/Models/DatabaseModels/ManagedDevice.js +698 -0
- package/Models/DatabaseModels/ManagedDevice.mjs +2 -0
- package/Models/DatabaseModels/ManagedDeviceApp.d.mts +20 -0
- package/Models/DatabaseModels/ManagedDeviceApp.d.ts +20 -0
- package/Models/DatabaseModels/ManagedDeviceApp.js +320 -0
- package/Models/DatabaseModels/ManagedDeviceApp.mjs +2 -0
- package/Models/DatabaseModels/MarketplaceSubscription.js +1 -1
- package/Models/DatabaseModels/MetricPipelineRule.js +1 -1
- package/Models/DatabaseModels/Monitor.d.mts +2 -0
- package/Models/DatabaseModels/Monitor.d.ts +2 -0
- package/Models/DatabaseModels/Monitor.js +127 -0
- package/Models/DatabaseModels/MonitorSecret.d.mts +2 -0
- package/Models/DatabaseModels/MonitorSecret.d.ts +2 -0
- package/Models/DatabaseModels/MonitorSecret.js +51 -1
- package/Models/DatabaseModels/MonitorStatus.js +1 -1
- package/Models/DatabaseModels/NetworkDevice.js +2 -1
- package/Models/DatabaseModels/NetworkDeviceDiscoveryScan.d.mts +1 -0
- package/Models/DatabaseModels/NetworkDeviceDiscoveryScan.d.ts +1 -0
- package/Models/DatabaseModels/NetworkDeviceNamingRule.js +1 -1
- package/Models/DatabaseModels/NetworkDeviceRole.js +1 -1
- package/Models/DatabaseModels/NetworkSiteAssignmentRule.js +1 -1
- package/Models/DatabaseModels/OnCallDutyPolicyUserOverride.js +28 -1
- package/Models/DatabaseModels/Probe.d.mts +1 -0
- package/Models/DatabaseModels/Probe.d.ts +1 -0
- package/Models/DatabaseModels/Probe.js +32 -0
- package/Models/DatabaseModels/Project.d.mts +3 -0
- package/Models/DatabaseModels/Project.d.ts +3 -0
- package/Models/DatabaseModels/Project.js +131 -0
- package/Models/DatabaseModels/ProjectOidc.d.mts +2 -0
- package/Models/DatabaseModels/ProjectOidc.d.ts +2 -0
- package/Models/DatabaseModels/ProjectOidc.js +57 -0
- package/Models/DatabaseModels/ProjectSso.d.mts +4 -0
- package/Models/DatabaseModels/ProjectSso.d.ts +4 -0
- package/Models/DatabaseModels/ProjectSso.js +147 -0
- package/Models/DatabaseModels/PublicNoteApprovalStep.js +1 -1
- package/Models/DatabaseModels/RumApplication.d.mts +3 -0
- package/Models/DatabaseModels/RumApplication.d.ts +3 -0
- package/Models/DatabaseModels/RumApplication.js +154 -0
- package/Models/DatabaseModels/ScheduledMaintenanceMeasurement.js +1 -1
- package/Models/DatabaseModels/ScheduledMaintenanceReminderRule.js +1 -1
- package/Models/DatabaseModels/ScheduledMaintenanceState.js +1 -1
- package/Models/DatabaseModels/SecurityCasePriority.js +1 -1
- package/Models/DatabaseModels/SecurityCaseStatus.js +1 -1
- package/Models/DatabaseModels/SecurityDetection.d.mts +2 -1
- package/Models/DatabaseModels/SecurityDetection.d.ts +2 -1
- package/Models/DatabaseModels/SecurityDetection.js +32 -0
- package/Models/DatabaseModels/ServiceAINote.d.mts +22 -0
- package/Models/DatabaseModels/ServiceAINote.d.ts +22 -0
- package/Models/DatabaseModels/ServiceAINote.js +331 -0
- package/Models/DatabaseModels/ServiceAINote.mjs +7 -0
- package/Models/DatabaseModels/ServiceOwnerTeam.d.mts +1 -0
- package/Models/DatabaseModels/ServiceOwnerTeam.d.ts +1 -0
- package/Models/DatabaseModels/ServiceOwnerTeam.js +40 -0
- package/Models/DatabaseModels/ServiceOwnerUser.d.mts +1 -0
- package/Models/DatabaseModels/ServiceOwnerUser.d.ts +1 -0
- package/Models/DatabaseModels/ServiceOwnerUser.js +40 -0
- package/Models/DatabaseModels/StatusPageFooterLink.js +1 -1
- package/Models/DatabaseModels/StatusPageHeaderLink.js +1 -1
- package/Models/DatabaseModels/StatusPageHistoryChartBarColorRule.js +1 -1
- package/Models/DatabaseModels/StorageArrayResource.js +2 -1
- package/Models/DatabaseModels/Team.d.mts +1 -0
- package/Models/DatabaseModels/Team.d.ts +1 -0
- package/Models/DatabaseModels/Team.js +42 -0
- package/Models/DatabaseModels/TeamMember.d.mts +1 -0
- package/Models/DatabaseModels/TeamMember.d.ts +1 -0
- package/Models/DatabaseModels/TeamMember.js +47 -0
- package/Models/DatabaseModels/TraceDropFilter.js +1 -1
- package/Models/DatabaseModels/TracePipeline.js +1 -1
- package/Models/DatabaseModels/TracePipelineProcessor.js +1 -1
- package/Models/DatabaseModels/TraceScrubRule.js +1 -1
- package/Models/DatabaseModels/UserSession.js +12 -8
- package/Models/DatabaseModels/Workflow.d.mts +11 -0
- package/Models/DatabaseModels/Workflow.d.ts +11 -0
- package/Models/DatabaseModels/Workflow.js +316 -0
- package/Models/DatabaseModels/WorkflowLog.d.mts +7 -0
- package/Models/DatabaseModels/WorkflowLog.d.ts +7 -0
- package/Models/DatabaseModels/WorkflowLog.js +211 -0
- package/Server/Services/DatabaseService.d.mts +26 -0
- package/Server/Services/DatabaseService.d.ts +26 -0
- package/Server/Types/Database/DeleteById.d.mts +2 -0
- package/Server/Types/Database/DeleteById.d.ts +2 -0
- package/Server/Types/Database/DeleteOneBy.d.mts +2 -0
- package/Server/Types/Database/DeleteOneBy.d.ts +2 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.mts +6 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.ts +6 -0
- package/Types/AI/AIActionWords.d.mts +35 -0
- package/Types/AI/AIActionWords.d.ts +35 -0
- package/Types/AI/AIActionWords.js +133 -1
- package/Types/AI/AIActionWords.mjs +2 -0
- package/Types/AI/AIAgentRunLimits.d.mts +7 -0
- package/Types/AI/AIAgentRunLimits.d.ts +7 -0
- package/Types/AI/AIAgentRunLimits.js +39 -2
- package/Types/AI/AIAgentRunLimits.mjs +3 -0
- package/Types/AI/AIChatTestPage.d.mts +11 -0
- package/Types/AI/AIChatTestPage.d.ts +11 -0
- package/Types/AI/AIChatTestPage.js +107 -0
- package/Types/AI/AIChatTestPage.mjs +6 -0
- package/Types/AI/AIChatTypes.d.mts +6 -0
- package/Types/AI/AIChatTypes.d.ts +6 -0
- package/Types/AI/AIReadTableWords.d.mts +6 -0
- package/Types/AI/AIReadTableWords.d.ts +6 -0
- package/Types/AI/AIReadTableWords.js +13 -0
- package/Types/AI/AIRunAttempt.d.mts +2 -0
- package/Types/AI/AIRunAttempt.d.ts +2 -0
- package/Types/AI/AIRunAttempt.js +14 -1
- package/Types/AI/AIRunAttempt.mjs +1 -0
- package/Types/AI/AISetupActions.d.mts +17 -0
- package/Types/AI/AISetupActions.d.ts +17 -0
- package/Types/AI/AISetupActions.js +55 -2
- package/Types/AI/AISetupActions.mjs +7 -0
- package/Types/AI/AiActivityInsights.d.mts +11 -0
- package/Types/AI/AiActivityInsights.d.ts +11 -0
- package/Types/AI/AiActivityInsights.js +7 -2
- package/Types/AI/AiActivityInsights.mjs +1 -0
- package/Types/AI/AiOutcomes.d.mts +61 -0
- package/Types/AI/AiOutcomes.d.ts +61 -0
- package/Types/AI/AiOutcomes.js +71 -2
- package/Types/AI/AiOutcomes.mjs +12 -0
- package/Types/AI/CodeAgentRunLimits.d.mts +1 -0
- package/Types/AI/CodeAgentRunLimits.d.ts +1 -0
- package/Types/AI/CodeAgentRunLimits.js +6 -1
- package/Types/AI/CodeFixTaskType.d.mts +3 -0
- package/Types/AI/CodeFixTaskType.d.ts +3 -0
- package/Types/AI/CodeFixTaskType.js +43 -0
- package/Types/AI/CodeTask.d.mts +8 -0
- package/Types/AI/CodeTask.d.ts +8 -0
- package/Types/AI/CodeTask.js +3 -1
- package/Types/AI/CodeTask.mjs +1 -0
- package/Types/AI/CodeTaskTryAgain.d.mts +9 -0
- package/Types/AI/CodeTaskTryAgain.d.ts +9 -0
- package/Types/AI/CodeTaskTryAgain.js +56 -0
- package/Types/AI/CodeTaskTryAgain.mjs +10 -0
- package/Types/AI/ExternalMcpServer/ExternalMcpToolNames.d.mts +10 -0
- package/Types/AI/ExternalMcpServer/ExternalMcpToolNames.d.ts +10 -0
- package/Types/AI/ExternalMcpServer/ExternalMcpToolNames.js +33 -0
- package/Types/AI/ExternalMcpServer/ExternalMcpToolNames.mjs +2 -0
- package/Types/AI/InvestigationRecording.d.mts +1 -0
- package/Types/AI/InvestigationRecording.d.ts +1 -0
- package/Types/AI/ProjectAiRunLimits.d.mts +4 -1
- package/Types/AI/ProjectAiRunLimits.d.ts +4 -1
- package/Types/AI/ProjectAiRunLimits.js +26 -5
- package/Types/AI/ProjectAiRunLimits.mjs +2 -0
- package/Types/AI/ServiceKnowledgeSummary.d.mts +27 -0
- package/Types/AI/ServiceKnowledgeSummary.d.ts +27 -0
- package/Types/AI/ServiceKnowledgeSummary.js +68 -0
- package/Types/AI/ServiceKnowledgeSummary.mjs +4 -0
- package/Types/Accounts/SecondStepEnrolment.d.mts +16 -0
- package/Types/Accounts/SecondStepEnrolment.d.ts +16 -0
- package/Types/Accounts/SecondStepEnrolment.js +96 -0
- package/Types/Accounts/SecondStepEnrolment.mjs +14 -0
- package/Types/Accounts/SecurityKeySignIn.d.mts +1 -0
- package/Types/Accounts/SecurityKeySignIn.d.ts +1 -0
- package/Types/Accounts/SecurityKeySignIn.js +33 -0
- package/Types/Accounts/SecurityKeySignIn.mjs +2 -0
- package/Types/Accounts/SignInMessages.d.mts +1 -0
- package/Types/Accounts/SignInMessages.d.ts +1 -0
- package/Types/Accounts/SignInMessages.js +14 -2
- package/Types/Accounts/SignInMessages.mjs +1 -0
- package/Types/Accounts/SignUpInvitation.d.mts +5 -0
- package/Types/Accounts/SignUpInvitation.d.ts +5 -0
- package/Types/Accounts/SignUpInvitation.js +26 -0
- package/Types/Analytics/ProductEvent.d.mts +2 -0
- package/Types/Analytics/ProductEvent.d.ts +2 -0
- package/Types/Analytics/ProductEvent.js +17 -1
- package/Types/AuditLog/AuditLogCoverage.d.mts +1 -0
- package/Types/AuditLog/AuditLogCoverage.d.ts +1 -0
- package/Types/AuditLog/AuditLogCoverage.js +14 -2
- package/Types/AuditLog/AuditLogCoverage.mjs +1 -0
- package/Types/AuditLog/AuditLogSessionEvent.js +1 -0
- package/Types/AuditLog/AuditLogSignInSettingsCleared.d.mts +17 -0
- package/Types/AuditLog/AuditLogSignInSettingsCleared.d.ts +17 -0
- package/Types/AuditLog/AuditLogSignInSettingsCleared.js +87 -0
- package/Types/AuditLog/AuditLogSignInSettingsCleared.mjs +4 -0
- package/Types/AuditLog/Export/AuditLogExportRecord.d.mts +9 -1
- package/Types/AuditLog/Export/AuditLogExportRecord.d.ts +9 -1
- package/Types/AuditLog/Export/AuditLogExportRecord.js +55 -9
- package/Types/AuditLog/Export/AuditLogExportRecord.mjs +3 -0
- package/Types/AutoRemediation/RemediationRound.d.mts +10 -1
- package/Types/AutoRemediation/RemediationRound.d.ts +10 -1
- package/Types/AutoRemediation/RemediationRound.js +37 -6
- package/Types/AutoRemediation/RemediationRound.mjs +3 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.mts +3 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.ts +3 -0
- package/Types/Call/CallStatus.d.mts +2 -1
- package/Types/Call/CallStatus.d.ts +2 -1
- package/Types/Call/CallStatus.js +6 -0
- package/Types/Cloud/CloudAddedMetrics.d.mts +68 -0
- package/Types/Cloud/CloudAddedMetrics.d.ts +68 -0
- package/Types/Cloud/CloudAddedMetrics.js +402 -0
- package/Types/Cloud/CloudAddedMetrics.mjs +18 -0
- package/Types/Cloud/CloudKeyMetricCondition.d.mts +10 -0
- package/Types/Cloud/CloudKeyMetricCondition.d.ts +10 -0
- package/Types/Cloud/CloudKeyMetricCondition.js +65 -0
- package/Types/Cloud/CloudKeyMetricCondition.mjs +4 -0
- package/Types/Cloud/CloudKeyMetrics.d.mts +53 -4
- package/Types/Cloud/CloudKeyMetrics.d.ts +53 -4
- package/Types/Cloud/CloudKeyMetrics.js +781 -211
- package/Types/Cloud/CloudKeyMetrics.mjs +19 -0
- package/Types/Cloud/CloudMonitoredResource.js +16 -2
- package/Types/Cloud/CloudPublishedMetrics.d.mts +40 -0
- package/Types/Cloud/CloudPublishedMetrics.d.ts +40 -0
- package/Types/Cloud/CloudPublishedMetrics.js +165 -0
- package/Types/Cloud/CloudPublishedMetrics.mjs +6 -0
- package/Types/Cloud/CloudReadingKeys.d.mts +10 -0
- package/Types/Cloud/CloudReadingKeys.d.ts +10 -0
- package/Types/Cloud/CloudReadingKeys.js +37 -0
- package/Types/Cloud/CloudReadingKeys.mjs +3 -0
- package/Types/Cloud/CloudResourceCatalog.d.mts +1 -0
- package/Types/Cloud/CloudResourceCatalog.d.ts +1 -0
- package/Types/Cloud/CloudResourceCatalog.js +33 -2
- package/Types/Cloud/CloudResourceHealth.d.mts +93 -1
- package/Types/Cloud/CloudResourceHealth.d.ts +93 -1
- package/Types/Cloud/CloudResourceHealth.js +671 -33
- package/Types/Cloud/CloudResourceHealth.mjs +41 -0
- package/Types/Cloud/CloudRightSizing.js +9 -3
- package/Types/Cloud/CloudUnreportedKeyMetrics.d.mts +84 -0
- package/Types/Cloud/CloudUnreportedKeyMetrics.d.ts +84 -0
- package/Types/Cloud/CloudUnreportedKeyMetrics.js +448 -0
- package/Types/Cloud/CloudUnreportedKeyMetrics.mjs +15 -0
- package/Types/CloudConnection/CloudConnectionCost.d.mts +18 -0
- package/Types/CloudConnection/CloudConnectionCost.d.ts +18 -0
- package/Types/CloudConnection/CloudConnectionCost.js +89 -4
- package/Types/CloudConnection/CloudConnectionCost.mjs +3 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.js +14 -0
- package/Types/CloudConnection/CloudStream.d.mts +5 -0
- package/Types/CloudConnection/CloudStream.d.ts +5 -0
- package/Types/CloudConnection/CloudStream.js +46 -2
- package/Types/CloudConnection/CloudStream.mjs +3 -0
- package/Types/CloudConnection/CloudStreamOrganization.d.mts +6 -0
- package/Types/CloudConnection/CloudStreamOrganization.d.ts +6 -0
- package/Types/CloudConnection/CloudStreamOrganization.js +36 -1
- package/Types/CloudConnection/CloudStreamOrganization.mjs +2 -0
- package/Types/CloudConnection/CloudStreamStack.d.mts +48 -0
- package/Types/CloudConnection/CloudStreamStack.d.ts +48 -0
- package/Types/CloudConnection/CloudStreamStack.js +198 -0
- package/Types/CloudConnection/CloudStreamStack.mjs +15 -0
- package/Types/CloudConnection/CloudStreamTemplate.d.mts +14 -1
- package/Types/CloudConnection/CloudStreamTemplate.d.ts +14 -1
- package/Types/CloudConnection/CloudStreamTemplate.js +147 -16
- package/Types/CloudConnection/CloudStreamTemplate.mjs +10 -0
- package/Types/DataObservability/DataBiLineage.d.mts +5 -0
- package/Types/DataObservability/DataBiLineage.d.ts +5 -0
- package/Types/DataObservability/DataBiLineage.js +29 -1
- package/Types/DataObservability/DataCircuitBreaker.d.mts +78 -0
- package/Types/DataObservability/DataCircuitBreaker.d.ts +78 -0
- package/Types/DataObservability/DataCircuitBreaker.js +262 -0
- package/Types/DataObservability/DataCircuitBreaker.mjs +12 -0
- package/Types/DataObservability/DataLineageMap.d.mts +3 -0
- package/Types/DataObservability/DataLineageMap.d.ts +3 -0
- package/Types/DataObservability/DataLineageMap.js +22 -0
- package/Types/DataObservability/DataLineageMap.mjs +2 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.mts +18 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.ts +18 -0
- package/Types/DataObservability/DataObservabilityApiTypes.js +10 -0
- package/Types/DataObservability/DataObservabilityAttention.d.mts +1 -0
- package/Types/DataObservability/DataObservabilityAttention.d.ts +1 -0
- package/Types/DataObservability/DataObservabilityAttention.js +12 -6
- package/Types/DataObservability/DataPipelineMetric.d.mts +2 -1
- package/Types/DataObservability/DataPipelineMetric.d.ts +2 -1
- package/Types/DataObservability/DataPipelineMetric.js +12 -2
- package/Types/DataObservability/SkippedTables.d.mts +24 -0
- package/Types/DataObservability/SkippedTables.d.ts +24 -0
- package/Types/DataObservability/SkippedTables.js +147 -0
- package/Types/DataObservability/SkippedTables.mjs +9 -0
- package/Types/DataSecurity/ComplianceRequirementCatalog.d.mts +9 -2
- package/Types/DataSecurity/ComplianceRequirementCatalog.d.ts +9 -2
- package/Types/DataSecurity/ComplianceRequirementCatalog.js +46 -10
- package/Types/DataSecurity/ComplianceRequirementCatalog.mjs +1 -0
- package/Types/DataSecurity/ComplianceScope.d.mts +29 -0
- package/Types/DataSecurity/ComplianceScope.d.ts +29 -0
- package/Types/DataSecurity/ComplianceScope.js +120 -0
- package/Types/DataSecurity/ComplianceScope.mjs +7 -0
- package/Types/DataSecurity/ComplianceSettingFramework.d.mts +5 -0
- package/Types/DataSecurity/ComplianceSettingFramework.d.ts +5 -0
- package/Types/DataSecurity/ComplianceSettingFramework.js +10 -0
- package/Types/DataSecurity/ComplianceSettingFramework.mjs +3 -0
- package/Types/DataSecurity/DataSecurityApiTypes.d.mts +77 -2
- package/Types/DataSecurity/DataSecurityApiTypes.d.ts +77 -2
- package/Types/DataSecurity/DataSecurityApiTypes.js +45 -1
- package/Types/DataSecurity/DataSecurityApiTypes.mjs +3 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.js +2 -2
- package/Types/DataSecurity/DataStoreKind.d.mts +2 -1
- package/Types/DataSecurity/DataStoreKind.d.ts +2 -1
- package/Types/DataSecurity/DataStoreKind.js +8 -1
- package/Types/DataSecurity/DataStoreResource.d.mts +32 -0
- package/Types/DataSecurity/DataStoreResource.d.ts +32 -0
- package/Types/DataSecurity/DataStoreResource.js +142 -0
- package/Types/DataSecurity/DataStoreResource.mjs +11 -0
- package/Types/DataSecurity/FindingSampleRecord.d.mts +5 -0
- package/Types/DataSecurity/FindingSampleRecord.d.ts +5 -0
- package/Types/DataSecurity/FindingSampleRecord.js +62 -11
- package/Types/DataSecurity/FindingSampleRecord.mjs +1 -0
- package/Types/DataSecurity/TelemetryScrubTarget.d.mts +28 -0
- package/Types/DataSecurity/TelemetryScrubTarget.d.ts +28 -0
- package/Types/DataSecurity/TelemetryScrubTarget.js +125 -0
- package/Types/DataSecurity/TelemetryScrubTarget.mjs +12 -0
- package/Types/Database/AccessControl/AccountDateColumns.d.mts +3 -0
- package/Types/Database/AccessControl/AccountDateColumns.d.ts +3 -0
- package/Types/Database/AccessControl/AccountDateColumns.js +32 -0
- package/Types/Database/AccessControl/AccountDateColumns.mjs +4 -0
- package/Types/Database/AccessControl/PermissionScopeNarrowing.js +9 -0
- package/Types/Database/MoveInList.d.mts +11 -2
- package/Types/Database/MoveInList.d.ts +11 -2
- package/Types/Database/MoveInList.js +74 -23
- package/Types/Database/MoveInList.mjs +2 -0
- package/Types/Database/SharedNames.d.mts +15 -0
- package/Types/Database/SharedNames.d.ts +15 -0
- package/Types/Database/SharedNames.js +80 -0
- package/Types/Database/SharedNames.mjs +8 -0
- package/Types/Database/TableColumn.d.mts +1 -0
- package/Types/Database/TableColumn.d.ts +1 -0
- package/Types/Database/UniqueName.d.mts +41 -0
- package/Types/Database/UniqueName.d.ts +41 -0
- package/Types/Database/UniqueName.js +242 -0
- package/Types/Database/UniqueName.mjs +25 -0
- package/Types/DeviceManagement/DeviceManagementConnectionHealth.d.mts +25 -0
- package/Types/DeviceManagement/DeviceManagementConnectionHealth.d.ts +25 -0
- package/Types/DeviceManagement/DeviceManagementConnectionHealth.js +98 -0
- package/Types/DeviceManagement/DeviceManagementConnectionHealth.mjs +5 -0
- package/Types/DeviceManagement/DeviceManagementConnectionSettings.d.mts +27 -0
- package/Types/DeviceManagement/DeviceManagementConnectionSettings.d.ts +27 -0
- package/Types/DeviceManagement/DeviceManagementConnectionSettings.js +254 -0
- package/Types/DeviceManagement/DeviceManagementConnectionSettings.mjs +21 -0
- package/Types/DeviceManagement/DeviceManagementConnectionTest.d.mts +14 -0
- package/Types/DeviceManagement/DeviceManagementConnectionTest.d.ts +14 -0
- package/Types/DeviceManagement/DeviceManagementConnectionTest.js +5 -0
- package/Types/DeviceManagement/DeviceManagementConnectionTest.mjs +2 -0
- package/Types/DeviceManagement/DeviceManagementProvider.d.mts +7 -0
- package/Types/DeviceManagement/DeviceManagementProvider.d.ts +7 -0
- package/Types/DeviceManagement/DeviceManagementProvider.js +37 -0
- package/Types/DeviceManagement/DeviceManagementProvider.mjs +5 -0
- package/Types/DeviceManagement/DeviceManagementReadSummary.d.mts +28 -0
- package/Types/DeviceManagement/DeviceManagementReadSummary.d.ts +28 -0
- package/Types/DeviceManagement/DeviceManagementReadSummary.js +67 -0
- package/Types/DeviceManagement/DeviceManagementReadSummary.mjs +4 -0
- package/Types/DeviceManagement/ManagedDeviceCheckIn.d.mts +43 -0
- package/Types/DeviceManagement/ManagedDeviceCheckIn.d.ts +43 -0
- package/Types/DeviceManagement/ManagedDeviceCheckIn.js +173 -0
- package/Types/DeviceManagement/ManagedDeviceCheckIn.mjs +8 -0
- package/Types/DeviceManagement/ManagedDeviceIdentity.d.mts +23 -0
- package/Types/DeviceManagement/ManagedDeviceIdentity.d.ts +23 -0
- package/Types/DeviceManagement/ManagedDeviceIdentity.js +148 -0
- package/Types/DeviceManagement/ManagedDeviceIdentity.mjs +16 -0
- package/Types/DeviceManagement/ManagedDeviceStatus.d.mts +45 -0
- package/Types/DeviceManagement/ManagedDeviceStatus.d.ts +45 -0
- package/Types/DeviceManagement/ManagedDeviceStatus.js +161 -0
- package/Types/DeviceManagement/ManagedDeviceStatus.mjs +9 -0
- package/Types/DockerSwarm/DockerSwarmInventoryExtractor.js +20 -1
- package/Types/Domain.d.mts +1 -0
- package/Types/Domain.d.ts +1 -0
- package/Types/Domain.js +30 -0
- package/Types/Email/EmailTemplateType.d.mts +8 -0
- package/Types/Email/EmailTemplateType.d.ts +8 -0
- package/Types/Email/EmailTemplateType.js +27 -0
- package/Types/HeldPermissions.d.mts +10 -0
- package/Types/HeldPermissions.d.ts +10 -0
- package/Types/HeldPermissions.js +63 -0
- package/Types/Host/HostHealth.d.mts +2 -0
- package/Types/Host/HostHealth.d.ts +2 -0
- package/Types/Host/HostHealth.js +10 -1
- package/Types/Host/HostHealth.mjs +1 -0
- package/Types/Host/HostLogSession.d.mts +30 -0
- package/Types/Host/HostLogSession.d.ts +30 -0
- package/Types/Host/HostLogSession.js +117 -0
- package/Types/Host/HostLogSession.mjs +12 -0
- package/Types/HostCollector/HostCollector.js +1 -1
- package/Types/Icon/IconProp.d.mts +1 -0
- package/Types/Icon/IconProp.d.ts +1 -0
- package/Types/Icon/IconProp.js +2 -0
- package/Types/IncomingCall/IncomingCallEscalationOrder.d.mts +16 -0
- package/Types/IncomingCall/IncomingCallEscalationOrder.d.ts +16 -0
- package/Types/IncomingCall/IncomingCallEscalationOrder.js +59 -0
- package/Types/IncomingCall/IncomingCallEscalationOrder.mjs +3 -0
- package/Types/Kubernetes/Compliance/CisKubernetesBenchmark.d.mts +26 -0
- package/Types/Kubernetes/Compliance/CisKubernetesBenchmark.d.ts +26 -0
- package/Types/Kubernetes/Compliance/CisKubernetesBenchmark.js +482 -0
- package/Types/Kubernetes/Compliance/CisKubernetesBenchmark.mjs +12 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceApiTypes.d.mts +32 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceApiTypes.d.ts +32 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceApiTypes.js +14 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceApiTypes.mjs +2 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceCatalog.d.mts +35 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceCatalog.d.ts +35 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceCatalog.js +470 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceCatalog.mjs +13 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFinding.d.mts +24 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFinding.d.ts +24 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFinding.js +17 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFinding.mjs +3 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFramework.d.mts +8 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFramework.d.ts +8 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFramework.js +38 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFramework.mjs +5 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceScoring.d.mts +50 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceScoring.d.ts +50 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceScoring.js +318 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceScoring.mjs +6 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceSnapshot.d.mts +39 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceSnapshot.d.ts +39 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceSnapshot.js +13 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceSnapshot.mjs +2 -0
- package/Types/Kubernetes/Compliance/KubernetesRbac.d.mts +43 -0
- package/Types/Kubernetes/Compliance/KubernetesRbac.d.ts +43 -0
- package/Types/Kubernetes/Compliance/KubernetesRbac.js +165 -0
- package/Types/Kubernetes/Compliance/KubernetesRbac.mjs +20 -0
- package/Types/Kubernetes/Compliance/KubernetesVersion.d.mts +11 -0
- package/Types/Kubernetes/Compliance/KubernetesVersion.d.ts +11 -0
- package/Types/Kubernetes/Compliance/KubernetesVersion.js +79 -0
- package/Types/Kubernetes/Compliance/KubernetesVersion.mjs +8 -0
- package/Types/Kubernetes/Compliance/PodSecurityStandards.d.mts +58 -0
- package/Types/Kubernetes/Compliance/PodSecurityStandards.d.ts +58 -0
- package/Types/Kubernetes/Compliance/PodSecurityStandards.js +638 -0
- package/Types/Kubernetes/Compliance/PodSecurityStandards.mjs +20 -0
- package/Types/Kubernetes/KubernetesCostEfficiency.d.mts +16 -0
- package/Types/Kubernetes/KubernetesCostEfficiency.d.ts +16 -0
- package/Types/Kubernetes/KubernetesCostEfficiency.js +74 -0
- package/Types/Kubernetes/KubernetesCostEfficiency.mjs +7 -0
- package/Types/Kubernetes/KubernetesCostIngest.d.mts +5 -0
- package/Types/Kubernetes/KubernetesCostIngest.d.ts +5 -0
- package/Types/Kubernetes/KubernetesCostIngest.js +14 -16
- package/Types/Kubernetes/KubernetesCostIngest.mjs +3 -0
- package/Types/Kubernetes/KubernetesCostMetrics.d.mts +47 -0
- package/Types/Kubernetes/KubernetesCostMetrics.d.ts +47 -0
- package/Types/Kubernetes/KubernetesCostMetrics.js +296 -0
- package/Types/Kubernetes/KubernetesCostMetrics.mjs +19 -0
- package/Types/Kubernetes/KubernetesCostPricing.d.mts +20 -0
- package/Types/Kubernetes/KubernetesCostPricing.d.ts +20 -0
- package/Types/Kubernetes/KubernetesCostPricing.js +114 -0
- package/Types/Kubernetes/KubernetesCostPricing.mjs +7 -0
- package/Types/Kubernetes/KubernetesHealth.d.mts +26 -3
- package/Types/Kubernetes/KubernetesHealth.d.ts +26 -3
- package/Types/Kubernetes/KubernetesHealth.js +424 -37
- package/Types/Kubernetes/KubernetesHealth.mjs +2 -0
- package/Types/Kubernetes/KubernetesInventoryExtractor.js +11 -3
- package/Types/Kubernetes/KubernetesObjectParser.d.mts +8 -0
- package/Types/Kubernetes/KubernetesObjectParser.d.ts +8 -0
- package/Types/Kubernetes/KubernetesObjectParser.js +45 -0
- package/Types/Kubernetes/KubernetesObjectParser.mjs +1 -0
- package/Types/Kubernetes/KubernetesPodSecurity.d.mts +63 -0
- package/Types/Kubernetes/KubernetesPodSecurity.d.ts +63 -0
- package/Types/Kubernetes/KubernetesPodSecurity.js +399 -0
- package/Types/Kubernetes/KubernetesPodSecurity.mjs +6 -0
- package/Types/Kubernetes/KubernetesPolicyObjects.d.mts +62 -0
- package/Types/Kubernetes/KubernetesPolicyObjects.d.ts +62 -0
- package/Types/Kubernetes/KubernetesPolicyObjects.js +239 -0
- package/Types/Kubernetes/KubernetesPolicyObjects.mjs +16 -0
- package/Types/Kubernetes/KubernetesStorageHealth.d.mts +52 -0
- package/Types/Kubernetes/KubernetesStorageHealth.d.ts +52 -0
- package/Types/Kubernetes/KubernetesStorageHealth.js +353 -0
- package/Types/Kubernetes/KubernetesStorageHealth.mjs +17 -0
- package/Types/MeaningKeys.js +33 -0
- package/Types/Monitor/CloudAlertTemplates.d.mts +23 -0
- package/Types/Monitor/CloudAlertTemplates.d.ts +23 -0
- package/Types/Monitor/CloudAlertTemplates.js +575 -4
- package/Types/Monitor/CloudAlertTemplates.mjs +11 -0
- package/Types/Monitor/CriteriaFilter.d.mts +2 -0
- package/Types/Monitor/CriteriaFilter.d.ts +2 -0
- package/Types/Monitor/CriteriaFilter.js +9 -0
- package/Types/Monitor/CriteriaFilterTerms.js +2 -0
- package/Types/Monitor/DataPipelineAlertTemplates.js +34 -1
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.d.mts +7 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.d.ts +7 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.js +45 -2
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.mjs +3 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorResponse.d.mts +3 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorResponse.d.ts +3 -0
- package/Types/Monitor/HostAlertTemplates.d.mts +13 -0
- package/Types/Monitor/HostAlertTemplates.d.ts +13 -0
- package/Types/Monitor/HostAlertTemplates.js +352 -2
- package/Types/Monitor/HostAlertTemplates.mjs +4 -0
- package/Types/Monitor/KubernetesAlertTemplates.d.mts +5 -1
- package/Types/Monitor/KubernetesAlertTemplates.d.ts +5 -1
- package/Types/Monitor/KubernetesAlertTemplates.js +317 -27
- package/Types/Monitor/KubernetesAlertTemplates.mjs +3 -0
- package/Types/Monitor/KubernetesMetricCatalog.d.mts +1 -1
- package/Types/Monitor/KubernetesMetricCatalog.d.ts +1 -1
- package/Types/Monitor/KubernetesMetricCatalog.js +105 -1
- package/Types/Monitor/ManagedDeviceAlertTemplates.d.mts +33 -0
- package/Types/Monitor/ManagedDeviceAlertTemplates.d.ts +33 -0
- package/Types/Monitor/ManagedDeviceAlertTemplates.js +191 -0
- package/Types/Monitor/ManagedDeviceAlertTemplates.mjs +8 -0
- package/Types/Monitor/MonitorSecretType.d.mts +11 -0
- package/Types/Monitor/MonitorSecretType.d.ts +11 -0
- package/Types/Monitor/MonitorSecretType.js +37 -0
- package/Types/Monitor/MonitorSecretType.mjs +3 -0
- package/Types/Monitor/MonitorStep.d.mts +4 -0
- package/Types/Monitor/MonitorStep.d.ts +4 -0
- package/Types/Monitor/MonitorStep.js +27 -1
- package/Types/Monitor/MonitorStepExceptionMonitor.d.mts +7 -0
- package/Types/Monitor/MonitorStepExceptionMonitor.d.ts +7 -0
- package/Types/Monitor/MonitorStepExceptionMonitor.js +82 -3
- package/Types/Monitor/MonitorStepIoTMonitor.js +4 -17
- package/Types/Monitor/MonitorStepMetricMonitor.d.mts +2 -0
- package/Types/Monitor/MonitorStepMetricMonitor.d.ts +2 -0
- package/Types/Monitor/MonitorStepMetricMonitor.js +4 -0
- package/Types/Monitor/MonitorStepTraceMonitor.d.mts +4 -0
- package/Types/Monitor/MonitorStepTraceMonitor.d.ts +4 -0
- package/Types/Monitor/MonitorStepTraceMonitor.js +50 -0
- package/Types/Monitor/MonitorSteps.d.mts +1 -0
- package/Types/Monitor/MonitorSteps.d.ts +1 -0
- package/Types/Monitor/MonitorSteps.js +22 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.mts +1 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.ts +1 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.js +70 -9
- package/Types/Monitor/Recommendation/MonitorRecommendationCreateUtil.d.mts +38 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationCreateUtil.d.ts +38 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationCreateUtil.js +168 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationCreateUtil.mjs +2 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.mts +11 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.ts +11 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.js +8 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationUtil.js +37 -0
- package/Types/Monitor/RumAlertTemplates.d.mts +23 -1
- package/Types/Monitor/RumAlertTemplates.d.ts +23 -1
- package/Types/Monitor/RumAlertTemplates.js +658 -12
- package/Types/Monitor/RumAlertTemplates.mjs +11 -0
- package/Types/Monitor/SeriesContext/SeriesDebugHints.d.mts +5 -0
- package/Types/Monitor/SeriesContext/SeriesDebugHints.d.ts +5 -0
- package/Types/Monitor/SeriesContext/SeriesDebugHints.js +207 -5
- package/Types/Monitor/SeriesContext/SeriesLabelDisplay.js +32 -0
- package/Types/Monitor/TelemetryAlertRule.js +4 -3
- package/Types/Monitor/TraceMonitor/TraceMonitorGroupResult.d.mts +16 -0
- package/Types/Monitor/TraceMonitor/TraceMonitorGroupResult.d.ts +16 -0
- package/Types/Monitor/TraceMonitor/TraceMonitorGroupResult.js +2 -0
- package/Types/Monitor/TraceMonitor/TraceMonitorGroupResult.mjs +1 -0
- package/Types/Monitor/TraceMonitor/TraceMonitorResponse.d.mts +6 -0
- package/Types/Monitor/TraceMonitor/TraceMonitorResponse.d.ts +6 -0
- package/Types/NetworkDevice/DiscoveredDevice.d.mts +1 -0
- package/Types/NetworkDevice/DiscoveredDevice.d.ts +1 -0
- package/Types/NetworkDevice/DiscoveredDevice.js +4 -0
- package/Types/NetworkDevice/DiscoveryImport.d.mts +1 -0
- package/Types/NetworkDevice/DiscoveryImport.d.ts +1 -0
- package/Types/NetworkDevice/DiscoveryImport.js +11 -1
- package/Types/NetworkDevice/DiscoveryImport.mjs +1 -0
- package/Types/Notification/OwnerNotificationDelivery.d.mts +28 -0
- package/Types/Notification/OwnerNotificationDelivery.d.ts +28 -0
- package/Types/Notification/OwnerNotificationDelivery.js +47 -1
- package/Types/Notification/WhoWasTold.js +5 -3
- package/Types/NotificationSetting/NotificationEmailRollupCategory.d.mts +4 -0
- package/Types/NotificationSetting/NotificationEmailRollupCategory.d.ts +4 -0
- package/Types/NotificationSetting/NotificationEmailRollupCategory.js +44 -0
- package/Types/NotificationSetting/NotificationEmailRollupPolicy.js +10 -1
- package/Types/NotificationSetting/NotificationSettingEventType.d.mts +12 -0
- package/Types/NotificationSetting/NotificationSettingEventType.d.ts +12 -0
- package/Types/NotificationSetting/NotificationSettingEventType.js +39 -0
- package/Types/NotificationSetting/RoutineEmailEvents.js +12 -0
- package/Types/OnCallDutyPolicy/OnCallPageChannel.d.mts +2 -0
- package/Types/OnCallDutyPolicy/OnCallPageChannel.d.ts +2 -0
- package/Types/OnCallDutyPolicy/OnCallSentLine.d.mts +10 -1
- package/Types/OnCallDutyPolicy/OnCallSentLine.d.ts +10 -1
- package/Types/OnCallDutyPolicy/OnCallSentLine.js +50 -1
- package/Types/OnCallDutyPolicy/OnCallSentLine.mjs +6 -0
- package/Types/OnCallDutyPolicy/PagedFirst.d.mts +55 -0
- package/Types/OnCallDutyPolicy/PagedFirst.d.ts +55 -0
- package/Types/OnCallDutyPolicy/PagedFirst.js +205 -0
- package/Types/OnCallDutyPolicy/PagedFirst.mjs +8 -0
- package/Types/OnCallDutyPolicy/UserOverrideTeamAccess.d.mts +22 -0
- package/Types/OnCallDutyPolicy/UserOverrideTeamAccess.d.ts +22 -0
- package/Types/OnCallDutyPolicy/UserOverrideTeamAccess.js +135 -0
- package/Types/OnCallDutyPolicy/UserOverrideTeamAccess.mjs +9 -0
- package/Types/OpenStack/OpenStackBareMetal.d.mts +3 -0
- package/Types/OpenStack/OpenStackBareMetal.d.ts +3 -0
- package/Types/OpenStack/OpenStackBareMetal.js +8 -1
- package/Types/OpenStack/OpenStackBareMetal.mjs +2 -0
- package/Types/OpenStack/OpenStackHealthRules.d.mts +11 -0
- package/Types/OpenStack/OpenStackHealthRules.d.ts +11 -0
- package/Types/OpenStack/OpenStackHealthRules.js +41 -1
- package/Types/OpenStack/OpenStackHealthRules.mjs +4 -0
- package/Types/Permission.d.mts +9 -0
- package/Types/Permission.d.ts +9 -0
- package/Types/Permission.js +104 -0
- package/Types/Probe/ProbeCapability.d.mts +3 -1
- package/Types/Probe/ProbeCapability.d.ts +3 -1
- package/Types/Probe/ProbeCapability.js +21 -1
- package/Types/Probe/ProbeCapability.mjs +1 -0
- package/Types/Probe/ProbeReportedVersion.d.mts +48 -0
- package/Types/Probe/ProbeReportedVersion.d.ts +48 -0
- package/Types/Probe/ProbeReportedVersion.js +280 -0
- package/Types/Probe/ProbeReportedVersion.mjs +9 -0
- package/Types/Product/ProductRecordTables.js +14 -0
- package/Types/ProviderLogo/AllProviderLogoMarks.js +2 -0
- package/Types/ProviderLogo/Marks/android.d.mts +3 -0
- package/Types/ProviderLogo/Marks/android.d.ts +3 -0
- package/Types/ProviderLogo/Marks/android.js +15 -0
- package/Types/ProviderLogo/Marks/android.mjs +2 -0
- package/Types/ProviderLogo/ProviderLogo.d.mts +1 -0
- package/Types/ProviderLogo/ProviderLogo.d.ts +1 -0
- package/Types/ProviderLogo/ProviderLogo.js +3 -0
- package/Types/ProviderLogo/ProviderLogoMarks.js +1 -0
- package/Types/Rules/RuleCriteriaFieldRegistry.js +2 -0
- package/Types/Rules/RuleCriteriaSubject.d.mts +1 -0
- package/Types/Rules/RuleCriteriaSubject.d.ts +1 -0
- package/Types/Rules/RuleCriteriaSubject.js +2 -0
- package/Types/Rules/RuleRun.d.mts +1 -0
- package/Types/Rules/RuleRun.d.ts +1 -0
- package/Types/Rules/RuleRun.js +2 -0
- package/Types/Rum/MobileAppTelemetry.d.mts +28 -0
- package/Types/Rum/MobileAppTelemetry.d.ts +28 -0
- package/Types/Rum/MobileAppTelemetry.js +120 -0
- package/Types/Rum/MobileAppTelemetry.mjs +21 -0
- package/Types/Rum/RumClientKind.d.mts +5 -0
- package/Types/Rum/RumClientKind.d.ts +5 -0
- package/Types/Rum/RumClientKind.js +57 -0
- package/Types/Rum/RumClientKind.mjs +5 -0
- package/Types/Rum/SessionReplay.d.mts +3 -0
- package/Types/Rum/SessionReplay.d.ts +3 -0
- package/Types/Rum/SessionReplay.js +1 -1
- package/Types/Rum/SessionReplayFrustrationSignals.d.mts +3 -1
- package/Types/Rum/SessionReplayFrustrationSignals.d.ts +3 -1
- package/Types/Rum/SessionReplayFrustrationSignals.js +32 -2
- package/Types/Rum/SessionReplayFrustrationSignals.mjs +2 -0
- package/Types/Rum/SessionReplayPageRules.d.mts +10 -0
- package/Types/Rum/SessionReplayPageRules.d.ts +10 -0
- package/Types/Rum/SessionReplayPageRules.js +115 -0
- package/Types/Rum/SessionReplayPageRules.mjs +7 -0
- package/Types/Rum/SessionReplayReadableProperties.d.mts +4 -0
- package/Types/Rum/SessionReplayReadableProperties.d.ts +4 -0
- package/Types/Rum/SessionReplayReadableProperties.js +64 -0
- package/Types/Rum/SessionReplayReadableProperties.mjs +5 -0
- package/Types/Rum/SessionReplaySignalMetric.d.mts +10 -0
- package/Types/Rum/SessionReplaySignalMetric.d.ts +10 -0
- package/Types/Rum/SessionReplaySignalMetric.js +62 -0
- package/Types/Rum/SessionReplaySignalMetric.mjs +8 -0
- package/Types/SSO/IdentityProviderSignOut.d.mts +17 -1
- package/Types/SSO/IdentityProviderSignOut.d.ts +17 -1
- package/Types/SSO/IdentityProviderSignOut.js +120 -11
- package/Types/SSO/IdentityProviderSignOut.mjs +6 -0
- package/Types/SSO/LocalSignInClearing.d.mts +35 -0
- package/Types/SSO/LocalSignInClearing.d.ts +35 -0
- package/Types/SSO/LocalSignInClearing.js +166 -0
- package/Types/SSO/LocalSignInClearing.mjs +19 -0
- package/Types/SSO/SignInMethods.d.mts +5 -0
- package/Types/SSO/SignInMethods.d.ts +5 -0
- package/Types/SSO/SignInMethods.js +29 -1
- package/Types/SSO/SignInMethods.mjs +4 -0
- package/Types/SSO/SignInSettingsClearedEmail.d.mts +33 -0
- package/Types/SSO/SignInSettingsClearedEmail.d.ts +33 -0
- package/Types/SSO/SignInSettingsClearedEmail.js +144 -0
- package/Types/SSO/SignInSettingsClearedEmail.mjs +8 -0
- package/Types/SSO/SsoManagedSignIn.d.mts +23 -0
- package/Types/SSO/SsoManagedSignIn.d.ts +23 -0
- package/Types/SSO/SsoManagedSignIn.js +205 -0
- package/Types/SSO/SsoManagedSignIn.mjs +9 -0
- package/Types/ScheduledMaintenance/ScheduledMaintenanceSubscriberReach.d.mts +50 -0
- package/Types/ScheduledMaintenance/ScheduledMaintenanceSubscriberReach.d.ts +50 -0
- package/Types/ScheduledMaintenance/ScheduledMaintenanceSubscriberReach.js +230 -0
- package/Types/ScheduledMaintenance/ScheduledMaintenanceSubscriberReach.mjs +4 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.d.mts +6 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.d.ts +6 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.js +17 -1
- package/Types/SecurityCase/SecurityCaseMatches.d.mts +8 -1
- package/Types/SecurityCase/SecurityCaseMatches.d.ts +8 -1
- package/Types/SecurityCase/SecurityCaseMatches.js +8 -1
- package/Types/SecurityCase/SecurityConnection.d.mts +7 -0
- package/Types/SecurityCase/SecurityConnection.d.ts +7 -0
- package/Types/SecurityCase/SecurityConnection.js +45 -2
- package/Types/SecurityCase/SecurityConnection.mjs +6 -0
- package/Types/SecurityCase/SecurityDetectionMatchedEvents.d.mts +43 -0
- package/Types/SecurityCase/SecurityDetectionMatchedEvents.d.ts +43 -0
- package/Types/SecurityCase/SecurityDetectionMatchedEvents.js +365 -0
- package/Types/SecurityCase/SecurityDetectionMatchedEvents.mjs +20 -0
- package/Types/SecurityEvent/DetectionRuleLibraryResponseSteps.d.mts +8 -0
- package/Types/SecurityEvent/DetectionRuleLibraryResponseSteps.d.ts +8 -0
- package/Types/SecurityEvent/DetectionRuleLibraryResponseSteps.js +1400 -0
- package/Types/SecurityEvent/DetectionRuleLibraryResponseSteps.mjs +7 -0
- package/Types/SecurityEvent/DetectionRuleResponseSteps.d.mts +26 -0
- package/Types/SecurityEvent/DetectionRuleResponseSteps.d.ts +26 -0
- package/Types/SecurityEvent/DetectionRuleResponseSteps.js +184 -0
- package/Types/SecurityEvent/DetectionRuleResponseSteps.mjs +14 -0
- package/Types/StatusPage/AnnouncementReach.d.mts +16 -0
- package/Types/StatusPage/AnnouncementReach.d.ts +16 -0
- package/Types/StatusPage/AnnouncementReach.js +62 -0
- package/Types/StatusPage/AnnouncementReach.mjs +2 -0
- package/Types/StatusPage/AnnouncementUpdateNotification.d.mts +15 -0
- package/Types/StatusPage/AnnouncementUpdateNotification.d.ts +15 -0
- package/Types/StatusPage/AnnouncementUpdateNotification.js +92 -0
- package/Types/StatusPage/AnnouncementUpdateNotification.mjs +4 -0
- package/Types/StatusPage/PickedStatusPagesReach.d.mts +13 -0
- package/Types/StatusPage/PickedStatusPagesReach.d.ts +13 -0
- package/Types/StatusPage/PickedStatusPagesReach.js +73 -0
- package/Types/StatusPage/PickedStatusPagesReach.mjs +2 -0
- package/Types/StatusPage/PublicNoteApproval.d.mts +2 -1
- package/Types/StatusPage/PublicNoteApproval.d.ts +2 -1
- package/Types/StatusPage/PublicNoteApproval.js +11 -5
- package/Types/StatusPage/PublicNoteReach.d.mts +26 -0
- package/Types/StatusPage/PublicNoteReach.d.ts +26 -0
- package/Types/StatusPage/PublicNoteReach.js +144 -0
- package/Types/StatusPage/PublicNoteReach.mjs +4 -0
- package/Types/StatusPage/SubscriberNotificationPreview.js +9 -3
- package/Types/Team/CustomRole.d.mts +5 -0
- package/Types/Team/CustomRole.d.ts +5 -0
- package/Types/Team/CustomRole.js +19 -2
- package/Types/Team/CustomRole.mjs +1 -0
- package/Types/Team/InviteSuggestions.d.mts +36 -0
- package/Types/Team/InviteSuggestions.d.ts +36 -0
- package/Types/Team/InviteSuggestions.js +203 -0
- package/Types/Team/InviteSuggestions.mjs +13 -0
- package/Types/Telemetry/InventoryLiveness.d.mts +11 -3
- package/Types/Telemetry/InventoryLiveness.d.ts +11 -3
- package/Types/Telemetry/InventoryLiveness.js +19 -6
- package/Types/Telemetry/InventoryLiveness.mjs +1 -0
- package/Types/Telemetry/ServiceType.d.mts +1 -0
- package/Types/Telemetry/ServiceType.d.ts +1 -0
- package/Types/Telemetry/ServiceType.js +8 -0
- package/Types/Telemetry/TelemetryIngestSurface.d.mts +2 -1
- package/Types/Telemetry/TelemetryIngestSurface.d.ts +2 -1
- package/Types/Telemetry/TelemetryIngestSurface.js +9 -0
- package/Types/Timezone.d.mts +1 -0
- package/Types/Timezone.d.ts +1 -0
- package/Types/Timezone.js +1 -0
- package/Types/TimezoneAlias.js +11 -6
- package/Types/ToolImport/ToolImportNote.d.mts +1 -0
- package/Types/ToolImport/ToolImportNote.d.ts +1 -0
- package/Types/ToolImport/ToolImportNote.js +5 -0
- package/Types/TwoFactorAuthSetup.d.mts +16 -0
- package/Types/TwoFactorAuthSetup.d.ts +16 -0
- package/Types/TwoFactorAuthSetup.js +64 -0
- package/Types/TwoFactorAuthSetup.mjs +6 -0
- package/Types/UserAuthenticationStatus.d.mts +3 -0
- package/Types/UserAuthenticationStatus.d.ts +3 -0
- package/Types/UserSession/SessionEndCause.d.mts +1 -0
- package/Types/UserSession/SessionEndCause.d.ts +1 -0
- package/Types/UserSession/SessionEndCause.js +10 -2
- package/Types/VideoCall/CallSummaryPosts.d.mts +18 -0
- package/Types/VideoCall/CallSummaryPosts.d.ts +18 -0
- package/Types/VideoCall/CallSummaryPosts.js +106 -0
- package/Types/VideoCall/CallSummaryPosts.mjs +2 -0
- package/Types/WhatsApp/WhatsAppEventTemplates.d.mts +9 -0
- package/Types/WhatsApp/WhatsAppEventTemplates.d.ts +9 -0
- package/Types/WhatsApp/WhatsAppEventTemplates.js +117 -0
- package/Types/WhatsApp/WhatsAppEventTemplates.mjs +5 -0
- package/Types/Workflow/WorkflowRunAs.d.mts +99 -0
- package/Types/Workflow/WorkflowRunAs.d.ts +99 -0
- package/Types/Workflow/WorkflowRunAs.js +411 -0
- package/Types/Workflow/WorkflowRunAs.mjs +39 -0
- package/Types/Workspace/WorkspacePostedMessage.d.mts +12 -0
- package/Types/Workspace/WorkspacePostedMessage.d.ts +12 -0
- package/Types/Workspace/WorkspacePostedMessage.js +57 -0
- package/Types/Workspace/WorkspacePostedMessage.mjs +3 -0
- package/Utils/AI/MeaningMatch.d.mts +7 -0
- package/Utils/AI/MeaningMatch.d.ts +7 -0
- package/Utils/AI/MeaningMatch.js +49 -1
- package/Utils/AI/MeaningMatch.mjs +1 -0
- package/Utils/AiRemediation/KubectlWaitBudget.d.mts +1 -0
- package/Utils/AiRemediation/KubectlWaitBudget.d.ts +1 -0
- package/Utils/AiRemediation/KubectlWaitBudget.js +19 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.d.mts +4 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.d.ts +4 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.js +30 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.mjs +1 -0
- package/Utils/DeveloperDocs/AiAssistantExamples.d.mts +2 -1
- package/Utils/DeveloperDocs/AiAssistantExamples.d.ts +2 -1
- package/Utils/DeveloperDocs/AiAssistantExamples.js +38 -1
- package/Utils/DeveloperDocs/AiAssistantExamples.mjs +1 -0
- package/Utils/DeveloperDocs/CliCommands.d.mts +14 -0
- package/Utils/DeveloperDocs/CliCommands.d.ts +14 -0
- package/Utils/DeveloperDocs/CliCommands.js +36 -0
- package/Utils/DeveloperDocs/CliCommands.mjs +2 -0
- package/Utils/DeveloperDocs/DeleteChoices.d.mts +47 -0
- package/Utils/DeveloperDocs/DeleteChoices.d.ts +47 -0
- package/Utils/DeveloperDocs/DeleteChoices.js +296 -0
- package/Utils/DeveloperDocs/DeleteChoices.mjs +10 -0
- package/Utils/DeveloperDocs/ListOrderFacts.d.mts +27 -0
- package/Utils/DeveloperDocs/ListOrderFacts.d.ts +27 -0
- package/Utils/DeveloperDocs/ListOrderFacts.js +106 -0
- package/Utils/DeveloperDocs/ListOrderFacts.mjs +4 -0
- package/Utils/DeveloperDocs/TerraformSchema.d.mts +6 -0
- package/Utils/DeveloperDocs/TerraformSchema.d.ts +6 -0
- package/Utils/DeveloperDocs/TerraformSchema.js +20 -1
- package/Utils/DeveloperDocs/TerraformSchema.mjs +1 -0
- package/Utils/GuidedSetup/OnCallPolicyRecords.d.mts +36 -0
- package/Utils/GuidedSetup/OnCallPolicyRecords.d.ts +36 -0
- package/Utils/GuidedSetup/OnCallPolicyRecords.js +101 -1
- package/Utils/GuidedSetup/OnCallPolicyRecords.mjs +8 -0
- package/Utils/GuidedSetup/ServiceMonitorRecords.d.mts +58 -0
- package/Utils/GuidedSetup/ServiceMonitorRecords.d.ts +58 -0
- package/Utils/GuidedSetup/ServiceMonitorRecords.js +163 -0
- package/Utils/GuidedSetup/ServiceMonitorRecords.mjs +11 -0
- package/Utils/GuidedSetup/WebsiteMonitorRecords.d.mts +12 -0
- package/Utils/GuidedSetup/WebsiteMonitorRecords.d.ts +12 -0
- package/Utils/GuidedSetup/WebsiteMonitorRecords.js +33 -1
- package/Utils/GuidedSetup/WebsiteMonitorRecords.mjs +3 -0
- package/Utils/Host/AndroidAgentLogSessions.d.mts +63 -0
- package/Utils/Host/AndroidAgentLogSessions.d.ts +63 -0
- package/Utils/Host/AndroidAgentLogSessions.js +245 -0
- package/Utils/Host/AndroidAgentLogSessions.mjs +9 -0
- package/Utils/Host/HostOperatingSystem.d.mts +29 -0
- package/Utils/Host/HostOperatingSystem.d.ts +29 -0
- package/Utils/Host/HostOperatingSystem.js +95 -0
- package/Utils/Host/HostOperatingSystem.mjs +4 -0
- package/Utils/HostCollector/HostCollectorConfigResolution.d.mts +1 -1
- package/Utils/HostCollector/HostCollectorConfigResolution.d.ts +1 -1
- package/Utils/HostCollector/HostCollectorConfigResolution.js +12 -2
- package/Utils/HostCollector/HostCollectorDefaultConfig.d.mts +5 -0
- package/Utils/HostCollector/HostCollectorDefaultConfig.d.ts +5 -0
- package/Utils/HostCollector/HostCollectorDefaultConfig.js +90 -4
- package/Utils/HostCollector/HostCollectorDefaultConfig.mjs +5 -0
- package/Utils/Inventory/InventoryAssetDetails.d.mts +4 -3
- package/Utils/Inventory/InventoryAssetDetails.d.ts +4 -3
- package/Utils/Inventory/InventoryAssetDetails.js +16 -29
- package/Utils/ListOrder.d.mts +71 -11
- package/Utils/ListOrder.d.ts +71 -11
- package/Utils/ListOrder.js +135 -20
- package/Utils/ListOrder.mjs +3 -1
- package/Utils/Metrics/MetricLatestReading.d.mts +15 -0
- package/Utils/Metrics/MetricLatestReading.d.ts +15 -0
- package/Utils/Metrics/MetricLatestReading.js +49 -0
- package/Utils/Metrics/MetricLatestReading.mjs +2 -0
- package/Utils/Metrics/MetricQueryOverlay.d.mts +24 -0
- package/Utils/Metrics/MetricQueryOverlay.d.ts +24 -0
- package/Utils/Metrics/MetricQueryOverlay.js +169 -0
- package/Utils/Metrics/MetricQueryOverlay.mjs +3 -0
- package/Utils/Metrics/RetiredCloudMetricChartMoves.d.mts +11 -0
- package/Utils/Metrics/RetiredCloudMetricChartMoves.d.ts +11 -0
- package/Utils/Metrics/RetiredCloudMetricChartMoves.js +337 -0
- package/Utils/Metrics/RetiredCloudMetricChartMoves.mjs +5 -0
- package/Utils/Metrics/RetiredCloudMetricMoves.d.mts +126 -0
- package/Utils/Metrics/RetiredCloudMetricMoves.d.ts +126 -0
- package/Utils/Metrics/RetiredCloudMetricMoves.js +681 -0
- package/Utils/Metrics/RetiredCloudMetricMoves.mjs +26 -0
- package/Utils/Metrics/RetiredCloudMetricReads.d.mts +13 -0
- package/Utils/Metrics/RetiredCloudMetricReads.d.ts +13 -0
- package/Utils/Metrics/RetiredCloudMetricReads.js +176 -0
- package/Utils/Metrics/RetiredCloudMetricReads.mjs +12 -0
- package/Utils/ModelImportExport.js +9 -0
- package/Utils/Monitor/DeviceMonitorDuplicates.js +22 -3
- package/Utils/Monitor/DeviceMonitorTemplateUtil.d.mts +11 -1
- package/Utils/Monitor/DeviceMonitorTemplateUtil.d.ts +11 -1
- package/Utils/Monitor/DeviceMonitorTemplateUtil.js +173 -44
- package/Utils/Monitor/DeviceMonitorTemplateUtil.mjs +5 -0
- package/Utils/Monitor/DeviceUrlTarget.d.mts +35 -0
- package/Utils/Monitor/DeviceUrlTarget.d.ts +35 -0
- package/Utils/Monitor/DeviceUrlTarget.js +254 -0
- package/Utils/Monitor/DeviceUrlTarget.mjs +9 -0
- package/Utils/Monitor/MonitorSecretReferences.d.mts +21 -0
- package/Utils/Monitor/MonitorSecretReferences.d.ts +21 -0
- package/Utils/Monitor/MonitorSecretReferences.js +162 -0
- package/Utils/Monitor/MonitorSecretReferences.mjs +10 -0
- package/Utils/Monitor/MonitorSecretTotp.d.mts +40 -0
- package/Utils/Monitor/MonitorSecretTotp.d.ts +40 -0
- package/Utils/Monitor/MonitorSecretTotp.js +313 -0
- package/Utils/Monitor/MonitorSecretTotp.mjs +15 -0
- package/Utils/Monitor/MonitorStatusReason.d.mts +44 -0
- package/Utils/Monitor/MonitorStatusReason.d.ts +44 -0
- package/Utils/Monitor/MonitorStatusReason.js +446 -0
- package/Utils/Monitor/MonitorStatusReason.mjs +12 -0
- package/Utils/Monitor/MonitorUptimeSummaryUtil.js +7 -6
- package/Utils/Monitor/ProbeFailureCauses.d.mts +3 -1
- package/Utils/Monitor/ProbeFailureCauses.d.ts +3 -1
- package/Utils/Monitor/ProbeFailureCauses.js +14 -3
- package/Utils/Monitor/StatusChangeCauseWording.d.mts +15 -0
- package/Utils/Monitor/StatusChangeCauseWording.d.ts +15 -0
- package/Utils/Monitor/StatusChangeCauseWording.js +129 -0
- package/Utils/Monitor/StatusChangeCauseWording.mjs +5 -0
- package/Utils/Monitor/StatusChangeNotes.d.mts +15 -0
- package/Utils/Monitor/StatusChangeNotes.d.ts +15 -0
- package/Utils/Monitor/StatusChangeNotes.js +144 -0
- package/Utils/Monitor/StatusChangeNotes.mjs +15 -0
- package/Utils/NetworkDevice/DeviceAddressScope.d.mts +71 -0
- package/Utils/NetworkDevice/DeviceAddressScope.d.ts +71 -0
- package/Utils/NetworkDevice/DeviceAddressScope.js +286 -0
- package/Utils/NetworkDevice/DeviceAddressScope.mjs +12 -0
- package/Utils/NetworkDevice/MonitorCheckedHost.d.mts +9 -0
- package/Utils/NetworkDevice/MonitorCheckedHost.d.ts +9 -0
- package/Utils/NetworkDevice/MonitorCheckedHost.js +114 -0
- package/Utils/NetworkDevice/MonitorCheckedHost.mjs +4 -0
- package/Utils/NetworkDevice/Naming/DeviceNamingPlanner.js +8 -6
- package/Utils/NetworkSite/CidrMatchUtil.js +10 -4
- package/Utils/Project/ProjectBilling.js +1 -0
- package/Utils/Rum/SessionIdentity.d.mts +0 -8
- package/Utils/Rum/SessionIdentity.d.ts +0 -8
- package/Utils/Rum/SessionIdentity.js +4 -105
- package/Utils/Rum/SessionReplayFrustrationSettingsValidation.js +15 -1
- package/Utils/Rum/SessionReplayIngestBounds.d.mts +10 -0
- package/Utils/Rum/SessionReplayIngestBounds.d.ts +10 -0
- package/Utils/Rum/SessionReplayIngestBounds.js +121 -0
- package/Utils/Rum/SessionReplayIngestBounds.mjs +2 -0
- package/Utils/Rum/SessionReplayPolicyValidation.d.mts +9 -0
- package/Utils/Rum/SessionReplayPolicyValidation.d.ts +9 -0
- package/Utils/Rum/SessionReplayPolicyValidation.js +97 -0
- package/Utils/Rum/SessionReplayPolicyValidation.mjs +6 -0
- package/Utils/Schema/ModelSchema.js +20 -4
- package/Utils/SecurityCase/SecurityCaseMarkdown.d.mts +1 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.d.ts +1 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.js +5 -2
- package/Utils/SecurityCase/SecurityConnectionMatch.js +23 -8
- package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.js +7 -0
- package/Utils/SecurityEvent/LogParsers/CloudAuditResources.d.mts +93 -0
- package/Utils/SecurityEvent/LogParsers/CloudAuditResources.d.ts +93 -0
- package/Utils/SecurityEvent/LogParsers/CloudAuditResources.js +1363 -0
- package/Utils/SecurityEvent/LogParsers/CloudAuditResources.mjs +26 -0
- package/Utils/SecurityEvent/LogParsers/CloudTrailLogParser.js +3 -0
- package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.js +7 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.mts +5 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.ts +5 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.js +79 -1
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.mjs +4 -0
- package/Utils/SecurityEvent/SecurityRecordReading.d.mts +3 -0
- package/Utils/SecurityEvent/SecurityRecordReading.d.ts +3 -0
- package/Utils/SecurityEvent/SecurityRecordReading.js +21 -0
- package/Utils/SecurityEvent/SecurityRecordReading.mjs +2 -0
- package/Utils/SecurityEvent/SecurityTemplateRecords.js +7 -1
- package/Utils/SecurityEvent/TelemetryScan/TraceSignals.d.mts +1 -0
- package/Utils/SecurityEvent/TelemetryScan/TraceSignals.d.ts +1 -0
- package/Utils/SecurityEvent/TelemetryScan/TraceSignals.js +31 -4
- package/Utils/SecurityEvent/TelemetryScan/TraceSignals.mjs +1 -0
- package/Utils/StateOrder.d.mts +25 -7
- package/Utils/StateOrder.d.ts +25 -7
- package/Utils/StateOrder.js +33 -19
- package/Utils/StateOrder.mjs +1 -0
- package/Utils/Storage/StorageUsage.d.mts +31 -0
- package/Utils/Storage/StorageUsage.d.ts +31 -0
- package/Utils/Storage/StorageUsage.js +179 -0
- package/Utils/Storage/StorageUsage.mjs +10 -0
- package/Utils/Suggestions/CodeFixSuggestion.js +3 -2
- package/Utils/Telemetry/CrossSignalScope.d.mts +6 -1
- package/Utils/Telemetry/CrossSignalScope.d.ts +6 -1
- package/Utils/Telemetry/CrossSignalScope.js +19 -1
- package/Utils/Telemetry/CrossSignalScope.mjs +2 -0
- package/Utils/Telemetry/MetricKitCallStack.d.mts +33 -0
- package/Utils/Telemetry/MetricKitCallStack.d.ts +33 -0
- package/Utils/Telemetry/MetricKitCallStack.js +253 -0
- package/Utils/Telemetry/MetricKitCallStack.mjs +4 -0
- package/Utils/Telemetry/MobileAppFaults.d.mts +14 -1
- package/Utils/Telemetry/MobileAppFaults.d.ts +14 -1
- package/Utils/Telemetry/MobileAppFaults.js +149 -15
- package/Utils/Telemetry/MobileAppFaults.mjs +12 -0
- package/Utils/Telemetry/OtlpAnyValue.d.mts +5 -0
- package/Utils/Telemetry/OtlpAnyValue.d.ts +5 -0
- package/Utils/Telemetry/OtlpAnyValue.js +86 -0
- package/Utils/Telemetry/OtlpAnyValue.mjs +5 -0
- package/Utils/Totp/TotpParameters.d.mts +25 -0
- package/Utils/Totp/TotpParameters.d.ts +25 -0
- package/Utils/Totp/TotpParameters.js +99 -0
- package/Utils/Totp/TotpParameters.mjs +14 -0
- package/Utils/Totp/TotpSecret.d.mts +42 -0
- package/Utils/Totp/TotpSecret.d.ts +42 -0
- package/Utils/Totp/TotpSecret.js +327 -0
- package/Utils/Totp/TotpSecret.mjs +21 -0
- package/Utils/VersionUtil.d.mts +1 -0
- package/Utils/VersionUtil.d.ts +1 -0
- package/Utils/VersionUtil.js +26 -0
- package/package.json +3 -2
|
@@ -1,13 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.REASON_CONSUMERS_BEHIND = exports.REASON_OLDEST_MESSAGE_WAITING = exports.REASON_DDOS = exports.REASON_NO_CONTROLLER = exports.REASON_CLUSTER_RED = exports.REASON_PORT_ALLOCATION_ERRORS = exports.REASON_FIREWALL_HEALTH = exports.REASON_PROBES_FAILING = exports.REASON_AVAILABILITY_LOW = exports.REASON_IO_LIMIT = exports.REASON_PORTS_HIGH = exports.REASON_CAPACITY_HIGH = exports.REASON_SESSIONS_HIGH = exports.REASON_SERVER_LOAD_HIGH = exports.REASON_REQUEST_UNITS_HIGH = exports.REASON_DTU_HIGH = exports.REASON_STORAGE_FULL = exports.REASON_MEMORY_USED = exports.REASON_CPU_HIGH = exports.REASON_THROTTLED = exports.REASON_UNHEALTHY_HOSTS = exports.REASON_INVOCATIONS_FAILED = exports.REASON_REQUESTS_FAILED = exports.REASON_HEALTH_CHECK_FAILING = exports.REASON_TUNNELS_DOWN = exports.REASON_NOT_AVAILABLE = exports.REASON_STATUS_CHECKS_FAILING = exports.CLOUD_STATUS_REPORTING = exports.CLOUD_STATUS_NOT_REPORTING = exports.CLOUD_STATUS_UNHEALTHY = exports.CLOUD_STATUS_DEGRADED = exports.CLOUD_STATUS_HEALTHY = exports.CloudHealthSeverity = exports.CLOUD_HEALTH_CHECK_CRITICAL_PERCENT = exports.APP_SERVICE_HEALTH_CHECK_KEY = exports.CLOUD_BACKLOG_AGE_SECONDS = exports.CLOUD_AVAILABILITY_DOWN_PERCENT = exports.CLOUD_BLOCKED_SHARE_WARNING_PERCENT = exports.CLOUD_BEANSTALK_HEALTH_SEVERE = exports.CLOUD_BEANSTALK_HEALTH_DEGRADED = exports.CLOUD_AVAILABILITY_LOW_PERCENT = exports.CLOUD_STORAGE_USAGE_THRESHOLDS = exports.CLOUD_STORAGE_FULL_PERCENT = exports.CLOUD_STORAGE_HIGH_PERCENT = exports.CLOUD_MEMORY_HIGH_PERCENT = exports.CLOUD_CPU_HIGH_PERCENT = exports.CLOUD_FAILED_SHARE_CRITICAL_PERCENT = exports.CLOUD_FAILED_SHARE_WARNING_PERCENT = exports.CLOUD_HEALTH_MIN_REQUESTS = exports.CLOUD_READINGS_STALE_MS = void 0;
|
|
4
|
+
exports.HEADLINE_MESSAGES_OUT = exports.HEADLINE_MESSAGES_IN = exports.HEADLINE_HEALTHY_BACKENDS = exports.HEADLINE_THROUGHPUT = exports.HEADLINE_TRAFFIC = exports.HEADLINE_FREE_MEMORY = exports.HEADLINE_DISK_WRITE = exports.HEADLINE_DISK_READ = exports.HEADLINE_NETWORK_OUT = exports.HEADLINE_NETWORK_IN = exports.HEADLINE_SERVER_LOAD = exports.HEADLINE_AVAILABILITY = exports.HEADLINE_UNHEALTHY_HOSTS = exports.HEADLINE_OLDEST_MESSAGE = exports.HEADLINE_MESSAGES_WAITING = exports.HEADLINE_DURATION = exports.HEADLINE_RESPONSE_TIME = exports.HEADLINE_LATENCY = exports.HEADLINE_ERRORS = exports.HEADLINE_INVOCATIONS = exports.HEADLINE_REQUESTS = exports.HEADLINE_CONNECTIONS = exports.HEADLINE_FREE_STORAGE = exports.HEADLINE_STORAGE_USED = exports.HEADLINE_MEMORY = exports.HEADLINE_CPU = exports.HEADLINE_INSTALL_OPS_AGENT = exports.HEADLINE_NEEDS_OPS_AGENT_DESCRIPTION = exports.HEADLINE_NEEDS_OPS_AGENT = exports.CLOUD_HEALTH_RULES = exports.GCP_OPS_AGENT_DISK_KEY = exports.GCP_OPS_AGENT_MEMORY_KEY = exports.CLOUD_STORAGE_NOT_REPORTED = exports.CLOUD_DISK_USAGE_INSIDE_GUEST = exports.REASON_RESTARTS = exports.REASON_ENVIRONMENT_HEALTH_SEVERE = exports.REASON_ENVIRONMENT_HEALTH_DEGRADED = exports.REASON_REQUESTS_BLOCKED = exports.REASON_PACKETS_DROPPED_OUTSIDE_RULES = exports.REASON_SHORT_OF_DESIRED_CAPACITY = exports.REASON_UNHEALTHY_ENDPOINTS = exports.REASON_SERVER_ERRORS = exports.REASON_DEAD_LETTERED = exports.REASON_DEADLOCKS = exports.REASON_FAILED_CONNECTIONS = exports.REASON_FAILED_INVOCATIONS = exports.REASON_FAILED_DELIVERIES = exports.REASON_FAILED_RUNS = exports.REASON_FAILED_EXECUTIONS = exports.REASON_DELIVERIES_FAILING = void 0;
|
|
5
|
+
exports.AZURE_HOURLY_READING_HOLD_MS = exports.AZURE_HOURLY_READING_PERIOD_SECONDS = exports.AZURE_FIVE_MINUTE_READING_HOLD_MS = exports.AZURE_FIVE_MINUTE_READING_PERIOD_SECONDS = exports.CLOUD_HEADLINE_READINGS = exports.HEADLINE_DOCUMENTS = exports.HEADLINE_INDEX_SIZE = exports.HEADLINE_DATA_SIZE = exports.HEADLINE_SIGN_INS = exports.HEADLINE_PACKETS_DROPPED = exports.HEADLINE_PACKETS_RECEIVED = exports.HEADLINE_BLOCKED_REQUESTS = exports.HEADLINE_ALLOWED_REQUESTS = exports.HEADLINE_UNHEALTHY_ENDPOINTS = exports.HEADLINE_HEALTHY_ENDPOINTS = exports.HEADLINE_PORTS_USED = exports.HEADLINE_QUEUE_LENGTH = exports.HEADLINE_THROTTLED = exports.HEADLINE_HEALTH = exports.HEADLINE_FAILED_RUNS = exports.HEADLINE_RUNS = exports.HEADLINE_CAPACITY = exports.HEADLINE_INSTANCES = exports.HEADLINE_WRITE_LATENCY = exports.HEADLINE_READ_LATENCY = exports.HEADLINE_WRITE_OPERATIONS = exports.HEADLINE_READ_OPERATIONS = exports.HEADLINE_SESSIONS = exports.HEADLINE_REQUEST_UNITS = exports.HEADLINE_RESTARTS = exports.HEADLINE_PODS_READY = exports.HEADLINE_DEAD_LETTERED = void 0;
|
|
5
6
|
exports.getCloudReadingKey = getCloudReadingKey;
|
|
6
7
|
exports.toCloudDate = toCloudDate;
|
|
7
8
|
exports.readCloudResourceReadings = readCloudResourceReadings;
|
|
8
9
|
exports.formatCloudPercent = formatCloudPercent;
|
|
9
10
|
exports.getCloudBacklogText = getCloudBacklogText;
|
|
11
|
+
exports.getCloudDatabaseStorageUsage = getCloudDatabaseStorageUsage;
|
|
12
|
+
exports.getCloudResourceStorage = getCloudResourceStorage;
|
|
13
|
+
exports.isCloudReadingTheHighestOfItsSeries = isCloudReadingTheHighestOfItsSeries;
|
|
14
|
+
exports.getCloudHeadlineReadingKeys = getCloudHeadlineReadingKeys;
|
|
15
|
+
exports.getCloudHeadlineReadingOf = getCloudHeadlineReadingOf;
|
|
10
16
|
exports.isCloudHeadlineExpected = isCloudHeadlineExpected;
|
|
17
|
+
exports.getCloudReadingHoldMs = getCloudReadingHoldMs;
|
|
18
|
+
exports.withHeldCloudReadings = withHeldCloudReadings;
|
|
19
|
+
exports.getCloudReadingAgeMs = getCloudReadingAgeMs;
|
|
11
20
|
exports.getCloudReadingPeriodSeconds = getCloudReadingPeriodSeconds;
|
|
12
21
|
exports.hasCloudHealthRules = hasCloudHealthRules;
|
|
13
22
|
exports.getCloudHeadlineReadings = getCloudHeadlineReadings;
|
|
@@ -18,6 +27,7 @@ exports.isCloudResourceReporting = isCloudResourceReporting;
|
|
|
18
27
|
exports.hasFreshCloudReadings = hasFreshCloudReadings;
|
|
19
28
|
exports.assessCloudResourceHealth = assessCloudResourceHealth;
|
|
20
29
|
const Translator_1 = require("../Translator");
|
|
30
|
+
const StorageUsage_1 = require("../../Utils/Storage/StorageUsage");
|
|
21
31
|
const CloudKeyMetrics_1 = require("./CloudKeyMetrics");
|
|
22
32
|
const CloudPlatform_1 = require("./CloudPlatform");
|
|
23
33
|
/*
|
|
@@ -42,9 +52,10 @@ const CloudPlatform_1 = require("./CloudPlatform");
|
|
|
42
52
|
* Warning - needs a look soon:
|
|
43
53
|
* unhealthy hosts behind a load balancer, 5% or more of requests
|
|
44
54
|
* failing, throttling, a database or a cache at 95% of its CPU or
|
|
45
|
-
* memory or 90% of its storage,
|
|
46
|
-
*
|
|
47
|
-
*
|
|
55
|
+
* memory or 90% of its storage, a Compute Engine VM at 95% of its
|
|
56
|
+
* memory or 90% of a disk (as its Ops Agent reports them), failed
|
|
57
|
+
* executions, runs, deliveries or connections, dead-lettered messages,
|
|
58
|
+
* a queue whose oldest message waits an hour, availability under 99.9%.
|
|
48
59
|
*
|
|
49
60
|
* What is never a problem by itself: a busy virtual machine (an instance at
|
|
50
61
|
* 100% CPU is doing its work - as on a host, its status checks say when it
|
|
@@ -75,10 +86,40 @@ exports.CLOUD_CPU_HIGH_PERCENT = 95;
|
|
|
75
86
|
exports.CLOUD_MEMORY_HIGH_PERCENT = 95;
|
|
76
87
|
exports.CLOUD_STORAGE_HIGH_PERCENT = 90;
|
|
77
88
|
exports.CLOUD_STORAGE_FULL_PERCENT = 95;
|
|
89
|
+
/*
|
|
90
|
+
* Where a cloud store's bar turns amber and red (StorageUsageBar): the
|
|
91
|
+
* lines above, at them, as the storage rules read them.
|
|
92
|
+
*/
|
|
93
|
+
exports.CLOUD_STORAGE_USAGE_THRESHOLDS = {
|
|
94
|
+
warningPercent: exports.CLOUD_STORAGE_HIGH_PERCENT,
|
|
95
|
+
criticalPercent: exports.CLOUD_STORAGE_FULL_PERCENT,
|
|
96
|
+
};
|
|
78
97
|
exports.CLOUD_AVAILABILITY_LOW_PERCENT = 99.9;
|
|
98
|
+
/*
|
|
99
|
+
* An Elastic Beanstalk environment's EnvironmentHealth, as enhanced health
|
|
100
|
+
* reporting writes it: 0 OK, 1 Info, 5 Unknown, 10 No data, 15 Warning,
|
|
101
|
+
* 20 Degraded, 25 Severe. Degraded is a warning, Severe critical.
|
|
102
|
+
*/
|
|
103
|
+
exports.CLOUD_BEANSTALK_HEALTH_DEGRADED = 20;
|
|
104
|
+
exports.CLOUD_BEANSTALK_HEALTH_SEVERE = 25;
|
|
105
|
+
/*
|
|
106
|
+
* The share of a WAF web ACL's requests it may block before someone looks:
|
|
107
|
+
* half of them is an attack, or a rule turning real users away.
|
|
108
|
+
*/
|
|
109
|
+
exports.CLOUD_BLOCKED_SHARE_WARNING_PERCENT = 50;
|
|
79
110
|
exports.CLOUD_AVAILABILITY_DOWN_PERCENT = 90;
|
|
80
111
|
// A queue's oldest message, or a stream's consumers, this far behind.
|
|
81
112
|
exports.CLOUD_BACKLOG_AGE_SECONDS = 60 * 60;
|
|
113
|
+
/*
|
|
114
|
+
* An App Service app's Health check, as Azure Monitor reports it
|
|
115
|
+
* (HealthCheckStatus): the share of its instances whose health check
|
|
116
|
+
* passes. Under 100 an instance was deemed unhealthy, and is out of the
|
|
117
|
+
* load balancer; under half, App Service keeps unhealthy instances in it
|
|
118
|
+
* (WEBSITE_HEALTHCHECK_MAXUNHEALTHYWORKERPERCENT, 50 by default), so some
|
|
119
|
+
* requests reach one: critical.
|
|
120
|
+
*/
|
|
121
|
+
exports.APP_SERVICE_HEALTH_CHECK_KEY = "healthcheckstatus";
|
|
122
|
+
exports.CLOUD_HEALTH_CHECK_CRITICAL_PERCENT = 50;
|
|
82
123
|
var CloudHealthSeverity;
|
|
83
124
|
(function (CloudHealthSeverity) {
|
|
84
125
|
CloudHealthSeverity["Critical"] = "critical";
|
|
@@ -175,6 +216,21 @@ exports.REASON_SERVER_ERRORS = {
|
|
|
175
216
|
one: (0, Translator_1.translationKey)("{{count}} server error"),
|
|
176
217
|
other: (0, Translator_1.translationKey)("{{count}} server errors"),
|
|
177
218
|
};
|
|
219
|
+
exports.REASON_UNHEALTHY_ENDPOINTS = {
|
|
220
|
+
one: (0, Translator_1.translationKey)("{{count}} unhealthy endpoint"),
|
|
221
|
+
other: (0, Translator_1.translationKey)("{{count}} unhealthy endpoints"),
|
|
222
|
+
};
|
|
223
|
+
exports.REASON_SHORT_OF_DESIRED_CAPACITY = {
|
|
224
|
+
one: (0, Translator_1.translationKey)("{{count}} instance short of desired capacity"),
|
|
225
|
+
other: (0, Translator_1.translationKey)("{{count}} instances short of desired capacity"),
|
|
226
|
+
};
|
|
227
|
+
exports.REASON_PACKETS_DROPPED_OUTSIDE_RULES = {
|
|
228
|
+
one: (0, Translator_1.translationKey)("{{count}} packet dropped outside its rules"),
|
|
229
|
+
other: (0, Translator_1.translationKey)("{{count}} packets dropped outside its rules"),
|
|
230
|
+
};
|
|
231
|
+
exports.REASON_REQUESTS_BLOCKED = (0, Translator_1.translationKey)("{{percent}} of requests blocked");
|
|
232
|
+
exports.REASON_ENVIRONMENT_HEALTH_DEGRADED = (0, Translator_1.translationKey)("Environment health degraded");
|
|
233
|
+
exports.REASON_ENVIRONMENT_HEALTH_SEVERE = (0, Translator_1.translationKey)("Environment health severe");
|
|
178
234
|
exports.REASON_RESTARTS = {
|
|
179
235
|
one: (0, Translator_1.translationKey)("{{count}} restart"),
|
|
180
236
|
other: (0, Translator_1.translationKey)("{{count}} restarts"),
|
|
@@ -482,31 +538,88 @@ function backlogAge(data) {
|
|
|
482
538
|
};
|
|
483
539
|
}
|
|
484
540
|
const RDS_ALLOCATED_STORAGE_PROPERTY = "AllocatedStorage";
|
|
541
|
+
const RDS_FREE_STORAGE_READING = "aws/rds/freestoragespace";
|
|
485
542
|
const GIB = 1024 * 1024 * 1024;
|
|
486
543
|
/*
|
|
487
544
|
* A database's storage, from what is free (FreeStorageSpace, bytes) and
|
|
488
|
-
* what was allocated (the inventory's AllocatedStorage, GiB)
|
|
489
|
-
*
|
|
545
|
+
* what was allocated (the inventory's AllocatedStorage, GiB), as the shared
|
|
546
|
+
* storage reading reads it - the one its page draws (getCloudResourceStorage)
|
|
547
|
+
* and its rule judges. Without both there is nothing to compare.
|
|
548
|
+
*/
|
|
549
|
+
function getCloudDatabaseStorageUsage(data) {
|
|
550
|
+
if (data.freeBytes === null ||
|
|
551
|
+
data.allocatedGib === null ||
|
|
552
|
+
data.allocatedGib <= 0) {
|
|
553
|
+
return null;
|
|
554
|
+
}
|
|
555
|
+
return (0, StorageUsage_1.getStorageUsage)({ capacity: data.allocatedGib * GIB, available: data.freeBytes }, exports.CLOUD_STORAGE_USAGE_THRESHOLDS);
|
|
556
|
+
}
|
|
557
|
+
/*
|
|
558
|
+
* A database's storage past the storage lines. Without the allocation there
|
|
559
|
+
* is nothing to compare with, and nothing is said.
|
|
490
560
|
*/
|
|
491
561
|
function storageFromFreeBytes(key) {
|
|
492
562
|
return {
|
|
493
563
|
readings: [key],
|
|
494
564
|
evaluate: (reader) => {
|
|
495
|
-
const
|
|
496
|
-
|
|
497
|
-
|
|
565
|
+
const usage = getCloudDatabaseStorageUsage({
|
|
566
|
+
freeBytes: reader.value(key),
|
|
567
|
+
allocatedGib: reader.property(RDS_ALLOCATED_STORAGE_PROPERTY),
|
|
568
|
+
});
|
|
569
|
+
if (!usage) {
|
|
498
570
|
return null;
|
|
499
571
|
}
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
return critical(percentText(exports.REASON_STORAGE_FULL, used));
|
|
572
|
+
if (usage.usedPercent >= exports.CLOUD_STORAGE_FULL_PERCENT) {
|
|
573
|
+
return critical(percentText(exports.REASON_STORAGE_FULL, usage.usedPercent));
|
|
503
574
|
}
|
|
504
|
-
return
|
|
505
|
-
? warning(percentText(exports.REASON_STORAGE_FULL,
|
|
575
|
+
return usage.usedPercent >= exports.CLOUD_STORAGE_HIGH_PERCENT
|
|
576
|
+
? warning(percentText(exports.REASON_STORAGE_FULL, usage.usedPercent))
|
|
506
577
|
: null;
|
|
507
578
|
},
|
|
508
579
|
};
|
|
509
580
|
}
|
|
581
|
+
exports.CLOUD_DISK_USAGE_INSIDE_GUEST = (0, Translator_1.translationKey)("How much of it is used is known only inside the machine it is attached to.");
|
|
582
|
+
exports.CLOUD_STORAGE_NOT_REPORTED = (0, Translator_1.translationKey)("Not reported");
|
|
583
|
+
// A disk's size as its inventory keeps it, in GiB, by its type.
|
|
584
|
+
const CLOUD_DISK_SIZE_GIB_PROPERTIES = {
|
|
585
|
+
"AWS::EC2::Volume": "Size",
|
|
586
|
+
"Microsoft.Compute/disks": "diskSizeGB",
|
|
587
|
+
};
|
|
588
|
+
function getCloudResourceStorage(data) {
|
|
589
|
+
var _a, _b;
|
|
590
|
+
if (data.type === "AWS::RDS::DBInstance") {
|
|
591
|
+
const engine = String((data.properties || {})["Engine"] || "");
|
|
592
|
+
if (engine.toLowerCase().startsWith("aurora")) {
|
|
593
|
+
return null;
|
|
594
|
+
}
|
|
595
|
+
const allocatedGib = readProperty(data.properties, RDS_ALLOCATED_STORAGE_PROPERTY);
|
|
596
|
+
if (allocatedGib === null || allocatedGib <= 0) {
|
|
597
|
+
return null;
|
|
598
|
+
}
|
|
599
|
+
const usage = getCloudDatabaseStorageUsage({
|
|
600
|
+
freeBytes: (_b = (_a = data.readings[RDS_FREE_STORAGE_READING]) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : null,
|
|
601
|
+
allocatedGib: allocatedGib,
|
|
602
|
+
});
|
|
603
|
+
return {
|
|
604
|
+
usage: usage,
|
|
605
|
+
capacityBytes: allocatedGib * GIB,
|
|
606
|
+
noUsageText: usage ? undefined : exports.CLOUD_STORAGE_NOT_REPORTED,
|
|
607
|
+
};
|
|
608
|
+
}
|
|
609
|
+
const sizeProperty = CLOUD_DISK_SIZE_GIB_PROPERTIES[data.type];
|
|
610
|
+
if (sizeProperty) {
|
|
611
|
+
const sizeGib = readProperty(data.properties, sizeProperty);
|
|
612
|
+
if (sizeGib === null || sizeGib <= 0) {
|
|
613
|
+
return null;
|
|
614
|
+
}
|
|
615
|
+
return {
|
|
616
|
+
usage: null,
|
|
617
|
+
capacityBytes: sizeGib * GIB,
|
|
618
|
+
noUsageText: exports.CLOUD_DISK_USAGE_INSIDE_GUEST,
|
|
619
|
+
};
|
|
620
|
+
}
|
|
621
|
+
return null;
|
|
622
|
+
}
|
|
510
623
|
function storagePercent(key, scale) {
|
|
511
624
|
return percentAtOrAbove({
|
|
512
625
|
key,
|
|
@@ -543,6 +656,24 @@ function availability(key, reason) {
|
|
|
543
656
|
const AWS = CloudPlatform_1.CloudProvider.AWS;
|
|
544
657
|
const AZURE = CloudPlatform_1.CloudProvider.Azure;
|
|
545
658
|
const GCP = CloudPlatform_1.CloudProvider.GCP;
|
|
659
|
+
/*
|
|
660
|
+
* A Compute Engine VM's memory and disks, as the Ops Agent on it reports
|
|
661
|
+
* them (CloudKeyMetrics): the share of each in use, 0 to 100.
|
|
662
|
+
*/
|
|
663
|
+
exports.GCP_OPS_AGENT_MEMORY_KEY = "agent.googleapis.com/memory/percent_used";
|
|
664
|
+
exports.GCP_OPS_AGENT_DISK_KEY = "agent.googleapis.com/disk/percent_used";
|
|
665
|
+
/*
|
|
666
|
+
* Readings of a metric a resource reports as several series of one time,
|
|
667
|
+
* one for each part of it - the Ops Agent's disk use, a series for each of
|
|
668
|
+
* a VM's disks - that read as the highest of them: the fullest disk is the
|
|
669
|
+
* one its rule judges and its page leads with. Any other metric's reading
|
|
670
|
+
* is its first series of the newest time, or, split by a dimension, their
|
|
671
|
+
* sum (CloudResourceReadings).
|
|
672
|
+
*/
|
|
673
|
+
const CLOUD_READINGS_OF_THEIR_HIGHEST_SERIES = new Set([`${GCP}|${exports.GCP_OPS_AGENT_DISK_KEY}`]);
|
|
674
|
+
function isCloudReadingTheHighestOfItsSeries(provider, key) {
|
|
675
|
+
return CLOUD_READINGS_OF_THEIR_HIGHEST_SERIES.has(`${(provider || "").toLowerCase()}|${(key || "").toLowerCase()}`);
|
|
676
|
+
}
|
|
546
677
|
exports.CLOUD_HEALTH_RULES = [
|
|
547
678
|
// ---- AWS ----------------------------------------------------------------
|
|
548
679
|
{
|
|
@@ -739,7 +870,7 @@ exports.CLOUD_HEALTH_RULES = [
|
|
|
739
870
|
},
|
|
740
871
|
{
|
|
741
872
|
provider: AWS,
|
|
742
|
-
types: ["AWS::ApiGateway::RestApi"
|
|
873
|
+
types: ["AWS::ApiGateway::RestApi"],
|
|
743
874
|
rules: [
|
|
744
875
|
failedShare({
|
|
745
876
|
failures: ["aws/apigateway/5xxerror"],
|
|
@@ -748,6 +879,18 @@ exports.CLOUD_HEALTH_RULES = [
|
|
|
748
879
|
}),
|
|
749
880
|
],
|
|
750
881
|
},
|
|
882
|
+
{
|
|
883
|
+
// An HTTP API counts its server errors as 5xx, a REST API as 5XXError.
|
|
884
|
+
provider: AWS,
|
|
885
|
+
types: ["AWS::ApiGatewayV2::Api"],
|
|
886
|
+
rules: [
|
|
887
|
+
failedShare({
|
|
888
|
+
failures: ["aws/apigateway/5xx"],
|
|
889
|
+
total: "aws/apigateway/count",
|
|
890
|
+
reason: exports.REASON_REQUESTS_FAILED,
|
|
891
|
+
}),
|
|
892
|
+
],
|
|
893
|
+
},
|
|
751
894
|
{
|
|
752
895
|
provider: AWS,
|
|
753
896
|
types: ["AWS::Events::Rule"],
|
|
@@ -767,6 +910,155 @@ exports.CLOUD_HEALTH_RULES = [
|
|
|
767
910
|
failsWhenZero("aws/kafka/activecontrollercount", exports.REASON_NO_CONTROLLER),
|
|
768
911
|
],
|
|
769
912
|
},
|
|
913
|
+
/*
|
|
914
|
+
* The types read since #9567 (#9692): each judged by what its key
|
|
915
|
+
* metrics say of it being well.
|
|
916
|
+
*/
|
|
917
|
+
{
|
|
918
|
+
provider: AWS,
|
|
919
|
+
types: ["AWS::AppRunner::Service"],
|
|
920
|
+
rules: [
|
|
921
|
+
failedShare({
|
|
922
|
+
failures: ["aws/apprunner/5xxstatusresponses"],
|
|
923
|
+
total: "aws/apprunner/requests",
|
|
924
|
+
reason: exports.REASON_REQUESTS_FAILED,
|
|
925
|
+
}),
|
|
926
|
+
],
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
/*
|
|
930
|
+
* An accelerator with no healthy endpoint sends its traffic nowhere; one
|
|
931
|
+
* with some unhealthy sends it to fewer.
|
|
932
|
+
*/
|
|
933
|
+
provider: AWS,
|
|
934
|
+
types: ["AWS::GlobalAccelerator::Accelerator"],
|
|
935
|
+
rules: [
|
|
936
|
+
failsWhenZero("aws/globalaccelerator/healthyendpointcount", exports.REASON_NOT_AVAILABLE),
|
|
937
|
+
warnsOnCount("aws/globalaccelerator/unhealthyendpointcount", exports.REASON_UNHEALTHY_ENDPOINTS),
|
|
938
|
+
],
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
provider: AWS,
|
|
942
|
+
types: ["AWS::ElasticBeanstalk::Environment"],
|
|
943
|
+
rules: [
|
|
944
|
+
{
|
|
945
|
+
readings: ["aws/elasticbeanstalk/environmenthealth"],
|
|
946
|
+
evaluate: (reader) => {
|
|
947
|
+
const health = reader.value("aws/elasticbeanstalk/environmenthealth");
|
|
948
|
+
if (health !== null && health >= exports.CLOUD_BEANSTALK_HEALTH_SEVERE) {
|
|
949
|
+
return critical({ text: exports.REASON_ENVIRONMENT_HEALTH_SEVERE });
|
|
950
|
+
}
|
|
951
|
+
return health !== null && health >= exports.CLOUD_BEANSTALK_HEALTH_DEGRADED
|
|
952
|
+
? warning({ text: exports.REASON_ENVIRONMENT_HEALTH_DEGRADED })
|
|
953
|
+
: null;
|
|
954
|
+
},
|
|
955
|
+
},
|
|
956
|
+
],
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
/*
|
|
960
|
+
* A group with fewer instances in service than it wants, in one period:
|
|
961
|
+
* a whole instance short, so a period half spent launching one is not.
|
|
962
|
+
*/
|
|
963
|
+
provider: AWS,
|
|
964
|
+
types: ["AWS::AutoScaling::AutoScalingGroup"],
|
|
965
|
+
rules: [
|
|
966
|
+
{
|
|
967
|
+
readings: [
|
|
968
|
+
"aws/autoscaling/groupinserviceinstances",
|
|
969
|
+
"aws/autoscaling/groupdesiredcapacity",
|
|
970
|
+
],
|
|
971
|
+
evaluate: (reader) => {
|
|
972
|
+
const desired = reader.value("aws/autoscaling/groupdesiredcapacity");
|
|
973
|
+
const inService = reader.value("aws/autoscaling/groupinserviceinstances");
|
|
974
|
+
if (desired === null || inService === null) {
|
|
975
|
+
return null;
|
|
976
|
+
}
|
|
977
|
+
// Two periods' readings say nothing of each other.
|
|
978
|
+
if (inService > 0 &&
|
|
979
|
+
reader.aligned("aws/autoscaling/groupinserviceinstances", "aws/autoscaling/groupdesiredcapacity") !== inService) {
|
|
980
|
+
return null;
|
|
981
|
+
}
|
|
982
|
+
const short = Math.floor(desired - inService);
|
|
983
|
+
return short >= 1
|
|
984
|
+
? warning(countText(exports.REASON_SHORT_OF_DESIRED_CAPACITY, short))
|
|
985
|
+
: null;
|
|
986
|
+
},
|
|
987
|
+
},
|
|
988
|
+
],
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
/*
|
|
992
|
+
* A web ACL blocking half its requests or more, once it blocked
|
|
993
|
+
* CLOUD_HEALTH_MIN_REQUESTS of them: an attack, or a rule turning real
|
|
994
|
+
* users away - a quiet ACL's few blocked scans are neither. Its requests
|
|
995
|
+
* are what it allowed and what it blocked; each is published only when
|
|
996
|
+
* it is not zero. Its recommended monitor judges the same.
|
|
997
|
+
*/
|
|
998
|
+
provider: AWS,
|
|
999
|
+
types: ["AWS::WAFv2::WebACL"],
|
|
1000
|
+
rules: [
|
|
1001
|
+
{
|
|
1002
|
+
readings: ["aws/wafv2/allowedrequests", "aws/wafv2/blockedrequests"],
|
|
1003
|
+
evaluate: (reader) => {
|
|
1004
|
+
const blocked = reader.value("aws/wafv2/blockedrequests");
|
|
1005
|
+
if (blocked === null) {
|
|
1006
|
+
return null;
|
|
1007
|
+
}
|
|
1008
|
+
const total = blocked +
|
|
1009
|
+
reader.aligned("aws/wafv2/allowedrequests", "aws/wafv2/blockedrequests");
|
|
1010
|
+
if (blocked < exports.CLOUD_HEALTH_MIN_REQUESTS) {
|
|
1011
|
+
return null;
|
|
1012
|
+
}
|
|
1013
|
+
const percent = Math.min(100, (blocked / total) * 100);
|
|
1014
|
+
return percent >= exports.CLOUD_BLOCKED_SHARE_WARNING_PERCENT
|
|
1015
|
+
? warning(percentText(exports.REASON_REQUESTS_BLOCKED, percent))
|
|
1016
|
+
: null;
|
|
1017
|
+
},
|
|
1018
|
+
},
|
|
1019
|
+
],
|
|
1020
|
+
},
|
|
1021
|
+
{
|
|
1022
|
+
// An endpoint's invocations of each production variant, added up.
|
|
1023
|
+
provider: AWS,
|
|
1024
|
+
types: ["AWS::SageMaker::Endpoint"],
|
|
1025
|
+
rules: [
|
|
1026
|
+
failedShare({
|
|
1027
|
+
failures: ["aws/sagemaker/invocation5xxerrors"],
|
|
1028
|
+
total: "aws/sagemaker/invocations",
|
|
1029
|
+
reason: exports.REASON_INVOCATIONS_FAILED,
|
|
1030
|
+
}),
|
|
1031
|
+
],
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
/*
|
|
1035
|
+
* A firewall drops what its rules say to; OtherDroppedPackets are the
|
|
1036
|
+
* packets it dropped for anything else - throttled by traffic it could
|
|
1037
|
+
* not keep up with, among others.
|
|
1038
|
+
*/
|
|
1039
|
+
provider: AWS,
|
|
1040
|
+
types: ["AWS::NetworkFirewall::Firewall"],
|
|
1041
|
+
rules: [
|
|
1042
|
+
warnsOnCount("aws/networkfirewall/otherdroppedpackets", exports.REASON_PACKETS_DROPPED_OUTSIDE_RULES),
|
|
1043
|
+
],
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
// A user pool's sign-ins, token refreshes or sign-ups turned away for its quota.
|
|
1047
|
+
provider: AWS,
|
|
1048
|
+
types: ["AWS::Cognito::UserPool"],
|
|
1049
|
+
rules: [
|
|
1050
|
+
warnsWhenAnyAboveZero([
|
|
1051
|
+
"aws/cognito/signinthrottles",
|
|
1052
|
+
"aws/cognito/tokenrefreshthrottles",
|
|
1053
|
+
"aws/cognito/signupthrottles",
|
|
1054
|
+
], exports.REASON_THROTTLED),
|
|
1055
|
+
],
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
provider: AWS,
|
|
1059
|
+
types: ["AWS::AppSync::GraphQLApi"],
|
|
1060
|
+
rules: [warnsOnCount("aws/appsync/5xxerror", exports.REASON_SERVER_ERRORS)],
|
|
1061
|
+
},
|
|
770
1062
|
// ---- Azure --------------------------------------------------------------
|
|
771
1063
|
{
|
|
772
1064
|
provider: AZURE,
|
|
@@ -782,6 +1074,19 @@ exports.CLOUD_HEALTH_RULES = [
|
|
|
782
1074
|
total: "requests",
|
|
783
1075
|
reason: exports.REASON_REQUESTS_FAILED,
|
|
784
1076
|
}),
|
|
1077
|
+
/*
|
|
1078
|
+
* Its Health check (#9740): the share of its instances whose health
|
|
1079
|
+
* check passes, 100 while all do. Azure counts an instance failing
|
|
1080
|
+
* only once it is deemed unhealthy - by default 10 failed pings, a
|
|
1081
|
+
* minute apart - and takes it out of the load balancer then, up to
|
|
1082
|
+
* half of them: past half, unhealthy instances still take requests.
|
|
1083
|
+
*/
|
|
1084
|
+
percentBelow({
|
|
1085
|
+
key: exports.APP_SERVICE_HEALTH_CHECK_KEY,
|
|
1086
|
+
reason: exports.REASON_HEALTH_CHECK_FAILING,
|
|
1087
|
+
warnBelow: 100,
|
|
1088
|
+
criticalBelow: exports.CLOUD_HEALTH_CHECK_CRITICAL_PERCENT,
|
|
1089
|
+
}),
|
|
785
1090
|
],
|
|
786
1091
|
},
|
|
787
1092
|
{
|
|
@@ -979,6 +1284,19 @@ exports.CLOUD_HEALTH_RULES = [
|
|
|
979
1284
|
rules: [warnsOnCount("pipelinefailedruns", exports.REASON_FAILED_RUNS)],
|
|
980
1285
|
},
|
|
981
1286
|
// ---- Google Cloud -------------------------------------------------------
|
|
1287
|
+
{
|
|
1288
|
+
/*
|
|
1289
|
+
* How full a VM's memory and disks are, which only the Ops Agent on it
|
|
1290
|
+
* reports: a VM without it is not judged by them. Its disks' reading is
|
|
1291
|
+
* the fullest of them (CLOUD_READINGS_OF_THEIR_HIGHEST_SERIES).
|
|
1292
|
+
*/
|
|
1293
|
+
provider: GCP,
|
|
1294
|
+
types: ["gce_instance"],
|
|
1295
|
+
rules: [
|
|
1296
|
+
memoryHigh(exports.GCP_OPS_AGENT_MEMORY_KEY),
|
|
1297
|
+
storagePercent(exports.GCP_OPS_AGENT_DISK_KEY),
|
|
1298
|
+
],
|
|
1299
|
+
},
|
|
982
1300
|
{
|
|
983
1301
|
provider: GCP,
|
|
984
1302
|
types: ["cloudsql_database"],
|
|
@@ -1018,9 +1336,32 @@ exports.CLOUD_HEALTH_RULES = [
|
|
|
1018
1336
|
},
|
|
1019
1337
|
];
|
|
1020
1338
|
function headline(key, label, format, options = {}) {
|
|
1021
|
-
return
|
|
1022
|
-
|
|
1023
|
-
|
|
1339
|
+
return {
|
|
1340
|
+
key,
|
|
1341
|
+
label,
|
|
1342
|
+
format,
|
|
1343
|
+
...(options.onlySome ? { onlySome: true } : {}),
|
|
1344
|
+
...(options.fallbackKeys ? { fallbackKeys: options.fallbackKeys } : {}),
|
|
1345
|
+
...(options.needs ? { needs: options.needs } : {}),
|
|
1346
|
+
};
|
|
1347
|
+
}
|
|
1348
|
+
// The keys a headline reads, in order: its own, then its fallbacks.
|
|
1349
|
+
function getCloudHeadlineReadingKeys(headlineReading) {
|
|
1350
|
+
return [headlineReading.key, ...(headlineReading.fallbackKeys || [])];
|
|
1351
|
+
}
|
|
1352
|
+
/*
|
|
1353
|
+
* The reading a headline shows of a resource's readings, and its key: the
|
|
1354
|
+
* first of its keys the resource has (getCloudHeadlineReadingKeys). Null when it
|
|
1355
|
+
* has none of them.
|
|
1356
|
+
*/
|
|
1357
|
+
function getCloudHeadlineReadingOf(headlineReading, readings) {
|
|
1358
|
+
for (const key of getCloudHeadlineReadingKeys(headlineReading)) {
|
|
1359
|
+
const reading = readings[key];
|
|
1360
|
+
if (reading) {
|
|
1361
|
+
return { key, reading };
|
|
1362
|
+
}
|
|
1363
|
+
}
|
|
1364
|
+
return null;
|
|
1024
1365
|
}
|
|
1025
1366
|
/*
|
|
1026
1367
|
* The formats of a level - how much, how many, how long, right now - which
|
|
@@ -1044,6 +1385,18 @@ const CLOUD_LEVEL_FORMATS = new Set([
|
|
|
1044
1385
|
function isCloudHeadlineExpected(headline) {
|
|
1045
1386
|
return !headline.onlySome && CLOUD_LEVEL_FORMATS.has(headline.format);
|
|
1046
1387
|
}
|
|
1388
|
+
/*
|
|
1389
|
+
* A VM's memory and disk use, which Google Cloud reads only from the Ops
|
|
1390
|
+
* Agent on the VM: what its tiles say while the last read brought neither.
|
|
1391
|
+
*/
|
|
1392
|
+
exports.HEADLINE_NEEDS_OPS_AGENT = (0, Translator_1.translationKey)("Needs the Ops Agent");
|
|
1393
|
+
exports.HEADLINE_NEEDS_OPS_AGENT_DESCRIPTION = (0, Translator_1.translationKey)("Google Cloud reads a VM's memory and disk use only from the Ops Agent on it. Once the agent runs, they show here within an hour.");
|
|
1394
|
+
exports.HEADLINE_INSTALL_OPS_AGENT = (0, Translator_1.translationKey)("Install the Ops Agent");
|
|
1395
|
+
const NEEDS_OPS_AGENT = {
|
|
1396
|
+
note: exports.HEADLINE_NEEDS_OPS_AGENT,
|
|
1397
|
+
description: exports.HEADLINE_NEEDS_OPS_AGENT_DESCRIPTION,
|
|
1398
|
+
link: { url: CloudKeyMetrics_1.GCP_OPS_AGENT_INSTALL_URL, label: exports.HEADLINE_INSTALL_OPS_AGENT },
|
|
1399
|
+
};
|
|
1047
1400
|
exports.HEADLINE_CPU = (0, Translator_1.translationKey)("CPU");
|
|
1048
1401
|
exports.HEADLINE_MEMORY = (0, Translator_1.translationKey)("Memory");
|
|
1049
1402
|
exports.HEADLINE_STORAGE_USED = (0, Translator_1.translationKey)("Storage used");
|
|
@@ -1087,6 +1440,17 @@ exports.HEADLINE_HEALTH = (0, Translator_1.translationKey)("Health");
|
|
|
1087
1440
|
exports.HEADLINE_THROTTLED = (0, Translator_1.translationKey)("Throttled");
|
|
1088
1441
|
exports.HEADLINE_QUEUE_LENGTH = (0, Translator_1.translationKey)("Queue length");
|
|
1089
1442
|
exports.HEADLINE_PORTS_USED = (0, Translator_1.translationKey)("Outbound ports used");
|
|
1443
|
+
exports.HEADLINE_HEALTHY_ENDPOINTS = (0, Translator_1.translationKey)("Healthy endpoints");
|
|
1444
|
+
exports.HEADLINE_UNHEALTHY_ENDPOINTS = (0, Translator_1.translationKey)("Unhealthy endpoints");
|
|
1445
|
+
exports.HEADLINE_ALLOWED_REQUESTS = (0, Translator_1.translationKey)("Allowed requests");
|
|
1446
|
+
exports.HEADLINE_BLOCKED_REQUESTS = (0, Translator_1.translationKey)("Blocked requests");
|
|
1447
|
+
exports.HEADLINE_PACKETS_RECEIVED = (0, Translator_1.translationKey)("Packets received");
|
|
1448
|
+
exports.HEADLINE_PACKETS_DROPPED = (0, Translator_1.translationKey)("Packets dropped");
|
|
1449
|
+
exports.HEADLINE_SIGN_INS = (0, Translator_1.translationKey)("Sign-ins");
|
|
1450
|
+
// A Cosmos DB account's storage: its data, its indexes, its documents.
|
|
1451
|
+
exports.HEADLINE_DATA_SIZE = (0, Translator_1.translationKey)("Data size");
|
|
1452
|
+
exports.HEADLINE_INDEX_SIZE = (0, Translator_1.translationKey)("Index size");
|
|
1453
|
+
exports.HEADLINE_DOCUMENTS = (0, Translator_1.translationKey)("Documents");
|
|
1090
1454
|
/*
|
|
1091
1455
|
* What each type's page leads with, in the order its tiles are drawn: what
|
|
1092
1456
|
* a person reads first about one of its kind - a machine's CPU, memory,
|
|
@@ -1256,13 +1620,23 @@ exports.CLOUD_HEADLINE_READINGS = [
|
|
|
1256
1620
|
},
|
|
1257
1621
|
{
|
|
1258
1622
|
provider: AWS,
|
|
1259
|
-
types: ["AWS::ApiGateway::RestApi"
|
|
1623
|
+
types: ["AWS::ApiGateway::RestApi"],
|
|
1260
1624
|
readings: [
|
|
1261
1625
|
headline("aws/apigateway/count", exports.HEADLINE_REQUESTS, "perPeriod"),
|
|
1262
1626
|
headline("aws/apigateway/latency", exports.HEADLINE_LATENCY, "milliseconds"),
|
|
1263
1627
|
headline("aws/apigateway/5xxerror", exports.HEADLINE_ERRORS, "perPeriod"),
|
|
1264
1628
|
],
|
|
1265
1629
|
},
|
|
1630
|
+
{
|
|
1631
|
+
// An HTTP API's server errors are its 5xx.
|
|
1632
|
+
provider: AWS,
|
|
1633
|
+
types: ["AWS::ApiGatewayV2::Api"],
|
|
1634
|
+
readings: [
|
|
1635
|
+
headline("aws/apigateway/count", exports.HEADLINE_REQUESTS, "perPeriod"),
|
|
1636
|
+
headline("aws/apigateway/latency", exports.HEADLINE_LATENCY, "milliseconds"),
|
|
1637
|
+
headline("aws/apigateway/5xx", exports.HEADLINE_ERRORS, "perPeriod"),
|
|
1638
|
+
],
|
|
1639
|
+
},
|
|
1266
1640
|
{
|
|
1267
1641
|
provider: AWS,
|
|
1268
1642
|
types: ["AWS::AmazonMQ::Broker"],
|
|
@@ -1270,6 +1644,81 @@ exports.CLOUD_HEADLINE_READINGS = [
|
|
|
1270
1644
|
headline("aws/amazonmq/cpuutilization", exports.HEADLINE_CPU, "percent"),
|
|
1271
1645
|
],
|
|
1272
1646
|
},
|
|
1647
|
+
/*
|
|
1648
|
+
* The types read since #9567 (#9692). An Elastic Beanstalk
|
|
1649
|
+
* environment's one free metric is a health code (0 OK to 25 Severe),
|
|
1650
|
+
* which its page's status already says in words: it has no tile.
|
|
1651
|
+
*/
|
|
1652
|
+
{
|
|
1653
|
+
provider: AWS,
|
|
1654
|
+
types: ["AWS::AppRunner::Service"],
|
|
1655
|
+
readings: [
|
|
1656
|
+
headline("aws/apprunner/requests", exports.HEADLINE_REQUESTS, "perPeriod"),
|
|
1657
|
+
headline("aws/apprunner/requestlatency", exports.HEADLINE_RESPONSE_TIME, "milliseconds"),
|
|
1658
|
+
headline("aws/apprunner/5xxstatusresponses", exports.HEADLINE_ERRORS, "perPeriod"),
|
|
1659
|
+
headline("aws/apprunner/cpuutilization", exports.HEADLINE_CPU, "percent"),
|
|
1660
|
+
headline("aws/apprunner/memoryutilization", exports.HEADLINE_MEMORY, "percent"),
|
|
1661
|
+
],
|
|
1662
|
+
},
|
|
1663
|
+
{
|
|
1664
|
+
provider: AWS,
|
|
1665
|
+
types: ["AWS::GlobalAccelerator::Accelerator"],
|
|
1666
|
+
readings: [
|
|
1667
|
+
headline("aws/globalaccelerator/healthyendpointcount", exports.HEADLINE_HEALTHY_ENDPOINTS, "count"),
|
|
1668
|
+
headline("aws/globalaccelerator/unhealthyendpointcount", exports.HEADLINE_UNHEALTHY_ENDPOINTS, "count"),
|
|
1669
|
+
headline("aws/globalaccelerator/newflowcount", exports.HEADLINE_CONNECTIONS, "perPeriod"),
|
|
1670
|
+
headline("aws/globalaccelerator/processedbytesin", exports.HEADLINE_NETWORK_IN, "bytesPerPeriod"),
|
|
1671
|
+
headline("aws/globalaccelerator/processedbytesout", exports.HEADLINE_NETWORK_OUT, "bytesPerPeriod"),
|
|
1672
|
+
],
|
|
1673
|
+
},
|
|
1674
|
+
{
|
|
1675
|
+
provider: AWS,
|
|
1676
|
+
types: ["AWS::AutoScaling::AutoScalingGroup"],
|
|
1677
|
+
readings: [
|
|
1678
|
+
headline("aws/autoscaling/groupinserviceinstances", exports.HEADLINE_INSTANCES, "count"),
|
|
1679
|
+
headline("aws/autoscaling/groupdesiredcapacity", exports.HEADLINE_CAPACITY, "count"),
|
|
1680
|
+
],
|
|
1681
|
+
},
|
|
1682
|
+
{
|
|
1683
|
+
provider: AWS,
|
|
1684
|
+
types: ["AWS::WAFv2::WebACL"],
|
|
1685
|
+
readings: [
|
|
1686
|
+
headline("aws/wafv2/allowedrequests", exports.HEADLINE_ALLOWED_REQUESTS, "perPeriod"),
|
|
1687
|
+
headline("aws/wafv2/blockedrequests", exports.HEADLINE_BLOCKED_REQUESTS, "perPeriod"),
|
|
1688
|
+
],
|
|
1689
|
+
},
|
|
1690
|
+
{
|
|
1691
|
+
provider: AWS,
|
|
1692
|
+
types: ["AWS::SageMaker::Endpoint"],
|
|
1693
|
+
readings: [
|
|
1694
|
+
headline("aws/sagemaker/invocations", exports.HEADLINE_INVOCATIONS, "perPeriod"),
|
|
1695
|
+
headline("aws/sagemaker/invocation5xxerrors", exports.HEADLINE_ERRORS, "perPeriod"),
|
|
1696
|
+
],
|
|
1697
|
+
},
|
|
1698
|
+
{
|
|
1699
|
+
provider: AWS,
|
|
1700
|
+
types: ["AWS::NetworkFirewall::Firewall"],
|
|
1701
|
+
readings: [
|
|
1702
|
+
headline("aws/networkfirewall/receivedpackets", exports.HEADLINE_PACKETS_RECEIVED, "perPeriod"),
|
|
1703
|
+
headline("aws/networkfirewall/droppedpackets", exports.HEADLINE_PACKETS_DROPPED, "perPeriod"),
|
|
1704
|
+
],
|
|
1705
|
+
},
|
|
1706
|
+
{
|
|
1707
|
+
provider: AWS,
|
|
1708
|
+
types: ["AWS::Cognito::UserPool"],
|
|
1709
|
+
readings: [
|
|
1710
|
+
headline("aws/cognito/signinsuccesses", exports.HEADLINE_SIGN_INS, "perPeriod"),
|
|
1711
|
+
headline("aws/cognito/signinthrottles", exports.HEADLINE_THROTTLED, "perPeriod"),
|
|
1712
|
+
],
|
|
1713
|
+
},
|
|
1714
|
+
{
|
|
1715
|
+
provider: AWS,
|
|
1716
|
+
types: ["AWS::AppSync::GraphQLApi"],
|
|
1717
|
+
readings: [
|
|
1718
|
+
headline("aws/appsync/latency", exports.HEADLINE_LATENCY, "milliseconds"),
|
|
1719
|
+
headline("aws/appsync/5xxerror", exports.HEADLINE_ERRORS, "perPeriod"),
|
|
1720
|
+
],
|
|
1721
|
+
},
|
|
1273
1722
|
// ---- Azure ------------------------------------------------------------
|
|
1274
1723
|
{
|
|
1275
1724
|
provider: AZURE,
|
|
@@ -1312,6 +1761,14 @@ exports.CLOUD_HEADLINE_READINGS = [
|
|
|
1312
1761
|
headline("requests", exports.HEADLINE_REQUESTS, "count"),
|
|
1313
1762
|
headline("httpresponsetime", exports.HEADLINE_RESPONSE_TIME, "seconds"),
|
|
1314
1763
|
headline("http5xx", exports.HEADLINE_ERRORS, "perPeriod"),
|
|
1764
|
+
/*
|
|
1765
|
+
* The share of its instances its Health check finds healthy, every
|
|
1766
|
+
* 5 minutes (#9740). Only an app with a Health check path set
|
|
1767
|
+
* reports it.
|
|
1768
|
+
*/
|
|
1769
|
+
headline(exports.APP_SERVICE_HEALTH_CHECK_KEY, exports.HEADLINE_HEALTH, "percent", {
|
|
1770
|
+
onlySome: true,
|
|
1771
|
+
}),
|
|
1315
1772
|
headline("memoryworkingset", exports.HEADLINE_MEMORY, "bytes"),
|
|
1316
1773
|
// Only a function app runs functions.
|
|
1317
1774
|
headline("functionexecutioncount", exports.HEADLINE_INVOCATIONS, "perPeriod", {
|
|
@@ -1379,9 +1836,27 @@ exports.CLOUD_HEADLINE_READINGS = [
|
|
|
1379
1836
|
provider: AZURE,
|
|
1380
1837
|
types: ["Microsoft.DocumentDB/databaseAccounts"],
|
|
1381
1838
|
readings: [
|
|
1839
|
+
/*
|
|
1840
|
+
* What it stores, first (#9740): its data, its indexes and its
|
|
1841
|
+
* documents, every container's together - DataUsageV2, IndexUsageV2
|
|
1842
|
+
* and DocumentCountV2, which Azure Monitor keeps at five minutes,
|
|
1843
|
+
* kept between their reads.
|
|
1844
|
+
*/
|
|
1845
|
+
headline("datausagev2", exports.HEADLINE_DATA_SIZE, "bytes"),
|
|
1846
|
+
headline("indexusagev2", exports.HEADLINE_INDEX_SIZE, "bytes"),
|
|
1847
|
+
headline("documentcountv2", exports.HEADLINE_DOCUMENTS, "count"),
|
|
1382
1848
|
headline("totalrequests", exports.HEADLINE_REQUESTS, "perPeriod"),
|
|
1383
1849
|
headline("normalizedruconsumption", exports.HEADLINE_REQUEST_UNITS, "percent"),
|
|
1384
|
-
|
|
1850
|
+
/*
|
|
1851
|
+
* The server's latency of its direct-mode requests - the API for
|
|
1852
|
+
* NoSQL's and Table's SDKs connect directly by default - else of its
|
|
1853
|
+
* gateway-mode ones, the only way MongoDB, Cassandra and Gremlin
|
|
1854
|
+
* clients connect. ServerSideLatency, which Microsoft deprecates
|
|
1855
|
+
* for these two, is no longer read for it.
|
|
1856
|
+
*/
|
|
1857
|
+
headline("serversidelatencydirect", exports.HEADLINE_LATENCY, "milliseconds", {
|
|
1858
|
+
fallbackKeys: ["serversidelatencygateway"],
|
|
1859
|
+
}),
|
|
1385
1860
|
],
|
|
1386
1861
|
},
|
|
1387
1862
|
{
|
|
@@ -1400,10 +1875,11 @@ exports.CLOUD_HEADLINE_READINGS = [
|
|
|
1400
1875
|
headline("availability", exports.HEADLINE_AVAILABILITY, "percent"),
|
|
1401
1876
|
headline("transactions", exports.HEADLINE_REQUESTS, "perPeriod"),
|
|
1402
1877
|
headline("successe2elatency", exports.HEADLINE_LATENCY, "milliseconds"),
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1878
|
+
/*
|
|
1879
|
+
* Kept at an hour at its finest, and read once an hour: held
|
|
1880
|
+
* between those reads, its tile says how old it is (#9982).
|
|
1881
|
+
*/
|
|
1882
|
+
headline("usedcapacity", exports.HEADLINE_STORAGE_USED, "bytes"),
|
|
1407
1883
|
],
|
|
1408
1884
|
},
|
|
1409
1885
|
{
|
|
@@ -1523,6 +1999,16 @@ exports.CLOUD_HEADLINE_READINGS = [
|
|
|
1523
1999
|
types: ["gce_instance"],
|
|
1524
2000
|
readings: [
|
|
1525
2001
|
headline("compute.googleapis.com/instance/cpu/utilization", exports.HEADLINE_CPU, "ratio"),
|
|
2002
|
+
/*
|
|
2003
|
+
* How full its memory and its fullest disk are, from the Ops Agent
|
|
2004
|
+
* on it: a VM without the agent says so in their tiles.
|
|
2005
|
+
*/
|
|
2006
|
+
headline(exports.GCP_OPS_AGENT_MEMORY_KEY, exports.HEADLINE_MEMORY, "percent", {
|
|
2007
|
+
needs: NEEDS_OPS_AGENT,
|
|
2008
|
+
}),
|
|
2009
|
+
headline(exports.GCP_OPS_AGENT_DISK_KEY, exports.HEADLINE_STORAGE_USED, "percent", {
|
|
2010
|
+
needs: NEEDS_OPS_AGENT,
|
|
2011
|
+
}),
|
|
1526
2012
|
headline("compute.googleapis.com/instance/network/received_bytes_count", exports.HEADLINE_NETWORK_IN, "bytesPerSecond"),
|
|
1527
2013
|
headline("compute.googleapis.com/instance/network/sent_bytes_count", exports.HEADLINE_NETWORK_OUT, "bytesPerSecond"),
|
|
1528
2014
|
],
|
|
@@ -1582,7 +2068,12 @@ exports.CLOUD_HEADLINE_READINGS = [
|
|
|
1582
2068
|
provider: GCP,
|
|
1583
2069
|
types: ["pubsub_topic"],
|
|
1584
2070
|
readings: [
|
|
1585
|
-
|
|
2071
|
+
/*
|
|
2072
|
+
* The messages published, each minute: the count of the topic's
|
|
2073
|
+
* message sizes, as Google says to count them now that it
|
|
2074
|
+
* deprecates topic/send_message_operation_count.
|
|
2075
|
+
*/
|
|
2076
|
+
headline("pubsub.googleapis.com/topic/message_sizes_count", exports.HEADLINE_MESSAGES_IN, "perPeriod"),
|
|
1586
2077
|
],
|
|
1587
2078
|
},
|
|
1588
2079
|
{
|
|
@@ -1636,16 +2127,161 @@ const HEADLINES_BY_TYPE = (() => {
|
|
|
1636
2127
|
}
|
|
1637
2128
|
return map;
|
|
1638
2129
|
})();
|
|
2130
|
+
/*
|
|
2131
|
+
* ---------------------------------------------------------------------------
|
|
2132
|
+
* Readings read less often than every read (#9740)
|
|
2133
|
+
* ---------------------------------------------------------------------------
|
|
2134
|
+
*
|
|
2135
|
+
* A resource's readings are what its last read brought (CloudResourceReadings).
|
|
2136
|
+
* An Azure key metric Azure Monitor keeps at five minutes (AzureKeyMetric.
|
|
2137
|
+
* grain: an App Service app's health check, a Cosmos DB account's storage)
|
|
2138
|
+
* is read in a call of its own every AZURE_FIVE_MINUTE_READ_MINUTES - in one
|
|
2139
|
+
* read of three - and one it keeps at an hour (a Storage account's used
|
|
2140
|
+
* capacity, #9982) once an hour, so its reading, and a rule or a tile that
|
|
2141
|
+
* reads it, would come and go. A read that brings no value of such a
|
|
2142
|
+
* reading keeps the one before while its datapoint is younger than the
|
|
2143
|
+
* reading's hold, and drops it after, so a metric that stops still goes
|
|
2144
|
+
* stale; the resource's page says how old it is. A reading every read
|
|
2145
|
+
* brings is never kept: a read that did not bring it says something
|
|
2146
|
+
* (CloudHeadlineTiles' "Not reported").
|
|
2147
|
+
*/
|
|
2148
|
+
// Azure Monitor's five-minute grain, as seconds a point covers.
|
|
2149
|
+
exports.AZURE_FIVE_MINUTE_READING_PERIOD_SECONDS = 5 * 60;
|
|
2150
|
+
/*
|
|
2151
|
+
* How long a five-minute reading is kept: twice the 15 minutes between its
|
|
2152
|
+
* calls, and the 10 minutes its newest point is old when it is read. A
|
|
2153
|
+
* call reads once its window holds 15 minutes, so a connection read every
|
|
2154
|
+
* 5 or 15 minutes brings it every 15, one read every 10 every 20 minutes;
|
|
2155
|
+
* its newest point is 9 to 14 minutes old when it is read (Azure Monitor's
|
|
2156
|
+
* 4 minutes behind, on a whole period), so up to 34 minutes old before the
|
|
2157
|
+
* next call. Under CLOUD_READINGS_STALE_MS: a kept reading never outlives
|
|
2158
|
+
* the resource's readings.
|
|
2159
|
+
*/
|
|
2160
|
+
exports.AZURE_FIVE_MINUTE_READING_HOLD_MS = (2 * CloudKeyMetrics_1.AZURE_FIVE_MINUTE_READ_MINUTES + 10) * 60 * 1000;
|
|
2161
|
+
// Azure Monitor's hourly grain, as seconds a point covers.
|
|
2162
|
+
exports.AZURE_HOURLY_READING_PERIOD_SECONDS = 60 * 60;
|
|
2163
|
+
/*
|
|
2164
|
+
* How long an hourly reading is kept (#9982), by its datapoint's age. An
|
|
2165
|
+
* hour's point is asked for once the hour after it has passed
|
|
2166
|
+
* (CloudMetricWindows: an hourly window waits a whole period for Azure
|
|
2167
|
+
* Monitor to publish it), so it is 2 hours old when it is read, and the
|
|
2168
|
+
* next one comes an hour later, at the first read after it is there: up
|
|
2169
|
+
* to 3 hours old then, plus the minutes between two reads of the
|
|
2170
|
+
* connection - an hour at most. A bound of its own beside
|
|
2171
|
+
* CLOUD_READINGS_STALE_MS, which says when a resource's readings as a whole
|
|
2172
|
+
* are too old: a storage account's other readings come every read. One
|
|
2173
|
+
* that stops coming is dropped after it, so its tile says "Not reported".
|
|
2174
|
+
*/
|
|
2175
|
+
exports.AZURE_HOURLY_READING_HOLD_MS = 4 * 60 * 60 * 1000;
|
|
2176
|
+
const SLOW_GRAINS = new Map([
|
|
2177
|
+
[
|
|
2178
|
+
CloudKeyMetrics_1.AZURE_FIVE_MINUTE_GRAIN,
|
|
2179
|
+
{
|
|
2180
|
+
holdMs: exports.AZURE_FIVE_MINUTE_READING_HOLD_MS,
|
|
2181
|
+
periodSeconds: exports.AZURE_FIVE_MINUTE_READING_PERIOD_SECONDS,
|
|
2182
|
+
},
|
|
2183
|
+
],
|
|
2184
|
+
[
|
|
2185
|
+
CloudKeyMetrics_1.AZURE_HOURLY_GRAIN,
|
|
2186
|
+
{
|
|
2187
|
+
holdMs: exports.AZURE_HOURLY_READING_HOLD_MS,
|
|
2188
|
+
periodSeconds: exports.AZURE_HOURLY_READING_PERIOD_SECONDS,
|
|
2189
|
+
},
|
|
2190
|
+
],
|
|
2191
|
+
]);
|
|
2192
|
+
// "<provider>|<type>|<reading key>" of every reading read less often than every read.
|
|
2193
|
+
const SLOW_READINGS = (() => {
|
|
2194
|
+
const slow = new Map();
|
|
2195
|
+
for (const entry of CloudKeyMetrics_1.AZURE_KEY_METRICS) {
|
|
2196
|
+
for (const metric of entry.metrics) {
|
|
2197
|
+
const reading = metric.grain
|
|
2198
|
+
? SLOW_GRAINS.get(metric.grain)
|
|
2199
|
+
: undefined;
|
|
2200
|
+
if (!reading) {
|
|
2201
|
+
continue;
|
|
2202
|
+
}
|
|
2203
|
+
// Its key leaves its aggregation out, so any one makes it.
|
|
2204
|
+
const key = getCloudReadingKey(CloudPlatform_1.CloudProvider.Azure, (0, CloudKeyMetrics_1.getAzureStoredMetricName)(metric.name, "average"));
|
|
2205
|
+
if (key) {
|
|
2206
|
+
slow.set(`${typeKey(CloudPlatform_1.CloudProvider.Azure, entry.type)}|${key}`, reading);
|
|
2207
|
+
}
|
|
2208
|
+
}
|
|
2209
|
+
}
|
|
2210
|
+
return slow;
|
|
2211
|
+
})();
|
|
2212
|
+
function getSlowCloudReading(data) {
|
|
2213
|
+
return SLOW_READINGS.get(`${typeKey(data.provider, data.type)}|${(data.key || "").toLowerCase()}`);
|
|
2214
|
+
}
|
|
2215
|
+
function isSlowCloudReading(data) {
|
|
2216
|
+
return Boolean(getSlowCloudReading(data));
|
|
2217
|
+
}
|
|
2218
|
+
/*
|
|
2219
|
+
* How long a reading is kept after the last read that brought it, by its
|
|
2220
|
+
* datapoint's age: AZURE_FIVE_MINUTE_READING_HOLD_MS for an Azure key metric
|
|
2221
|
+
* read at five minutes, AZURE_HOURLY_READING_HOLD_MS for one read once an
|
|
2222
|
+
* hour, null for a reading every read brings.
|
|
2223
|
+
*/
|
|
2224
|
+
function getCloudReadingHoldMs(data) {
|
|
2225
|
+
var _a, _b;
|
|
2226
|
+
return (_b = (_a = getSlowCloudReading(data)) === null || _a === void 0 ? void 0 : _a.holdMs) !== null && _b !== void 0 ? _b : null;
|
|
2227
|
+
}
|
|
2228
|
+
/*
|
|
2229
|
+
* A resource's readings as a read writes them: what the read brought, and of
|
|
2230
|
+
* the readings it had, each one read less often than every read that this
|
|
2231
|
+
* read did not bring, while its datapoint is younger than its hold - with
|
|
2232
|
+
* its own time, so its page says how old it is. Of a reading both have, the
|
|
2233
|
+
* newer.
|
|
2234
|
+
*/
|
|
2235
|
+
function withHeldCloudReadings(data) {
|
|
2236
|
+
const readings = { ...data.current };
|
|
2237
|
+
for (const [key, reading] of Object.entries(data.previous)) {
|
|
2238
|
+
const holdMs = getCloudReadingHoldMs({
|
|
2239
|
+
provider: data.provider,
|
|
2240
|
+
type: data.type,
|
|
2241
|
+
key,
|
|
2242
|
+
});
|
|
2243
|
+
const timeMs = Date.parse(reading.time);
|
|
2244
|
+
if (holdMs === null || !Number.isFinite(timeMs)) {
|
|
2245
|
+
continue;
|
|
2246
|
+
}
|
|
2247
|
+
const known = readings[key];
|
|
2248
|
+
if (known) {
|
|
2249
|
+
// A read's own reading stands, unless the one kept is newer.
|
|
2250
|
+
if (Date.parse(known.time) < timeMs) {
|
|
2251
|
+
readings[key] = reading;
|
|
2252
|
+
}
|
|
2253
|
+
continue;
|
|
2254
|
+
}
|
|
2255
|
+
if (data.now.getTime() - timeMs < holdMs) {
|
|
2256
|
+
readings[key] = reading;
|
|
2257
|
+
}
|
|
2258
|
+
}
|
|
2259
|
+
return readings;
|
|
2260
|
+
}
|
|
2261
|
+
/*
|
|
2262
|
+
* How old a reading read less often than every read is, for its page to
|
|
2263
|
+
* say: null for one every read brings, whose age is the read's.
|
|
2264
|
+
*/
|
|
2265
|
+
function getCloudReadingAgeMs(data) {
|
|
2266
|
+
const timeMs = Date.parse(data.reading.time);
|
|
2267
|
+
if (!isSlowCloudReading(data) || !Number.isFinite(timeMs)) {
|
|
2268
|
+
return null;
|
|
2269
|
+
}
|
|
2270
|
+
return Math.max(0, data.now.getTime() - timeMs);
|
|
2271
|
+
}
|
|
1639
2272
|
/*
|
|
1640
2273
|
* The seconds one datapoint of a reading covers: the period its metric is
|
|
1641
2274
|
* read at (CloudKeyMetrics) - five minutes for most of CloudWatch's, a day
|
|
1642
|
-
* for S3's storage, a minute on Google Cloud and Azure
|
|
1643
|
-
*
|
|
2275
|
+
* for S3's storage, a minute on Google Cloud and Azure, but five for an
|
|
2276
|
+
* Azure key metric read at five minutes (with its resource's type). A sum
|
|
2277
|
+
* over that period is drawn per minute.
|
|
1644
2278
|
*/
|
|
1645
|
-
function getCloudReadingPeriodSeconds(provider, key) {
|
|
1646
|
-
var _a;
|
|
2279
|
+
function getCloudReadingPeriodSeconds(provider, key, type) {
|
|
2280
|
+
var _a, _b;
|
|
1647
2281
|
if ((provider || "").toLowerCase() !== CloudPlatform_1.CloudProvider.AWS) {
|
|
1648
|
-
return
|
|
2282
|
+
return ((type
|
|
2283
|
+
? (_a = getSlowCloudReading({ provider, type, key })) === null || _a === void 0 ? void 0 : _a.periodSeconds
|
|
2284
|
+
: undefined) || CloudKeyMetrics_1.GCP_ALIGNMENT_PERIOD_SECONDS);
|
|
1649
2285
|
}
|
|
1650
2286
|
const parts = (key || "").split("/");
|
|
1651
2287
|
if (parts.length < 3) {
|
|
@@ -1653,7 +2289,7 @@ function getCloudReadingPeriodSeconds(provider, key) {
|
|
|
1653
2289
|
}
|
|
1654
2290
|
const namespace = `${parts[0]}/${parts[1]}`;
|
|
1655
2291
|
const metricName = parts.slice(2).join("/");
|
|
1656
|
-
const metric = (
|
|
2292
|
+
const metric = (_b = (0, CloudKeyMetrics_1.getAwsKeyMetrics)(namespace)) === null || _b === void 0 ? void 0 : _b.metrics.find((candidate) => {
|
|
1657
2293
|
return candidate.metricName.toLowerCase() === metricName;
|
|
1658
2294
|
});
|
|
1659
2295
|
return (metric === null || metric === void 0 ? void 0 : metric.periodSeconds) || CloudKeyMetrics_1.AWS_DEFAULT_PERIOD_SECONDS;
|
|
@@ -1679,7 +2315,9 @@ function getCloudReadingKeysForType(provider, type) {
|
|
|
1679
2315
|
}
|
|
1680
2316
|
}
|
|
1681
2317
|
for (const reading of getCloudHeadlineReadings(provider, type)) {
|
|
1682
|
-
|
|
2318
|
+
for (const key of getCloudHeadlineReadingKeys(reading)) {
|
|
2319
|
+
keys.add(key);
|
|
2320
|
+
}
|
|
1683
2321
|
}
|
|
1684
2322
|
return keys;
|
|
1685
2323
|
}
|