@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,18 +1,30 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GCP_KEY_METRICS = exports.GCP_ALIGNMENT_PERIOD_SECONDS = exports.AZURE_KEY_METRICS = exports.AZURE_MAX_SPLIT_SERIES_PER_METRIC = exports.AZURE_ENTITY_NAME_ATTRIBUTE = exports.AZURE_DIMENSION_ATTRIBUTE_PREFIX = exports.AZURE_ENTITY_NAME_DIMENSION = exports.AZURE_MAX_METRICS_PER_RESOURCE = exports.AWS_KEY_METRICS = exports.DAILY_PERIOD_SECONDS = exports.HOURLY_PERIOD_SECONDS = exports.AWS_DEFAULT_PERIOD_SECONDS = void 0;
|
|
3
|
+
exports.GCP_KEY_METRICS = exports.GCP_ALIGNMENT_PERIOD_SECONDS = exports.GCP_OPS_AGENT_INSTALL_URL = exports.GCP_OPS_AGENT = exports.AZURE_KEY_METRICS = exports.AZURE_MAX_SPLIT_SERIES_PER_METRIC = exports.AZURE_ENTITY_NAME_ATTRIBUTE = exports.AZURE_DIMENSION_ATTRIBUTE_PREFIX = exports.AZURE_ENTITY_NAME_DIMENSION = exports.AZURE_MAX_METRICS_PER_RESOURCE = exports.AZURE_HOURLY_GRAIN = exports.AZURE_FIVE_MINUTE_READ_MINUTES = exports.AZURE_FIVE_MINUTE_GRAIN = exports.AWS_KEY_METRICS = exports.AWS_STREAM_TEMPLATE_VERSION = exports.AWS_STREAM_TEMPLATE_UNVERSIONED = exports.DAILY_PERIOD_SECONDS = exports.HOURLY_PERIOD_SECONDS = exports.AWS_DEFAULT_PERIOD_SECONDS = void 0;
|
|
4
4
|
exports.getAwsKeyMetrics = getAwsKeyMetrics;
|
|
5
5
|
exports.getAwsProbeMetricNames = getAwsProbeMetricNames;
|
|
6
6
|
exports.getAwsStoredMetricName = getAwsStoredMetricName;
|
|
7
|
+
exports.getAwsKeyMetric = getAwsKeyMetric;
|
|
8
|
+
exports.getAwsKeyMetricOfStoredName = getAwsKeyMetricOfStoredName;
|
|
9
|
+
exports.isAwsKeyMetricSeries = isAwsKeyMetricSeries;
|
|
10
|
+
exports.isAwsKeyMetricStreamable = isAwsKeyMetricStreamable;
|
|
11
|
+
exports.isAwsKeyMetricInTemplate = isAwsKeyMetricInTemplate;
|
|
12
|
+
exports.countAwsKeyMetricsAddedSince = countAwsKeyMetricsAddedSince;
|
|
7
13
|
exports.getAzureKeyMetrics = getAzureKeyMetrics;
|
|
8
14
|
exports.getAzureKeyMetricNames = getAzureKeyMetricNames;
|
|
15
|
+
exports.getAzureReadMetricNames = getAzureReadMetricNames;
|
|
16
|
+
exports.isAzureFiveMinuteKeyMetric = isAzureFiveMinuteKeyMetric;
|
|
17
|
+
exports.hasAzureFiveMinuteKeyMetrics = hasAzureFiveMinuteKeyMetrics;
|
|
9
18
|
exports.getAzureStoredMetricName = getAzureStoredMetricName;
|
|
10
19
|
exports.isAzureKeyMetricStoredName = isAzureKeyMetricStoredName;
|
|
11
20
|
exports.getAzureKeyMetricOfStoredName = getAzureKeyMetricOfStoredName;
|
|
12
21
|
exports.isAzureKeyMetricExportedByDiagnosticSettings = isAzureKeyMetricExportedByDiagnosticSettings;
|
|
13
22
|
exports.isAzureStreamedKeyMetric = isAzureStreamedKeyMetric;
|
|
14
23
|
exports.isAzureStreamedKeyMetricStoredName = isAzureStreamedKeyMetricStoredName;
|
|
24
|
+
exports.getGcpStoredMetricName = getGcpStoredMetricName;
|
|
25
|
+
exports.getGcpReadMetrics = getGcpReadMetrics;
|
|
15
26
|
exports.getGcpKeyMetricTypes = getGcpKeyMetricTypes;
|
|
27
|
+
exports.getGcpRetiredMetricCount = getGcpRetiredMetricCount;
|
|
16
28
|
exports.getGcpResourceTypesOfMetric = getGcpResourceTypesOfMetric;
|
|
17
29
|
exports.getAwsNamespaceOfType = getAwsNamespaceOfType;
|
|
18
30
|
exports.getKeyMetricCount = getKeyMetricCount;
|
|
@@ -22,6 +34,7 @@ exports.compareCloudKeyMetrics = compareCloudKeyMetrics;
|
|
|
22
34
|
const CloudPlatform_1 = require("./CloudPlatform");
|
|
23
35
|
const CloudResourceCatalog_1 = require("./CloudResourceCatalog");
|
|
24
36
|
const CloudKeyMetricGroup_1 = require("./CloudKeyMetricGroup");
|
|
37
|
+
const CloudKeyMetricCondition_1 = require("./CloudKeyMetricCondition");
|
|
25
38
|
/*
|
|
26
39
|
* THE KEY METRICS A CLOUD CONNECTION READS, PER RESOURCE TYPE.
|
|
27
40
|
*
|
|
@@ -46,13 +59,23 @@ const CloudKeyMetricGroup_1 = require("./CloudKeyMetricGroup");
|
|
|
46
59
|
*
|
|
47
60
|
* - Azure Monitor answers up to 20 metrics of a resource in one call,
|
|
48
61
|
* and bills per call, so each type reads up to 20 at no extra cost -
|
|
49
|
-
* each at its finest grain,
|
|
50
|
-
*
|
|
62
|
+
* each at its finest grain, one grain finer than an hour a type (one
|
|
63
|
+
* call a read), but for the few metrics kept at five minutes at their
|
|
64
|
+
* finest that are marked as earning a call of their own, read every 15
|
|
65
|
+
* minutes (AzureKeyMetric.grain);
|
|
51
66
|
* - CloudWatch bills each metric of each resource, so AWS reads fewer:
|
|
52
67
|
* the ones that say whether it is up, busy, failing, slow or full;
|
|
53
68
|
* - Cloud Monitoring answers one metric type for every resource of a
|
|
54
69
|
* project in one call, and a read only asks the types of resources a
|
|
55
|
-
* project has (GcpCloudConnector)
|
|
70
|
+
* project has (GcpCloudConnector) - and an agent's metrics only of the
|
|
71
|
+
* projects where an agent reports them.
|
|
72
|
+
*
|
|
73
|
+
* A metric its provider deprecates is no key metric: a type that read one
|
|
74
|
+
* reads what replaces it. It can stay read for a while as `retired`, so a
|
|
75
|
+
* monitor someone built on it keeps working until it is moved; then it is
|
|
76
|
+
* read no more. Cosmos DB's ServerSideLatency and Pub/Sub's
|
|
77
|
+
* send_message_operation_count were, until their monitors were moved to
|
|
78
|
+
* what replaces them (#9739, MoveMonitorsOffRetiredCloudMetrics).
|
|
56
79
|
*
|
|
57
80
|
* Each metric is filed under a CloudKeyMetricGroup, and a type's metrics
|
|
58
81
|
* come most telling first within it: a resource's Metrics card shows them
|
|
@@ -65,10 +88,42 @@ const CloudKeyMetricGroup_1 = require("./CloudKeyMetricGroup");
|
|
|
65
88
|
* The docs page lists these (CloudConnectDocsFacts holds it to this file).
|
|
66
89
|
*/
|
|
67
90
|
const G = CloudKeyMetricGroup_1.CloudKeyMetricGroup;
|
|
91
|
+
const C = CloudKeyMetricCondition_1.CloudKeyMetricCondition;
|
|
92
|
+
/*
|
|
93
|
+
* A key metric only the resources a condition holds for report: a replica's
|
|
94
|
+
* lag, a burstable VM's credits (CloudKeyMetricCondition). A resource's page
|
|
95
|
+
* says so beside one it did not report (CloudUnreportedKeyMetrics).
|
|
96
|
+
*/
|
|
97
|
+
function when(condition, metric) {
|
|
98
|
+
return { ...metric, onlyWhen: condition };
|
|
99
|
+
}
|
|
68
100
|
exports.AWS_DEFAULT_PERIOD_SECONDS = 300;
|
|
69
101
|
exports.HOURLY_PERIOD_SECONDS = 3600;
|
|
70
102
|
exports.DAILY_PERIOD_SECONDS = 86400;
|
|
71
|
-
|
|
103
|
+
/*
|
|
104
|
+
* THE VERSIONS OF THE STREAM TEMPLATE (CloudStreamTemplate).
|
|
105
|
+
*
|
|
106
|
+
* The template a stream's stack is made from says its version to OneUptime
|
|
107
|
+
* with every delivery (CloudStreamStack), and its key-metric filters carry
|
|
108
|
+
* every key metric of a version up to its own (AwsKeyMetric.streamedSince).
|
|
109
|
+
*
|
|
110
|
+
* - 1: the key metrics every stack has carried since streams began. A
|
|
111
|
+
* stack that says no version is held to these: one made before stacks
|
|
112
|
+
* said theirs, or one set up another way, with Terraform or the
|
|
113
|
+
* console, whose filters OneUptime cannot know.
|
|
114
|
+
* - 2: every key metric read every five minutes, the ones added since
|
|
115
|
+
* streams began too.
|
|
116
|
+
* - 3: AWS Glue jobs' and Amazon Athena workgroups' key metrics too
|
|
117
|
+
* (#9691).
|
|
118
|
+
*
|
|
119
|
+
* A key metric added to the catalog after a version is written is streamed
|
|
120
|
+
* since the next one, never the current one: stacks of the current version
|
|
121
|
+
* are out there and do not carry it. CloudStreamTemplate.test pins what
|
|
122
|
+
* each version carries.
|
|
123
|
+
*/
|
|
124
|
+
exports.AWS_STREAM_TEMPLATE_UNVERSIONED = 1;
|
|
125
|
+
exports.AWS_STREAM_TEMPLATE_VERSION = 3;
|
|
126
|
+
// A key metric every key-metric stack carries, since streams began - but a daily or hourly one.
|
|
72
127
|
function aws(metricName, statistic, unit, group, periodSeconds = exports.AWS_DEFAULT_PERIOD_SECONDS) {
|
|
73
128
|
return {
|
|
74
129
|
metricName,
|
|
@@ -76,24 +131,51 @@ function aws(metricName, statistic, unit, group, periodSeconds = exports.AWS_DEF
|
|
|
76
131
|
unit,
|
|
77
132
|
group,
|
|
78
133
|
periodSeconds,
|
|
79
|
-
|
|
134
|
+
streamedSince: periodSeconds <= exports.AWS_DEFAULT_PERIOD_SECONDS
|
|
135
|
+
? exports.AWS_STREAM_TEMPLATE_UNVERSIONED
|
|
136
|
+
: null,
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
/*
|
|
140
|
+
* A key metric added since streams began, read every five minutes: the
|
|
141
|
+
* stacks of template 2 on carry it, and an older stack's account has it
|
|
142
|
+
* read and written by the read.
|
|
143
|
+
*/
|
|
144
|
+
function aws2(metricName, statistic, unit, group, options = {}) {
|
|
145
|
+
return {
|
|
146
|
+
metricName,
|
|
147
|
+
statistic,
|
|
148
|
+
unit,
|
|
149
|
+
group,
|
|
150
|
+
periodSeconds: exports.AWS_DEFAULT_PERIOD_SECONDS,
|
|
151
|
+
streamedSince: 2,
|
|
152
|
+
...(options.onlyDimensionValues
|
|
153
|
+
? { onlyDimensionValues: options.onlyDimensionValues }
|
|
154
|
+
: {}),
|
|
80
155
|
};
|
|
81
156
|
}
|
|
82
157
|
/*
|
|
83
|
-
* A key metric
|
|
84
|
-
*
|
|
85
|
-
*
|
|
158
|
+
* A key metric added since template 2 was written, read every five
|
|
159
|
+
* minutes: the stacks of template 3 on carry it, and an older stack's
|
|
160
|
+
* account has it read and written by the read.
|
|
86
161
|
*/
|
|
87
|
-
function
|
|
162
|
+
function aws3(metricName, statistic, unit, group) {
|
|
88
163
|
return {
|
|
89
164
|
metricName,
|
|
90
165
|
statistic,
|
|
91
166
|
unit,
|
|
92
167
|
group,
|
|
93
168
|
periodSeconds: exports.AWS_DEFAULT_PERIOD_SECONDS,
|
|
94
|
-
|
|
169
|
+
streamedSince: 3,
|
|
95
170
|
};
|
|
96
171
|
}
|
|
172
|
+
// A key metric only resources of these types of its namespace report.
|
|
173
|
+
function onlyOf(types, metric) {
|
|
174
|
+
return { ...metric, onlyTypes: types };
|
|
175
|
+
}
|
|
176
|
+
const ECS_CLUSTER = ["AWS::ECS::Cluster"];
|
|
177
|
+
const REST_API = ["AWS::ApiGateway::RestApi"];
|
|
178
|
+
const HTTP_API = ["AWS::ApiGatewayV2::Api"];
|
|
97
179
|
exports.AWS_KEY_METRICS = [
|
|
98
180
|
{
|
|
99
181
|
namespace: "AWS/EC2",
|
|
@@ -103,9 +185,9 @@ exports.AWS_KEY_METRICS = [
|
|
|
103
185
|
aws("NetworkOut", "Sum", "Bytes", G.Network),
|
|
104
186
|
aws("StatusCheckFailed", "Maximum", "Count", G.Availability),
|
|
105
187
|
// A burstable (T) instance's credits; a Nitro instance's EBS throughput.
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
188
|
+
when(C.Burstable, aws2("CPUCreditBalance", "Average", "Count", G.Compute)),
|
|
189
|
+
when(C.Kind, aws2("EBSReadBytes", "Sum", "Bytes", G.Storage)),
|
|
190
|
+
when(C.Kind, aws2("EBSWriteBytes", "Sum", "Bytes", G.Storage)),
|
|
109
191
|
],
|
|
110
192
|
},
|
|
111
193
|
{
|
|
@@ -114,37 +196,37 @@ exports.AWS_KEY_METRICS = [
|
|
|
114
196
|
aws("VolumeReadOps", "Sum", "Count", G.Storage),
|
|
115
197
|
aws("VolumeWriteOps", "Sum", "Count", G.Storage),
|
|
116
198
|
aws("VolumeQueueLength", "Average", "Count", G.Storage),
|
|
117
|
-
|
|
118
|
-
|
|
199
|
+
aws2("VolumeReadBytes", "Sum", "Bytes", G.Storage),
|
|
200
|
+
aws2("VolumeWriteBytes", "Sum", "Bytes", G.Storage),
|
|
119
201
|
// gp2, st1 and sc1 volumes only.
|
|
120
|
-
|
|
202
|
+
when(C.Tier, aws2("BurstBalance", "Average", "Percent", G.Storage)),
|
|
121
203
|
],
|
|
122
204
|
},
|
|
123
205
|
{
|
|
124
206
|
namespace: "AWS/ELB",
|
|
125
207
|
metrics: [
|
|
126
|
-
aws("RequestCount", "Sum", "Count", G.Traffic),
|
|
127
|
-
aws("Latency", "Average", "Seconds", G.Latency),
|
|
128
|
-
aws("HTTPCode_Backend_5XX", "Sum", "Count", G.Errors),
|
|
208
|
+
when(C.NonZero, aws("RequestCount", "Sum", "Count", G.Traffic)),
|
|
209
|
+
when(C.NonZero, aws("Latency", "Average", "Seconds", G.Latency)),
|
|
210
|
+
when(C.NonZero, aws("HTTPCode_Backend_5XX", "Sum", "Count", G.Errors)),
|
|
129
211
|
aws("UnHealthyHostCount", "Maximum", "Count", G.Availability),
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
212
|
+
aws2("HealthyHostCount", "Average", "Count", G.Availability),
|
|
213
|
+
when(C.NonZero, aws2("HTTPCode_ELB_5XX", "Sum", "Count", G.Errors)),
|
|
214
|
+
when(C.NonZero, aws2("SurgeQueueLength", "Maximum", "Count", G.Backlog)),
|
|
215
|
+
when(C.NonZero, aws2("SpilloverCount", "Sum", "Count", G.Errors)),
|
|
134
216
|
],
|
|
135
217
|
},
|
|
136
218
|
{
|
|
137
219
|
namespace: "AWS/ApplicationELB",
|
|
138
220
|
metrics: [
|
|
139
221
|
aws("RequestCount", "Sum", "Count", G.Traffic),
|
|
140
|
-
aws("TargetResponseTime", "Average", "Seconds", G.Latency),
|
|
222
|
+
when(C.NonZero, aws("TargetResponseTime", "Average", "Seconds", G.Latency)),
|
|
141
223
|
aws("HTTPCode_Target_5XX_Count", "Sum", "Count", G.Errors),
|
|
142
|
-
aws("HTTPCode_ELB_5XX_Count", "Sum", "Count", G.Errors),
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
224
|
+
when(C.NonZero, aws("HTTPCode_ELB_5XX_Count", "Sum", "Count", G.Errors)),
|
|
225
|
+
aws2("HTTPCode_Target_4XX_Count", "Sum", "Count", G.Errors),
|
|
226
|
+
when(C.NonZero, aws2("RejectedConnectionCount", "Sum", "Count", G.Errors)),
|
|
227
|
+
when(C.NonZero, aws2("TargetConnectionErrorCount", "Sum", "Count", G.Errors)),
|
|
228
|
+
when(C.NonZero, aws2("ActiveConnectionCount", "Sum", "Count", G.Connections)),
|
|
229
|
+
when(C.NonZero, aws2("ProcessedBytes", "Sum", "Bytes", G.Traffic)),
|
|
148
230
|
],
|
|
149
231
|
},
|
|
150
232
|
{
|
|
@@ -153,10 +235,10 @@ exports.AWS_KEY_METRICS = [
|
|
|
153
235
|
aws("ActiveFlowCount", "Average", "Count", G.Connections),
|
|
154
236
|
aws("NewFlowCount", "Sum", "Count", G.Connections),
|
|
155
237
|
aws("ProcessedBytes", "Sum", "Bytes", G.Traffic),
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
238
|
+
aws2("TCP_Client_Reset_Count", "Sum", "Count", G.Errors),
|
|
239
|
+
aws2("TCP_Target_Reset_Count", "Sum", "Count", G.Errors),
|
|
240
|
+
aws2("TCP_ELB_Reset_Count", "Sum", "Count", G.Errors),
|
|
241
|
+
aws2("PortAllocationErrorCount", "Sum", "Count", G.Errors),
|
|
160
242
|
],
|
|
161
243
|
},
|
|
162
244
|
{
|
|
@@ -165,10 +247,10 @@ exports.AWS_KEY_METRICS = [
|
|
|
165
247
|
aws("ActiveConnectionCount", "Maximum", "Count", G.Connections),
|
|
166
248
|
aws("BytesOutToDestination", "Sum", "Bytes", G.Network),
|
|
167
249
|
aws("ErrorPortAllocation", "Sum", "Count", G.Errors),
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
250
|
+
aws2("PacketsDropCount", "Sum", "Count", G.Errors),
|
|
251
|
+
aws2("BytesInFromDestination", "Sum", "Bytes", G.Network),
|
|
252
|
+
aws2("ConnectionAttemptCount", "Sum", "Count", G.Connections),
|
|
253
|
+
aws2("IdleTimeoutCount", "Sum", "Count", G.Connections),
|
|
172
254
|
],
|
|
173
255
|
},
|
|
174
256
|
{
|
|
@@ -182,19 +264,19 @@ exports.AWS_KEY_METRICS = [
|
|
|
182
264
|
{
|
|
183
265
|
namespace: "AWS/TransitGateway",
|
|
184
266
|
metrics: [
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
267
|
+
aws2("BytesIn", "Sum", "Bytes", G.Network),
|
|
268
|
+
aws2("BytesOut", "Sum", "Bytes", G.Network),
|
|
269
|
+
aws2("PacketDropCountBlackhole", "Sum", "Count", G.Errors),
|
|
270
|
+
aws2("PacketDropCountNoRoute", "Sum", "Count", G.Errors),
|
|
189
271
|
],
|
|
190
272
|
},
|
|
191
273
|
{
|
|
192
274
|
namespace: "AWS/DX",
|
|
193
275
|
metrics: [
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
276
|
+
aws2("ConnectionState", "Minimum", "None", G.Availability),
|
|
277
|
+
when(C.Kind, aws2("ConnectionBpsEgress", "Average", "Bits/Second", G.Network)),
|
|
278
|
+
when(C.Kind, aws2("ConnectionBpsIngress", "Average", "Bits/Second", G.Network)),
|
|
279
|
+
when(C.Kind, aws2("ConnectionErrorCount", "Sum", "Count", G.Errors)),
|
|
198
280
|
],
|
|
199
281
|
},
|
|
200
282
|
{
|
|
@@ -205,8 +287,8 @@ exports.AWS_KEY_METRICS = [
|
|
|
205
287
|
aws("4xxErrorRate", "Average", "Percent", G.Errors),
|
|
206
288
|
aws("5xxErrorRate", "Average", "Percent", G.Errors),
|
|
207
289
|
aws("BytesDownloaded", "Sum", "None", G.Network),
|
|
208
|
-
|
|
209
|
-
|
|
290
|
+
aws2("TotalErrorRate", "Average", "Percent", G.Errors),
|
|
291
|
+
aws2("BytesUploaded", "Sum", "None", G.Network),
|
|
210
292
|
],
|
|
211
293
|
},
|
|
212
294
|
{
|
|
@@ -214,7 +296,7 @@ exports.AWS_KEY_METRICS = [
|
|
|
214
296
|
onlyRegion: "us-east-1",
|
|
215
297
|
metrics: [
|
|
216
298
|
aws("HealthCheckStatus", "Minimum", "None", G.Availability),
|
|
217
|
-
aws("HealthCheckPercentageHealthy", "Average", "Percent", G.Availability),
|
|
299
|
+
when(C.Kind, aws("HealthCheckPercentageHealthy", "Average", "Percent", G.Availability)),
|
|
218
300
|
],
|
|
219
301
|
},
|
|
220
302
|
{
|
|
@@ -228,21 +310,21 @@ exports.AWS_KEY_METRICS = [
|
|
|
228
310
|
namespace: "AWS/EFS",
|
|
229
311
|
metrics: [
|
|
230
312
|
aws("ClientConnections", "Sum", "Count", G.Connections),
|
|
231
|
-
aws("PercentIOLimit", "Average", "Percent", G.Storage),
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
313
|
+
when(C.Tier, aws("PercentIOLimit", "Average", "Percent", G.Storage)),
|
|
314
|
+
aws2("BurstCreditBalance", "Average", "Bytes", G.Storage),
|
|
315
|
+
aws2("DataReadIOBytes", "Sum", "Bytes", G.Storage),
|
|
316
|
+
aws2("DataWriteIOBytes", "Sum", "Bytes", G.Storage),
|
|
235
317
|
],
|
|
236
318
|
},
|
|
237
319
|
{
|
|
238
320
|
namespace: "AWS/FSx",
|
|
239
321
|
metrics: [
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
322
|
+
aws2("DataReadBytes", "Sum", "Bytes", G.Storage),
|
|
323
|
+
aws2("DataWriteBytes", "Sum", "Bytes", G.Storage),
|
|
324
|
+
aws2("DataReadOperations", "Sum", "Count", G.Storage),
|
|
325
|
+
aws2("DataWriteOperations", "Sum", "Count", G.Storage),
|
|
244
326
|
// FSx for Windows File Server only.
|
|
245
|
-
|
|
327
|
+
when(C.Kind, aws2("FreeStorageCapacity", "Average", "Bytes", G.Storage)),
|
|
246
328
|
],
|
|
247
329
|
},
|
|
248
330
|
{
|
|
@@ -250,9 +332,12 @@ exports.AWS_KEY_METRICS = [
|
|
|
250
332
|
metrics: [
|
|
251
333
|
aws("CPUUtilization", "Average", "Percent", G.Compute),
|
|
252
334
|
aws("MemoryUtilization", "Average", "Percent", G.Memory),
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
335
|
+
/*
|
|
336
|
+
* A cluster's own: what its tasks reserve of its instances. A cluster
|
|
337
|
+
* with only Fargate tasks reserves none.
|
|
338
|
+
*/
|
|
339
|
+
onlyOf(ECS_CLUSTER, when(C.Kind, aws2("CPUReservation", "Average", "Percent", G.Compute))),
|
|
340
|
+
onlyOf(ECS_CLUSTER, when(C.Kind, aws2("MemoryReservation", "Average", "Percent", G.Memory))),
|
|
256
341
|
],
|
|
257
342
|
},
|
|
258
343
|
{
|
|
@@ -262,10 +347,10 @@ exports.AWS_KEY_METRICS = [
|
|
|
262
347
|
aws("Errors", "Sum", "Count", G.Errors),
|
|
263
348
|
aws("Duration", "Average", "Milliseconds", G.Latency),
|
|
264
349
|
aws("Throttles", "Sum", "Count", G.Errors),
|
|
265
|
-
|
|
350
|
+
aws2("ConcurrentExecutions", "Maximum", "Count", G.Compute),
|
|
266
351
|
// Stream and asynchronous event sources only.
|
|
267
|
-
|
|
268
|
-
|
|
352
|
+
when(C.Setup, aws2("IteratorAge", "Maximum", "Milliseconds", G.Backlog)),
|
|
353
|
+
when(C.Setup, aws2("DeadLetterErrors", "Sum", "Count", G.Errors)),
|
|
269
354
|
],
|
|
270
355
|
},
|
|
271
356
|
{
|
|
@@ -274,10 +359,10 @@ exports.AWS_KEY_METRICS = [
|
|
|
274
359
|
aws("ExecutionsStarted", "Sum", "Count", G.Traffic),
|
|
275
360
|
aws("ExecutionsFailed", "Sum", "Count", G.Errors),
|
|
276
361
|
aws("ExecutionTime", "Average", "Milliseconds", G.Latency),
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
362
|
+
aws2("ExecutionsSucceeded", "Sum", "Count", G.Traffic),
|
|
363
|
+
aws2("ExecutionsTimedOut", "Sum", "Count", G.Errors),
|
|
364
|
+
aws2("ExecutionsAborted", "Sum", "Count", G.Errors),
|
|
365
|
+
when(C.NonZero, aws2("ExecutionThrottled", "Sum", "Count", G.Errors)),
|
|
281
366
|
],
|
|
282
367
|
},
|
|
283
368
|
{
|
|
@@ -289,13 +374,13 @@ exports.AWS_KEY_METRICS = [
|
|
|
289
374
|
aws("FreeableMemory", "Average", "Bytes", G.Memory),
|
|
290
375
|
aws("ReadLatency", "Average", "Seconds", G.Latency),
|
|
291
376
|
aws("WriteLatency", "Average", "Seconds", G.Latency),
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
377
|
+
aws2("ReadIOPS", "Average", "Count/Second", G.Storage),
|
|
378
|
+
aws2("WriteIOPS", "Average", "Count/Second", G.Storage),
|
|
379
|
+
aws2("DiskQueueDepth", "Average", "Count", G.Storage),
|
|
380
|
+
aws2("NetworkReceiveThroughput", "Average", "Bytes/Second", G.Network),
|
|
381
|
+
aws2("NetworkTransmitThroughput", "Average", "Bytes/Second", G.Network),
|
|
297
382
|
// A read replica's own.
|
|
298
|
-
|
|
383
|
+
when(C.Replica, aws2("ReplicaLag", "Maximum", "Seconds", G.Replication)),
|
|
299
384
|
],
|
|
300
385
|
},
|
|
301
386
|
{
|
|
@@ -304,20 +389,20 @@ exports.AWS_KEY_METRICS = [
|
|
|
304
389
|
aws("CPUUtilization", "Average", "Percent", G.Compute),
|
|
305
390
|
aws("DatabaseConnections", "Average", "Count", G.Connections),
|
|
306
391
|
aws("FreeableMemory", "Average", "Bytes", G.Memory),
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
392
|
+
aws2("ReadLatency", "Average", "Milliseconds", G.Latency),
|
|
393
|
+
aws2("WriteLatency", "Average", "Milliseconds", G.Latency),
|
|
394
|
+
when(C.Replica, aws2("DBInstanceReplicaLag", "Maximum", "Milliseconds", G.Replication)),
|
|
310
395
|
],
|
|
311
396
|
},
|
|
312
397
|
{
|
|
313
398
|
namespace: "AWS/Neptune",
|
|
314
399
|
metrics: [
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
400
|
+
when(C.NonZero, aws2("CPUUtilization", "Average", "Percent", G.Compute)),
|
|
401
|
+
when(C.NonZero, aws2("FreeableMemory", "Average", "Bytes", G.Memory)),
|
|
402
|
+
when(C.NonZero, aws2("MainRequestQueuePendingRequests", "Sum", "Count", G.Backlog)),
|
|
403
|
+
when(C.NonZero, aws2("TotalServerErrorsPerSec", "Average", "Count/Second", G.Errors)),
|
|
404
|
+
when(C.NonZero, aws2("TotalClientErrorsPerSec", "Average", "Count/Second", G.Errors)),
|
|
405
|
+
when(C.NonZero, aws2("ClusterReplicaLag", "Average", "Milliseconds", G.Replication)),
|
|
321
406
|
],
|
|
322
407
|
},
|
|
323
408
|
{
|
|
@@ -328,8 +413,8 @@ exports.AWS_KEY_METRICS = [
|
|
|
328
413
|
aws("ReadThrottleEvents", "Sum", "Count", G.Errors),
|
|
329
414
|
aws("WriteThrottleEvents", "Sum", "Count", G.Errors),
|
|
330
415
|
// A provisioned table's own.
|
|
331
|
-
|
|
332
|
-
|
|
416
|
+
aws2("ProvisionedReadCapacityUnits", "Average", "Count", G.Compute),
|
|
417
|
+
aws2("ProvisionedWriteCapacityUnits", "Average", "Count", G.Compute),
|
|
333
418
|
],
|
|
334
419
|
},
|
|
335
420
|
{
|
|
@@ -338,23 +423,23 @@ exports.AWS_KEY_METRICS = [
|
|
|
338
423
|
aws("CPUUtilization", "Average", "Percent", G.Compute),
|
|
339
424
|
aws("CurrConnections", "Average", "Count", G.Connections),
|
|
340
425
|
aws("Evictions", "Sum", "Count", G.Cache),
|
|
341
|
-
aws("DatabaseMemoryUsagePercentage", "Average", "Percent", G.Memory),
|
|
426
|
+
when(C.Kind, aws("DatabaseMemoryUsagePercentage", "Average", "Percent", G.Memory)),
|
|
342
427
|
// Valkey and Redis OSS nodes'.
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
428
|
+
when(C.Kind, aws2("EngineCPUUtilization", "Average", "Percent", G.Compute)),
|
|
429
|
+
when(C.Kind, aws2("CacheHits", "Sum", "Count", G.Cache)),
|
|
430
|
+
when(C.Kind, aws2("CacheMisses", "Sum", "Count", G.Cache)),
|
|
346
431
|
// A read replica's own.
|
|
347
|
-
|
|
432
|
+
when(C.Replica, aws2("ReplicationLag", "Maximum", "Seconds", G.Replication)),
|
|
348
433
|
],
|
|
349
434
|
},
|
|
350
435
|
{
|
|
351
436
|
namespace: "AWS/MemoryDB",
|
|
352
437
|
metrics: [
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
438
|
+
aws2("CPUUtilization", "Average", "Percent", G.Compute),
|
|
439
|
+
aws2("EngineCPUUtilization", "Average", "Percent", G.Compute),
|
|
440
|
+
aws2("DatabaseMemoryUsagePercentage", "Average", "Percent", G.Memory),
|
|
441
|
+
aws2("CurrConnections", "Average", "Count", G.Connections),
|
|
442
|
+
aws2("Evictions", "Sum", "Count", G.Cache),
|
|
358
443
|
],
|
|
359
444
|
},
|
|
360
445
|
{
|
|
@@ -363,9 +448,9 @@ exports.AWS_KEY_METRICS = [
|
|
|
363
448
|
aws("CPUUtilization", "Average", "Percent", G.Compute),
|
|
364
449
|
aws("PercentageDiskSpaceUsed", "Average", "Percent", G.Storage),
|
|
365
450
|
aws("DatabaseConnections", "Average", "Count", G.Connections),
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
451
|
+
aws2("HealthStatus", "Minimum", "Count", G.Availability),
|
|
452
|
+
aws2("ReadLatency", "Average", "Seconds", G.Latency),
|
|
453
|
+
aws2("WriteLatency", "Average", "Seconds", G.Latency),
|
|
369
454
|
],
|
|
370
455
|
},
|
|
371
456
|
{
|
|
@@ -374,22 +459,22 @@ exports.AWS_KEY_METRICS = [
|
|
|
374
459
|
aws("CPUUtilization", "Average", "Percent", G.Compute),
|
|
375
460
|
aws("FreeStorageSpace", "Minimum", "Megabytes", G.Storage),
|
|
376
461
|
aws("ClusterStatus.red", "Maximum", "Count", G.Availability),
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
462
|
+
aws2("ClusterStatus.yellow", "Maximum", "Count", G.Availability),
|
|
463
|
+
aws2("ClusterIndexWritesBlocked", "Maximum", "Count", G.Errors),
|
|
464
|
+
aws2("5xx", "Sum", "Count", G.Errors),
|
|
465
|
+
aws2("SearchLatency", "Average", "Milliseconds", G.Latency),
|
|
466
|
+
aws2("IndexingLatency", "Average", "Milliseconds", G.Latency),
|
|
467
|
+
aws2("JVMMemoryPressure", "Maximum", "Percent", G.Memory),
|
|
383
468
|
],
|
|
384
469
|
},
|
|
385
470
|
{
|
|
386
471
|
namespace: "AWS/SQS",
|
|
387
472
|
metrics: [
|
|
388
473
|
aws("ApproximateNumberOfMessagesVisible", "Maximum", "Count", G.Backlog),
|
|
389
|
-
aws("ApproximateAgeOfOldestMessage", "Maximum", "Seconds", G.Backlog),
|
|
474
|
+
when(C.NonZero, aws("ApproximateAgeOfOldestMessage", "Maximum", "Seconds", G.Backlog)),
|
|
390
475
|
aws("NumberOfMessagesSent", "Sum", "Count", G.Traffic),
|
|
391
|
-
|
|
392
|
-
|
|
476
|
+
when(C.NonZero, aws2("ApproximateNumberOfMessagesNotVisible", "Maximum", "Count", G.Backlog)),
|
|
477
|
+
aws2("NumberOfMessagesDeleted", "Sum", "Count", G.Traffic),
|
|
393
478
|
],
|
|
394
479
|
},
|
|
395
480
|
{
|
|
@@ -397,7 +482,7 @@ exports.AWS_KEY_METRICS = [
|
|
|
397
482
|
metrics: [
|
|
398
483
|
aws("NumberOfMessagesPublished", "Sum", "Count", G.Traffic),
|
|
399
484
|
aws("NumberOfNotificationsFailed", "Sum", "Count", G.Errors),
|
|
400
|
-
|
|
485
|
+
aws2("NumberOfNotificationsDelivered", "Sum", "Count", G.Traffic),
|
|
401
486
|
],
|
|
402
487
|
},
|
|
403
488
|
{
|
|
@@ -405,39 +490,46 @@ exports.AWS_KEY_METRICS = [
|
|
|
405
490
|
metrics: [
|
|
406
491
|
aws("IncomingRecords", "Sum", "Count", G.Traffic),
|
|
407
492
|
aws("GetRecords.IteratorAgeMilliseconds", "Maximum", "Milliseconds", G.Backlog),
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
493
|
+
aws2("IncomingBytes", "Sum", "Bytes", G.Traffic),
|
|
494
|
+
aws2("WriteProvisionedThroughputExceeded", "Sum", "Count", G.Errors),
|
|
495
|
+
aws2("ReadProvisionedThroughputExceeded", "Sum", "Count", G.Errors),
|
|
411
496
|
],
|
|
412
497
|
},
|
|
413
498
|
{
|
|
499
|
+
// A Direct PUT stream's incoming records, and an S3 destination's deliveries.
|
|
414
500
|
namespace: "AWS/Firehose",
|
|
415
501
|
metrics: [
|
|
416
|
-
aws("IncomingRecords", "Sum", "Count", G.Traffic),
|
|
417
|
-
aws("DeliveryToS3.Success", "Average", "Count", G.Availability),
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
502
|
+
when(C.Kind, aws("IncomingRecords", "Sum", "Count", G.Traffic)),
|
|
503
|
+
when(C.Kind, aws("DeliveryToS3.Success", "Average", "Count", G.Availability)),
|
|
504
|
+
when(C.Kind, aws2("IncomingBytes", "Sum", "Bytes", G.Traffic)),
|
|
505
|
+
when(C.Kind, aws2("ThrottledRecords", "Sum", "Count", G.Errors)),
|
|
506
|
+
when(C.Kind, aws2("DeliveryToS3.DataFreshness", "Maximum", "Seconds", G.Backlog)),
|
|
421
507
|
],
|
|
422
508
|
},
|
|
423
509
|
{
|
|
424
510
|
namespace: "AWS/ApiGateway",
|
|
425
511
|
metrics: [
|
|
426
512
|
aws("Count", "Sum", "Count", G.Traffic),
|
|
427
|
-
aws("5XXError", "Sum", "Count", G.Errors),
|
|
513
|
+
onlyOf(REST_API, aws("5XXError", "Sum", "Count", G.Errors)),
|
|
428
514
|
aws("Latency", "Average", "Milliseconds", G.Latency),
|
|
429
|
-
|
|
430
|
-
|
|
515
|
+
onlyOf(REST_API, aws2("4XXError", "Sum", "Count", G.Errors)),
|
|
516
|
+
aws2("IntegrationLatency", "Average", "Milliseconds", G.Latency),
|
|
517
|
+
/*
|
|
518
|
+
* An HTTP API's errors: it publishes 5xx and 4xx, a REST API 5XXError
|
|
519
|
+
* and 4XXError, so each is listed only for the APIs that publish it.
|
|
520
|
+
*/
|
|
521
|
+
onlyOf(HTTP_API, when(C.Kind, aws2("5xx", "Sum", "Count", G.Errors))),
|
|
522
|
+
onlyOf(HTTP_API, when(C.Kind, aws2("4xx", "Sum", "Count", G.Errors))),
|
|
431
523
|
],
|
|
432
524
|
},
|
|
433
525
|
{
|
|
434
526
|
namespace: "AWS/Events",
|
|
435
527
|
metrics: [
|
|
436
|
-
aws("Invocations", "Sum", "Count", G.Traffic),
|
|
437
|
-
aws("FailedInvocations", "Sum", "Count", G.Errors),
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
528
|
+
when(C.NonZero, aws("Invocations", "Sum", "Count", G.Traffic)),
|
|
529
|
+
when(C.NonZero, aws("FailedInvocations", "Sum", "Count", G.Errors)),
|
|
530
|
+
aws2("TriggeredRules", "Sum", "Count", G.Traffic),
|
|
531
|
+
aws2("ThrottledRules", "Sum", "Count", G.Errors),
|
|
532
|
+
aws2("DeadLetterInvocations", "Sum", "Count", G.Errors),
|
|
441
533
|
],
|
|
442
534
|
},
|
|
443
535
|
{
|
|
@@ -448,26 +540,210 @@ exports.AWS_KEY_METRICS = [
|
|
|
448
540
|
namespace: "AWS/AmazonMQ",
|
|
449
541
|
probeMetricNames: ["CpuUtilization", "SystemCpuUtilization"],
|
|
450
542
|
metrics: [
|
|
451
|
-
aws("CpuUtilization", "Average", "Percent", G.Compute),
|
|
543
|
+
when(C.Kind, aws("CpuUtilization", "Average", "Percent", G.Compute)),
|
|
452
544
|
// RabbitMQ.
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
545
|
+
when(C.Kind, aws2("SystemCpuUtilization", "Average", "Percent", G.Compute)),
|
|
546
|
+
when(C.Kind, aws2("MessageCount", "Maximum", "Count", G.Backlog)),
|
|
547
|
+
when(C.Kind, aws2("ConnectionCount", "Maximum", "Count", G.Connections)),
|
|
456
548
|
// ActiveMQ.
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
549
|
+
when(C.Kind, aws2("HeapUsage", "Maximum", "Percent", G.Memory)),
|
|
550
|
+
when(C.Kind, aws2("StorePercentUsage", "Maximum", "Percent", G.Storage)),
|
|
551
|
+
when(C.Kind, aws2("CurrentConnectionsCount", "Maximum", "Count", G.Connections)),
|
|
460
552
|
],
|
|
461
553
|
},
|
|
462
554
|
{
|
|
463
555
|
namespace: "AWS/Kafka",
|
|
464
556
|
metrics: [
|
|
465
557
|
aws("ActiveControllerCount", "Maximum", "Count", G.Availability),
|
|
466
|
-
|
|
558
|
+
aws2("OfflinePartitionsCount", "Maximum", "Count", G.Availability),
|
|
467
559
|
// Each broker's own (Broker ID): a series per broker of the cluster.
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
560
|
+
aws2("UnderReplicatedPartitions", "Maximum", "Count", G.Replication),
|
|
561
|
+
aws2("KafkaDataLogsDiskUsed", "Maximum", "Percent", G.Storage),
|
|
562
|
+
aws2("CpuUser", "Average", "Percent", G.Compute),
|
|
563
|
+
],
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
/*
|
|
567
|
+
* A web ACL's requests, by what its rules did with them: its own total
|
|
568
|
+
* is the series whose Rule is ALL (CloudResourceCatalog's rule), each
|
|
569
|
+
* published only when it is not zero. A CloudFront distribution's web
|
|
570
|
+
* ACL publishes in us-east-1, a Region's own in its Region.
|
|
571
|
+
*/
|
|
572
|
+
namespace: "AWS/WAFV2",
|
|
573
|
+
probeMetricNames: ["AllowedRequests", "BlockedRequests"],
|
|
574
|
+
metrics: [
|
|
575
|
+
when(C.NonZero, aws2("AllowedRequests", "Sum", "Count", G.Traffic)),
|
|
576
|
+
when(C.NonZero, aws2("BlockedRequests", "Sum", "Count", G.Traffic)),
|
|
577
|
+
when(C.NonZero, aws2("CountedRequests", "Sum", "Count", G.Traffic)),
|
|
578
|
+
when(C.NonZero, aws2("CaptchaRequests", "Sum", "Count", G.Traffic)),
|
|
579
|
+
when(C.NonZero, aws2("ChallengeRequests", "Sum", "Count", G.Traffic)),
|
|
580
|
+
],
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
/*
|
|
584
|
+
* A firewall's packets, per Availability Zone and inspection engine.
|
|
585
|
+
* The packets it received are the Stateless engine's (a Classic
|
|
586
|
+
* policy) or the System engine's (a Next Generation policy), which each
|
|
587
|
+
* count every packet - never also the Firewall engine's, which would
|
|
588
|
+
* count some again. A packet is dropped by one engine, so its drops
|
|
589
|
+
* are every engine's.
|
|
590
|
+
*/
|
|
591
|
+
namespace: "AWS/NetworkFirewall",
|
|
592
|
+
metrics: [
|
|
593
|
+
when(C.NonZero, aws2("ReceivedPackets", "Sum", "Count", G.Traffic, {
|
|
594
|
+
onlyDimensionValues: { Engine: ["Stateless", "System"] },
|
|
595
|
+
})),
|
|
596
|
+
when(C.NonZero, aws2("DroppedPackets", "Sum", "Count", G.Errors)),
|
|
597
|
+
// Throttled by bursting traffic, among others.
|
|
598
|
+
when(C.NonZero, aws2("OtherDroppedPackets", "Sum", "Count", G.Errors)),
|
|
599
|
+
when(C.NonZero, aws2("InvalidDroppedPackets", "Sum", "Count", G.Errors)),
|
|
600
|
+
],
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
// A service's own, without its instances' (Instance).
|
|
604
|
+
namespace: "AWS/AppRunner",
|
|
605
|
+
metrics: [
|
|
606
|
+
aws2("CPUUtilization", "Average", "Percent", G.Compute),
|
|
607
|
+
aws2("Requests", "Sum", "Count", G.Traffic),
|
|
608
|
+
aws2("5xxStatusResponses", "Sum", "Count", G.Errors),
|
|
609
|
+
aws2("4xxStatusResponses", "Sum", "Count", G.Errors),
|
|
610
|
+
aws2("RequestLatency", "Average", "Milliseconds", G.Latency),
|
|
611
|
+
aws2("MemoryUtilization", "Average", "Percent", G.Memory),
|
|
612
|
+
aws2("ActiveInstances", "Average", "Count", G.Compute),
|
|
613
|
+
],
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
/*
|
|
617
|
+
* An Auto Scaling group's size, once its group metrics collection is
|
|
618
|
+
* on: free, at a minute's grain. A group without it publishes none, so
|
|
619
|
+
* it is never listed and costs nothing to read.
|
|
620
|
+
*/
|
|
621
|
+
namespace: "AWS/AutoScaling",
|
|
622
|
+
metrics: [
|
|
623
|
+
when(C.Setup, aws2("GroupInServiceInstances", "Average", "Count", G.Availability)),
|
|
624
|
+
when(C.Setup, aws2("GroupDesiredCapacity", "Average", "Count", G.Compute)),
|
|
625
|
+
when(C.Setup, aws2("GroupPendingInstances", "Maximum", "Count", G.Compute)),
|
|
626
|
+
when(C.Setup, aws2("GroupTerminatingInstances", "Maximum", "Count", G.Compute)),
|
|
627
|
+
],
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
/*
|
|
631
|
+
* An accelerator's endpoints and traffic, on the accelerator's own
|
|
632
|
+
* series (Accelerator alone). Global Accelerator publishes to US West
|
|
633
|
+
* (Oregon) whatever the endpoints' Regions.
|
|
634
|
+
*/
|
|
635
|
+
namespace: "AWS/GlobalAccelerator",
|
|
636
|
+
onlyRegion: "us-west-2",
|
|
637
|
+
metrics: [
|
|
638
|
+
aws2("HealthyEndpointCount", "Minimum", "Count", G.Availability),
|
|
639
|
+
aws2("UnhealthyEndpointCount", "Maximum", "Count", G.Availability),
|
|
640
|
+
when(C.NonZero, aws2("NewFlowCount", "Sum", "Count", G.Connections)),
|
|
641
|
+
when(C.NonZero, aws2("ProcessedBytesIn", "Sum", "Bytes", G.Network)),
|
|
642
|
+
when(C.NonZero, aws2("ProcessedBytesOut", "Sum", "Bytes", G.Network)),
|
|
643
|
+
],
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
/*
|
|
647
|
+
* A user pool's sign-ins, token refreshes and sign-ups, and those
|
|
648
|
+
* throttled. Cognito publishes them for each app client of the pool
|
|
649
|
+
* (UserPool, UserPoolClient), never for the pool alone: a series per
|
|
650
|
+
* client, which add up to the pool's. A pool may only refresh tokens
|
|
651
|
+
* for hours, so a sweep asks for any of the three.
|
|
652
|
+
*/
|
|
653
|
+
namespace: "AWS/Cognito",
|
|
654
|
+
probeMetricNames: [
|
|
655
|
+
"SignInSuccesses",
|
|
656
|
+
"TokenRefreshSuccesses",
|
|
657
|
+
"SignUpSuccesses",
|
|
658
|
+
],
|
|
659
|
+
metrics: [
|
|
660
|
+
aws2("SignInSuccesses", "Sum", "Count", G.Traffic),
|
|
661
|
+
aws2("SignInThrottles", "Sum", "Count", G.Errors),
|
|
662
|
+
aws2("TokenRefreshSuccesses", "Sum", "Count", G.Traffic),
|
|
663
|
+
aws2("TokenRefreshThrottles", "Sum", "Count", G.Errors),
|
|
664
|
+
aws2("SignUpSuccesses", "Sum", "Count", G.Traffic),
|
|
665
|
+
aws2("SignUpThrottles", "Sum", "Count", G.Errors),
|
|
666
|
+
],
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
/*
|
|
670
|
+
* An environment's health, the one metric enhanced health reporting
|
|
671
|
+
* publishes for free: 0 OK, 1 Info, 5 Unknown, 10 No data, 15
|
|
672
|
+
* Warning, 20 Degraded, 25 Severe. Its Maximum is the period's worst.
|
|
673
|
+
* The others are custom metrics CloudWatch charges for, published only
|
|
674
|
+
* when the environment is set to.
|
|
675
|
+
*/
|
|
676
|
+
namespace: "AWS/ElasticBeanstalk",
|
|
677
|
+
metrics: [
|
|
678
|
+
when(C.Setup, aws2("EnvironmentHealth", "Maximum", "None", G.Availability)),
|
|
679
|
+
],
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
// A GraphQL API's own (GraphQLAPIId); its requests are the Region's, not an API's.
|
|
683
|
+
namespace: "AWS/AppSync",
|
|
684
|
+
metrics: [
|
|
685
|
+
aws2("Latency", "Average", "Milliseconds", G.Latency),
|
|
686
|
+
aws2("5XXError", "Sum", "Count", G.Errors),
|
|
687
|
+
aws2("4XXError", "Sum", "Count", G.Errors),
|
|
688
|
+
],
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
/*
|
|
692
|
+
* An endpoint's invocations, published for each production variant of
|
|
693
|
+
* it (EndpointName, VariantName): a series per variant, which add up
|
|
694
|
+
* to the endpoint's. A model's latency is in microseconds.
|
|
695
|
+
*/
|
|
696
|
+
namespace: "AWS/SageMaker",
|
|
697
|
+
metrics: [
|
|
698
|
+
aws2("Invocations", "Sum", "None", G.Traffic),
|
|
699
|
+
aws2("Invocation5XXErrors", "Sum", "None", G.Errors),
|
|
700
|
+
aws2("Invocation4XXErrors", "Sum", "None", G.Errors),
|
|
701
|
+
aws2("ModelLatency", "Average", "Microseconds", G.Latency),
|
|
702
|
+
],
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
/*
|
|
706
|
+
* An AWS Glue job's own, on its JobRunId ALL series (CloudResourceCatalog's
|
|
707
|
+
* rule): each run has a series of its own beside it, with as many
|
|
708
|
+
* dimensions, which is no job's. Glue publishes them every 30 seconds
|
|
709
|
+
* while a job runs, and only for a job whose job metrics are on
|
|
710
|
+
* (--enable-metrics), which its owner turns on for their own use -
|
|
711
|
+
* CloudWatch bills them as custom metrics - so a job without them is
|
|
712
|
+
* never listed and costs nothing to read. Each is the change since
|
|
713
|
+
* Glue's last report (a Sum over the period), but the executors, which
|
|
714
|
+
* are a count at a moment. A sweep asks for the tasks completed, which
|
|
715
|
+
* every running job reports.
|
|
716
|
+
*/
|
|
717
|
+
namespace: "Glue",
|
|
718
|
+
metrics: [
|
|
719
|
+
when(C.Setup, aws3("glue.driver.aggregate.numCompletedTasks", "Sum", "Count", G.Traffic)),
|
|
720
|
+
when(C.Setup, aws3("glue.driver.aggregate.numFailedTasks", "Sum", "Count", G.Errors)),
|
|
721
|
+
when(C.Setup, aws3("glue.driver.aggregate.numKilledTasks", "Sum", "Count", G.Errors)),
|
|
722
|
+
when(C.Setup, aws3("glue.driver.aggregate.recordsRead", "Sum", "Count", G.Traffic)),
|
|
723
|
+
when(C.Setup, aws3("glue.driver.aggregate.bytesRead", "Sum", "Bytes", G.Traffic)),
|
|
724
|
+
when(C.Setup, aws3("glue.driver.ExecutorAllocationManager.executors.numberAllExecutors", "Average", "Count", G.Compute)),
|
|
725
|
+
when(C.Setup, aws3("glue.driver.ExecutorAllocationManager.executors.numberMaxNeededExecutors", "Maximum", "Count", G.Backlog)),
|
|
726
|
+
],
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
/*
|
|
730
|
+
* An Amazon Athena workgroup's queries, published as each query ends,
|
|
731
|
+
* by a workgroup whose "Publish query metrics to CloudWatch" is on (the
|
|
732
|
+
* console's default). The bytes a workgroup's queries scanned have a
|
|
733
|
+
* series of the workgroup's own; its query times only one per query
|
|
734
|
+
* state and type (WorkGroup, QueryState, QueryType), read side by side.
|
|
735
|
+
* A query publishes its times once, so the SampleCount of its
|
|
736
|
+
* TotalExecutionTime is how many queries ended - the failed and
|
|
737
|
+
* cancelled ones apart by their QueryState. A workgroup of DDL alone
|
|
738
|
+
* publishes no bytes, so a sweep asks for its queries too.
|
|
739
|
+
*/
|
|
740
|
+
namespace: "AWS/Athena",
|
|
741
|
+
probeMetricNames: ["ProcessedBytes", "TotalExecutionTime"],
|
|
742
|
+
metrics: [
|
|
743
|
+
when(C.Setup, aws3("ProcessedBytes", "Sum", "Bytes", G.Traffic)),
|
|
744
|
+
when(C.Setup, aws3("TotalExecutionTime", "SampleCount", "Count", G.Traffic)),
|
|
745
|
+
when(C.Setup, aws3("EngineExecutionTime", "Average", "Milliseconds", G.Latency)),
|
|
746
|
+
when(C.Setup, aws3("QueryQueueTime", "Average", "Milliseconds", G.Backlog)),
|
|
471
747
|
],
|
|
472
748
|
},
|
|
473
749
|
{
|
|
@@ -475,9 +751,8 @@ exports.AWS_KEY_METRICS = [
|
|
|
475
751
|
* The days a certificate has left. ACM publishes it twice a day for
|
|
476
752
|
* every certificate until it expires, then stops: read once an hour,
|
|
477
753
|
* and listed whatever its last point's age (isListedWhenQuiet). Its
|
|
478
|
-
* Minimum is the period's one point.
|
|
479
|
-
*
|
|
480
|
-
* count of days.
|
|
754
|
+
* Minimum is the period's one point. No stream writes it
|
|
755
|
+
* (streamedSince null): an hour sooner is nothing to a count of days.
|
|
481
756
|
*/
|
|
482
757
|
namespace: "AWS/CertificateManager",
|
|
483
758
|
isListedWhenQuiet: true,
|
|
@@ -505,6 +780,106 @@ function getAwsProbeMetricNames(entry) {
|
|
|
505
780
|
function getAwsStoredMetricName(namespace, metricName) {
|
|
506
781
|
return `amazonaws.com/${namespace}/${metricName}`;
|
|
507
782
|
}
|
|
783
|
+
// A namespace's key metric by its name, whatever its case.
|
|
784
|
+
function getAwsKeyMetric(namespace, metricName) {
|
|
785
|
+
var _a;
|
|
786
|
+
const wanted = metricName.trim().toLowerCase();
|
|
787
|
+
return (_a = getAwsKeyMetrics(namespace)) === null || _a === void 0 ? void 0 : _a.metrics.find((metric) => {
|
|
788
|
+
return metric.metricName.toLowerCase() === wanted;
|
|
789
|
+
});
|
|
790
|
+
}
|
|
791
|
+
/*
|
|
792
|
+
* The key metric a stored CloudWatch name is ("amazonaws.com/AWS/EC2/
|
|
793
|
+
* CPUUtilization"), with its namespace as the catalog spells it, whatever
|
|
794
|
+
* the case it was stored in - or null for a name no connection reads.
|
|
795
|
+
*/
|
|
796
|
+
function getAwsKeyMetricOfStoredName(storedMetricName) {
|
|
797
|
+
const parsed = parseAwsStoredMetricName(storedMetricName);
|
|
798
|
+
const entry = parsed
|
|
799
|
+
? getAwsKeyMetrics(parsed.namespace)
|
|
800
|
+
: undefined;
|
|
801
|
+
const metric = parsed && entry
|
|
802
|
+
? getAwsKeyMetric(entry.namespace, parsed.metricName)
|
|
803
|
+
: undefined;
|
|
804
|
+
return entry && metric ? { namespace: entry.namespace, metric } : null;
|
|
805
|
+
}
|
|
806
|
+
/*
|
|
807
|
+
* Whether a series of the metric, on these dimensions, is one it is read
|
|
808
|
+
* from (AwsKeyMetric.onlyDimensionValues): every series of a metric that
|
|
809
|
+
* names none, and of one that does, each whose named dimensions are
|
|
810
|
+
* missing or hold one of their values.
|
|
811
|
+
*/
|
|
812
|
+
function isAwsKeyMetricSeries(metric, dimensions) {
|
|
813
|
+
for (const [name, values] of Object.entries(metric.onlyDimensionValues || {})) {
|
|
814
|
+
const value = dimensions[name];
|
|
815
|
+
if (value !== undefined && value !== "" && !values.includes(value)) {
|
|
816
|
+
return false;
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
return true;
|
|
820
|
+
}
|
|
821
|
+
// Whether any stream writes the metric: none writes a daily or hourly one.
|
|
822
|
+
function isAwsKeyMetricStreamable(metric) {
|
|
823
|
+
return metric.streamedSince !== null;
|
|
824
|
+
}
|
|
825
|
+
/*
|
|
826
|
+
* Whether the key-metric filters of a template version carry the metric:
|
|
827
|
+
* a stack made from that version streams it.
|
|
828
|
+
*/
|
|
829
|
+
function isAwsKeyMetricInTemplate(metric, templateVersion) {
|
|
830
|
+
return (metric.streamedSince !== null && metric.streamedSince <= templateVersion);
|
|
831
|
+
}
|
|
832
|
+
/*
|
|
833
|
+
* How many key metrics the current template's filters carry that a
|
|
834
|
+
* stack of an older version does not: what running the command again
|
|
835
|
+
* streams in place of the read.
|
|
836
|
+
*/
|
|
837
|
+
function countAwsKeyMetricsAddedSince(templateVersion) {
|
|
838
|
+
let count = 0;
|
|
839
|
+
for (const entry of exports.AWS_KEY_METRICS) {
|
|
840
|
+
for (const metric of entry.metrics) {
|
|
841
|
+
if (isAwsKeyMetricInTemplate(metric, exports.AWS_STREAM_TEMPLATE_VERSION) &&
|
|
842
|
+
!isAwsKeyMetricInTemplate(metric, templateVersion)) {
|
|
843
|
+
count++;
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
return count;
|
|
848
|
+
}
|
|
849
|
+
/*
|
|
850
|
+
* ---- Azure: Azure Monitor ------------------------------------------------
|
|
851
|
+
*
|
|
852
|
+
* Per resource type: the metrics read, by Azure Monitor's own name, in
|
|
853
|
+
* order. A metric the resource does not publish (its metric definitions
|
|
854
|
+
* do not list it - a vCore database has no DTU) is left out; each is read
|
|
855
|
+
* with the aggregation its definition calls primary, at the finest time
|
|
856
|
+
* grain it offers from a minute up.
|
|
857
|
+
*
|
|
858
|
+
* One Azure Monitor call reads one grain, so each grain finer than an hour
|
|
859
|
+
* is a call of its own for every resource, each read. A type's metrics are
|
|
860
|
+
* read at one such grain - a minute for almost every type - and a metric
|
|
861
|
+
* whose finest grain is five minutes is read only where it is marked as
|
|
862
|
+
* earning the call it takes (AzureKeyMetric.grain): every 15 minutes, three
|
|
863
|
+
* points a call, a third of a call a resource for each five minutes.
|
|
864
|
+
*/
|
|
865
|
+
/*
|
|
866
|
+
* The grain a key metric is marked with when Azure Monitor keeps it at five
|
|
867
|
+
* minutes at its finest, and how often it is read: the read asks for the
|
|
868
|
+
* last 15 minutes of it once they are all there, so each call brings three
|
|
869
|
+
* points (AzureCloudConnector).
|
|
870
|
+
*/
|
|
871
|
+
exports.AZURE_FIVE_MINUTE_GRAIN = "PT5M";
|
|
872
|
+
exports.AZURE_FIVE_MINUTE_READ_MINUTES = 15;
|
|
873
|
+
/*
|
|
874
|
+
* The grain a key metric is marked with when Azure Monitor keeps it at an
|
|
875
|
+
* hour at its finest (#9982): a Storage account's used capacity, a Cosmos
|
|
876
|
+
* DB account's availability, a DNS zone's queries, a registry's storage.
|
|
877
|
+
* It is read as it always was, in its hour's call once an hour (no call is
|
|
878
|
+
* added), and its reading is kept between those reads
|
|
879
|
+
* (AZURE_HOURLY_READING_HOLD_MS, CloudResourceHealth), where every other
|
|
880
|
+
* read would leave it out.
|
|
881
|
+
*/
|
|
882
|
+
exports.AZURE_HOURLY_GRAIN = "PT1H";
|
|
508
883
|
/*
|
|
509
884
|
* At most this many metrics are read per resource: Azure Monitor's own
|
|
510
885
|
* limit for one metrics call, which is billed as one read whatever the
|
|
@@ -533,6 +908,14 @@ exports.AZURE_MAX_SPLIT_SERIES_PER_METRIC = 1000;
|
|
|
533
908
|
function azure(name, group) {
|
|
534
909
|
return { name, group };
|
|
535
910
|
}
|
|
911
|
+
// A metric Azure Monitor keeps at five minutes at its finest, read every 15 minutes.
|
|
912
|
+
function azure5(name, group) {
|
|
913
|
+
return { name, group, grain: exports.AZURE_FIVE_MINUTE_GRAIN };
|
|
914
|
+
}
|
|
915
|
+
// A metric Azure Monitor keeps at an hour at its finest, read once an hour.
|
|
916
|
+
function azure60(name, group) {
|
|
917
|
+
return { name, group, grain: exports.AZURE_HOURLY_GRAIN };
|
|
918
|
+
}
|
|
536
919
|
/*
|
|
537
920
|
* Microsoft's tables marked a virtual machine's network totals "DS Export:
|
|
538
921
|
* No" until 2026 and mark them Yes now. They stay marked here: a stream
|
|
@@ -555,7 +938,8 @@ exports.AZURE_KEY_METRICS = [
|
|
|
555
938
|
azure("Disk Read Bytes", G.Storage),
|
|
556
939
|
azure("Disk Write Bytes", G.Storage),
|
|
557
940
|
azure("VmAvailabilityMetric", G.Availability),
|
|
558
|
-
|
|
941
|
+
// A burstable (B-series) VM's own.
|
|
942
|
+
when(C.Burstable, azure("CPU Credits Remaining", G.Compute)),
|
|
559
943
|
azure("Available Memory Percentage", G.Memory),
|
|
560
944
|
azure("Disk Read Operations/Sec", G.Storage),
|
|
561
945
|
azure("Disk Write Operations/Sec", G.Storage),
|
|
@@ -576,7 +960,8 @@ exports.AZURE_KEY_METRICS = [
|
|
|
576
960
|
azure("Network In Total", G.Network),
|
|
577
961
|
azure("Network Out Total", G.Network),
|
|
578
962
|
azure("VmAvailabilityMetric", G.Availability),
|
|
579
|
-
|
|
963
|
+
// A burstable (B-series) VM's own.
|
|
964
|
+
when(C.Burstable, azure("CPU Credits Remaining", G.Compute)),
|
|
580
965
|
azure("Available Memory Percentage", G.Memory),
|
|
581
966
|
azure("Disk Read Bytes", G.Storage),
|
|
582
967
|
azure("Disk Write Bytes", G.Storage),
|
|
@@ -613,9 +998,16 @@ exports.AZURE_KEY_METRICS = [
|
|
|
613
998
|
azure("Http5xx", G.Errors),
|
|
614
999
|
azure("Http4xx", G.Errors),
|
|
615
1000
|
azure("HttpResponseTime", G.Latency),
|
|
1001
|
+
/*
|
|
1002
|
+
* Its Health check, where one is set: its instances' status, which
|
|
1003
|
+
* reads a failure once an instance is deemed unhealthy. Kept at five
|
|
1004
|
+
* minutes at its finest.
|
|
1005
|
+
*/
|
|
1006
|
+
when(C.Setup, azure5("HealthCheckStatus", G.Availability)),
|
|
616
1007
|
azure("CpuTime", G.Compute),
|
|
617
1008
|
azure("MemoryWorkingSet", G.Memory),
|
|
618
|
-
|
|
1009
|
+
// A function app's own.
|
|
1010
|
+
when(C.Kind, azure("FunctionExecutionCount", G.Traffic)),
|
|
619
1011
|
azure("Http2xx", G.Traffic),
|
|
620
1012
|
azure("RequestsInApplicationQueue", G.Backlog),
|
|
621
1013
|
azure("PrivateBytes", G.Memory),
|
|
@@ -624,7 +1016,7 @@ exports.AZURE_KEY_METRICS = [
|
|
|
624
1016
|
azure("AppConnections", G.Connections),
|
|
625
1017
|
azure("BytesReceived", G.Network),
|
|
626
1018
|
azure("BytesSent", G.Network),
|
|
627
|
-
azure("FunctionExecutionUnits", G.Compute),
|
|
1019
|
+
when(C.Kind, azure("FunctionExecutionUnits", G.Compute)),
|
|
628
1020
|
azure("FileSystemUsage", G.Storage),
|
|
629
1021
|
],
|
|
630
1022
|
},
|
|
@@ -663,7 +1055,8 @@ exports.AZURE_KEY_METRICS = [
|
|
|
663
1055
|
type: "Microsoft.Sql/servers/databases",
|
|
664
1056
|
metrics: [
|
|
665
1057
|
azure("cpu_percent", G.Compute),
|
|
666
|
-
|
|
1058
|
+
// A database or pool on the DTU purchasing model's own.
|
|
1059
|
+
when(C.Tier, azure("dtu_consumption_percent", G.Compute)),
|
|
667
1060
|
azure("storage_percent", G.Storage),
|
|
668
1061
|
azure("connection_failed", G.Connections),
|
|
669
1062
|
azure("deadlock", G.Errors),
|
|
@@ -683,9 +1076,10 @@ exports.AZURE_KEY_METRICS = [
|
|
|
683
1076
|
type: "Microsoft.Sql/servers/elasticpools",
|
|
684
1077
|
metrics: [
|
|
685
1078
|
azure("cpu_percent", G.Compute),
|
|
686
|
-
azure("eDTU_used", G.Compute),
|
|
1079
|
+
when(C.Tier, azure("eDTU_used", G.Compute)),
|
|
687
1080
|
azure("storage_percent", G.Storage),
|
|
688
|
-
|
|
1081
|
+
// A database or pool on the DTU purchasing model's own.
|
|
1082
|
+
when(C.Tier, azure("dtu_consumption_percent", G.Compute)),
|
|
689
1083
|
azure("workers_percent", G.Compute),
|
|
690
1084
|
azure("sessions_percent", G.Connections),
|
|
691
1085
|
azure("log_write_percent", G.Storage),
|
|
@@ -715,7 +1109,8 @@ exports.AZURE_KEY_METRICS = [
|
|
|
715
1109
|
azure("active_connections", G.Connections),
|
|
716
1110
|
azure("connections_failed", G.Connections),
|
|
717
1111
|
azure("is_db_alive", G.Availability),
|
|
718
|
-
|
|
1112
|
+
// A burstable server's own.
|
|
1113
|
+
when(C.Burstable, azure("cpu_credits_remaining", G.Compute)),
|
|
719
1114
|
azure("storage_used", G.Storage),
|
|
720
1115
|
azure("txlogs_storage_used", G.Storage),
|
|
721
1116
|
azure("disk_iops_consumed_percentage", G.Storage),
|
|
@@ -726,7 +1121,7 @@ exports.AZURE_KEY_METRICS = [
|
|
|
726
1121
|
azure("maximum_used_transactionIDs", G.Storage),
|
|
727
1122
|
azure("network_bytes_ingress", G.Network),
|
|
728
1123
|
azure("network_bytes_egress", G.Network),
|
|
729
|
-
azure("physical_replication_delay_in_seconds", G.Replication),
|
|
1124
|
+
when(C.Replica, azure("physical_replication_delay_in_seconds", G.Replication)),
|
|
730
1125
|
],
|
|
731
1126
|
},
|
|
732
1127
|
{
|
|
@@ -746,7 +1141,7 @@ exports.AZURE_KEY_METRICS = [
|
|
|
746
1141
|
azure("lock_deadlocks", G.Errors),
|
|
747
1142
|
azure("network_bytes_ingress", G.Network),
|
|
748
1143
|
azure("network_bytes_egress", G.Network),
|
|
749
|
-
azure("replication_lag", G.Replication),
|
|
1144
|
+
when(C.Replica, azure("replication_lag", G.Replication)),
|
|
750
1145
|
],
|
|
751
1146
|
},
|
|
752
1147
|
{
|
|
@@ -755,23 +1150,44 @@ exports.AZURE_KEY_METRICS = [
|
|
|
755
1150
|
azure("TotalRequests", G.Traffic),
|
|
756
1151
|
azure("TotalRequestUnits", G.Traffic),
|
|
757
1152
|
azure("NormalizedRUConsumption", G.Compute),
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
1153
|
+
/*
|
|
1154
|
+
* The server's latency, by how a client connects: direct (the API
|
|
1155
|
+
* for NoSQL's and Table's SDKs in direct mode), else through the
|
|
1156
|
+
* gateway (every API, MongoDB, Cassandra and Gremlin's always).
|
|
1157
|
+
*/
|
|
1158
|
+
when(C.Kind, azure("ServerSideLatencyDirect", G.Latency)),
|
|
1159
|
+
when(C.Kind, azure("ServerSideLatencyGateway", G.Latency)),
|
|
761
1160
|
azure("ThrottledRequestPercentage", G.Errors),
|
|
762
|
-
|
|
763
|
-
azure("
|
|
1161
|
+
// An account replicated to more than one region's own.
|
|
1162
|
+
when(C.Setup, azure("ReplicationLatency", G.Replication)),
|
|
1163
|
+
azure60("ServiceAvailability", G.Availability),
|
|
1164
|
+
/*
|
|
1165
|
+
* What the account stores, kept at five minutes at its finest: its
|
|
1166
|
+
* data, its indexes and its documents, every container's together.
|
|
1167
|
+
* DataUsage, IndexUsage and DocumentCount are deprecated for these.
|
|
1168
|
+
*/
|
|
1169
|
+
azure5("DataUsageV2", G.Storage),
|
|
1170
|
+
azure5("IndexUsageV2", G.Storage),
|
|
1171
|
+
azure5("DocumentCountV2", G.Storage),
|
|
764
1172
|
],
|
|
1173
|
+
/*
|
|
1174
|
+
* ServerSideLatency, which Microsoft removes from Azure Monitor ("Please
|
|
1175
|
+
* use Server Side Latency Direct and Server Side Latency Gateway to
|
|
1176
|
+
* monitor the latency instead"), is read no more: the monitors built on
|
|
1177
|
+
* it were moved to one of the two (#9739).
|
|
1178
|
+
*/
|
|
765
1179
|
notExportedByDiagnosticSettings: [
|
|
766
1180
|
"TotalRequests",
|
|
767
1181
|
"TotalRequestUnits",
|
|
768
1182
|
"NormalizedRUConsumption",
|
|
769
|
-
"ServerSideLatency",
|
|
770
|
-
"ServerSideLatencyGateway",
|
|
771
1183
|
"ServerSideLatencyDirect",
|
|
1184
|
+
"ServerSideLatencyGateway",
|
|
772
1185
|
"ThrottledRequestPercentage",
|
|
773
1186
|
"ReplicationLatency",
|
|
774
1187
|
"ServiceAvailability",
|
|
1188
|
+
"DataUsageV2",
|
|
1189
|
+
"IndexUsageV2",
|
|
1190
|
+
"DocumentCountV2",
|
|
775
1191
|
],
|
|
776
1192
|
},
|
|
777
1193
|
{
|
|
@@ -792,7 +1208,7 @@ exports.AZURE_KEY_METRICS = [
|
|
|
792
1208
|
azure("totalkeys", G.Cache),
|
|
793
1209
|
azure("usedmemory", G.Memory),
|
|
794
1210
|
azure("LatencyP99", G.Latency),
|
|
795
|
-
azure("GeoReplicationHealthy", G.Replication),
|
|
1211
|
+
when(C.Setup, azure("GeoReplicationHealthy", G.Replication)),
|
|
796
1212
|
],
|
|
797
1213
|
},
|
|
798
1214
|
{
|
|
@@ -812,7 +1228,7 @@ exports.AZURE_KEY_METRICS = [
|
|
|
812
1228
|
azure("expiredkeys", G.Cache),
|
|
813
1229
|
azure("totalkeys", G.Cache),
|
|
814
1230
|
azure("cacheLatency", G.Latency),
|
|
815
|
-
azure("geoReplicationHealthy", G.Replication),
|
|
1231
|
+
when(C.Setup, azure("geoReplicationHealthy", G.Replication)),
|
|
816
1232
|
],
|
|
817
1233
|
},
|
|
818
1234
|
{
|
|
@@ -821,7 +1237,7 @@ exports.AZURE_KEY_METRICS = [
|
|
|
821
1237
|
azure("Transactions", G.Traffic),
|
|
822
1238
|
azure("Availability", G.Availability),
|
|
823
1239
|
azure("SuccessE2ELatency", G.Latency),
|
|
824
|
-
|
|
1240
|
+
azure60("UsedCapacity", G.Storage),
|
|
825
1241
|
azure("SuccessServerLatency", G.Latency),
|
|
826
1242
|
azure("Ingress", G.Network),
|
|
827
1243
|
azure("Egress", G.Network),
|
|
@@ -968,15 +1384,16 @@ exports.AZURE_KEY_METRICS = [
|
|
|
968
1384
|
},
|
|
969
1385
|
{
|
|
970
1386
|
type: "Microsoft.Network/loadBalancers",
|
|
1387
|
+
// A Standard load balancer's: a Basic one publishes none.
|
|
971
1388
|
metrics: [
|
|
972
|
-
azure("VipAvailability", G.Availability),
|
|
973
|
-
azure("DipAvailability", G.Availability),
|
|
974
|
-
azure("ByteCount", G.Traffic),
|
|
975
|
-
azure("PacketCount", G.Traffic),
|
|
976
|
-
azure("SYNCount", G.Connections),
|
|
977
|
-
azure("SnatConnectionCount", G.Connections),
|
|
978
|
-
azure("UsedSnatPorts", G.Connections),
|
|
979
|
-
azure("AllocatedSnatPorts", G.Connections),
|
|
1389
|
+
when(C.Tier, azure("VipAvailability", G.Availability)),
|
|
1390
|
+
when(C.Tier, azure("DipAvailability", G.Availability)),
|
|
1391
|
+
when(C.Tier, azure("ByteCount", G.Traffic)),
|
|
1392
|
+
when(C.Tier, azure("PacketCount", G.Traffic)),
|
|
1393
|
+
when(C.Tier, azure("SYNCount", G.Connections)),
|
|
1394
|
+
when(C.Tier, azure("SnatConnectionCount", G.Connections)),
|
|
1395
|
+
when(C.Tier, azure("UsedSnatPorts", G.Connections)),
|
|
1396
|
+
when(C.Tier, azure("AllocatedSnatPorts", G.Connections)),
|
|
980
1397
|
],
|
|
981
1398
|
notExportedByDiagnosticSettings: ["UsedSnatPorts", "AllocatedSnatPorts"],
|
|
982
1399
|
},
|
|
@@ -993,8 +1410,9 @@ exports.AZURE_KEY_METRICS = [
|
|
|
993
1410
|
azure("CurrentConnections", G.Connections),
|
|
994
1411
|
azure("BytesReceived", G.Network),
|
|
995
1412
|
azure("BytesSent", G.Network),
|
|
996
|
-
|
|
997
|
-
azure("
|
|
1413
|
+
// A v2 gateway's own.
|
|
1414
|
+
when(C.Tier, azure("CapacityUnits", G.Compute)),
|
|
1415
|
+
when(C.Tier, azure("ComputeUnits", G.Compute)),
|
|
998
1416
|
],
|
|
999
1417
|
notExportedByDiagnosticSettings: [
|
|
1000
1418
|
"ApplicationGatewayTotalTime",
|
|
@@ -1065,9 +1483,10 @@ exports.AZURE_KEY_METRICS = [
|
|
|
1065
1483
|
azure("TunnelEgressBytes", G.Network),
|
|
1066
1484
|
azure("TunnelIngressPacketDropCount", G.Errors),
|
|
1067
1485
|
azure("TunnelEgressPacketDropCount", G.Errors),
|
|
1068
|
-
|
|
1069
|
-
azure("
|
|
1070
|
-
azure("
|
|
1486
|
+
// A gateway with BGP, or with point-to-site connections, set up.
|
|
1487
|
+
when(C.Setup, azure("BgpPeerStatus", G.Availability)),
|
|
1488
|
+
when(C.Setup, azure("P2SConnectionCount", G.Connections)),
|
|
1489
|
+
when(C.Setup, azure("P2SBandwidth", G.Network)),
|
|
1071
1490
|
],
|
|
1072
1491
|
notExportedByDiagnosticSettings: ["BgpPeerStatus"],
|
|
1073
1492
|
},
|
|
@@ -1103,8 +1522,8 @@ exports.AZURE_KEY_METRICS = [
|
|
|
1103
1522
|
{
|
|
1104
1523
|
type: "Microsoft.Network/dnszones",
|
|
1105
1524
|
metrics: [
|
|
1106
|
-
|
|
1107
|
-
|
|
1525
|
+
azure60("QueryVolume", G.Traffic),
|
|
1526
|
+
azure60("RecordSetCapacityUtilization", G.Storage),
|
|
1108
1527
|
],
|
|
1109
1528
|
notExportedByDiagnosticSettings: [
|
|
1110
1529
|
"QueryVolume",
|
|
@@ -1149,12 +1568,13 @@ exports.AZURE_KEY_METRICS = [
|
|
|
1149
1568
|
azure("Ratelimit", G.Errors),
|
|
1150
1569
|
azure("DataIn", G.Network),
|
|
1151
1570
|
azure("DataOut", G.Network),
|
|
1152
|
-
|
|
1153
|
-
azure("
|
|
1154
|
-
azure("
|
|
1155
|
-
azure("
|
|
1156
|
-
azure("
|
|
1157
|
-
azure("
|
|
1571
|
+
// An Azure OpenAI account's own.
|
|
1572
|
+
when(C.Kind, azure("AzureOpenAIRequests", G.Traffic)),
|
|
1573
|
+
when(C.Kind, azure("AzureOpenAIAvailabilityRate", G.Availability)),
|
|
1574
|
+
when(C.Kind, azure("AzureOpenAITimeToResponse", G.Latency)),
|
|
1575
|
+
when(C.Kind, azure("ProcessedPromptTokens", G.Traffic)),
|
|
1576
|
+
when(C.Kind, azure("GeneratedTokens", G.Traffic)),
|
|
1577
|
+
when(C.Kind, azure("TokenTransaction", G.Traffic)),
|
|
1158
1578
|
],
|
|
1159
1579
|
notExportedByDiagnosticSettings: ["AzureOpenAIAvailabilityRate"],
|
|
1160
1580
|
},
|
|
@@ -1163,7 +1583,7 @@ exports.AZURE_KEY_METRICS = [
|
|
|
1163
1583
|
metrics: [
|
|
1164
1584
|
azure("TotalPullCount", G.Traffic),
|
|
1165
1585
|
azure("TotalPushCount", G.Traffic),
|
|
1166
|
-
|
|
1586
|
+
azure60("StorageUsed", G.Storage),
|
|
1167
1587
|
azure("SuccessfulPullCount", G.Traffic),
|
|
1168
1588
|
azure("SuccessfulPushCount", G.Traffic),
|
|
1169
1589
|
],
|
|
@@ -1272,8 +1692,9 @@ exports.AZURE_KEY_METRICS = [
|
|
|
1272
1692
|
azure("exceptions/count", G.Errors),
|
|
1273
1693
|
azure("dependencies/failed", G.Errors),
|
|
1274
1694
|
azure("dependencies/duration", G.Latency),
|
|
1275
|
-
|
|
1276
|
-
azure("
|
|
1695
|
+
// An availability test's, and the browser SDK's page views.
|
|
1696
|
+
when(C.Setup, azure("availabilityResults/availabilityPercentage", G.Availability)),
|
|
1697
|
+
when(C.Setup, azure("pageViews/count", G.Traffic)),
|
|
1277
1698
|
],
|
|
1278
1699
|
notExportedByDiagnosticSettings: [
|
|
1279
1700
|
"requests/count",
|
|
@@ -1315,6 +1736,40 @@ function getAzureKeyMetricNames(type) {
|
|
|
1315
1736
|
return metric.name;
|
|
1316
1737
|
});
|
|
1317
1738
|
}
|
|
1739
|
+
/*
|
|
1740
|
+
* Every metric a read asks of a resource of the type, in order: its key
|
|
1741
|
+
* metrics, then the deprecated ones it still reads for the monitors built
|
|
1742
|
+
* on them (AzureTypeKeyMetrics.retired).
|
|
1743
|
+
*/
|
|
1744
|
+
function getAzureReadMetricNames(keyMetrics) {
|
|
1745
|
+
return [
|
|
1746
|
+
...keyMetrics.metrics.map((metric) => {
|
|
1747
|
+
return metric.name;
|
|
1748
|
+
}),
|
|
1749
|
+
...(keyMetrics.retired || []).map((metric) => {
|
|
1750
|
+
return metric.name;
|
|
1751
|
+
}),
|
|
1752
|
+
];
|
|
1753
|
+
}
|
|
1754
|
+
/*
|
|
1755
|
+
* Whether a key metric of the type is marked as read at five minutes
|
|
1756
|
+
* (AzureKeyMetric.grain), whatever the case of its name.
|
|
1757
|
+
*/
|
|
1758
|
+
function isAzureFiveMinuteKeyMetric(type, metricName) {
|
|
1759
|
+
var _a;
|
|
1760
|
+
const wanted = (metricName || "").trim().toLowerCase();
|
|
1761
|
+
return Boolean((_a = getAzureKeyMetrics(type || "")) === null || _a === void 0 ? void 0 : _a.metrics.some((metric) => {
|
|
1762
|
+
return (metric.grain === exports.AZURE_FIVE_MINUTE_GRAIN &&
|
|
1763
|
+
metric.name.toLowerCase() === wanted);
|
|
1764
|
+
}));
|
|
1765
|
+
}
|
|
1766
|
+
// Whether a type has a key metric read at five minutes: a call of its own.
|
|
1767
|
+
function hasAzureFiveMinuteKeyMetrics(type) {
|
|
1768
|
+
var _a;
|
|
1769
|
+
return Boolean((_a = getAzureKeyMetrics(type || "")) === null || _a === void 0 ? void 0 : _a.metrics.some((metric) => {
|
|
1770
|
+
return metric.grain === exports.AZURE_FIVE_MINUTE_GRAIN;
|
|
1771
|
+
}));
|
|
1772
|
+
}
|
|
1318
1773
|
/*
|
|
1319
1774
|
* The stored name of an Azure Monitor metric, as the azure_monitor
|
|
1320
1775
|
* receiver writes it: "azure_" + the name with spaces as underscores + "_"
|
|
@@ -1424,9 +1879,33 @@ function isAzureStreamedKeyMetricStoredName(type, storedMetricName) {
|
|
|
1424
1879
|
const metric = getAzureKeyMetricOfStoredName(type, storedMetricName);
|
|
1425
1880
|
return metric !== null && isAzureStreamedKeyMetric(type, metric);
|
|
1426
1881
|
}
|
|
1882
|
+
/*
|
|
1883
|
+
* Who reports a metric when Google Cloud does not itself: the Ops Agent,
|
|
1884
|
+
* installed on a Compute Engine VM, which publishes what the hypervisor
|
|
1885
|
+
* cannot see - how full the VM's memory and disks are - under
|
|
1886
|
+
* agent.googleapis.com.
|
|
1887
|
+
*/
|
|
1888
|
+
exports.GCP_OPS_AGENT = "ops-agent";
|
|
1889
|
+
// Google's instructions for installing the Ops Agent on a VM.
|
|
1890
|
+
exports.GCP_OPS_AGENT_INSTALL_URL = "https://docs.cloud.google.com/stackdriver/docs/solutions/agents/ops-agent/installation";
|
|
1427
1891
|
exports.GCP_ALIGNMENT_PERIOD_SECONDS = 60;
|
|
1428
|
-
function gcp(metricType, aligner, unit, group) {
|
|
1429
|
-
return {
|
|
1892
|
+
function gcp(metricType, aligner, unit, group, options = {}) {
|
|
1893
|
+
return {
|
|
1894
|
+
metricType,
|
|
1895
|
+
aligner,
|
|
1896
|
+
unit,
|
|
1897
|
+
group,
|
|
1898
|
+
...(options.readAs ? { readAs: options.readAs } : {}),
|
|
1899
|
+
...(options.metricLabels ? { metricLabels: options.metricLabels } : {}),
|
|
1900
|
+
...(options.reportedBy ? { reportedBy: options.reportedBy } : {}),
|
|
1901
|
+
};
|
|
1902
|
+
}
|
|
1903
|
+
// Reported by the Ops Agent: a VM's own memory or disks, in their "used" state.
|
|
1904
|
+
function opsAgent(metricType, group) {
|
|
1905
|
+
return gcp(metricType, "ALIGN_MEAN", "%", group, {
|
|
1906
|
+
metricLabels: { state: "used" },
|
|
1907
|
+
reportedBy: exports.GCP_OPS_AGENT,
|
|
1908
|
+
});
|
|
1430
1909
|
}
|
|
1431
1910
|
exports.GCP_KEY_METRICS = [
|
|
1432
1911
|
{
|
|
@@ -1435,8 +1914,14 @@ exports.GCP_KEY_METRICS = [
|
|
|
1435
1914
|
gcp("compute.googleapis.com/instance/cpu/utilization", "ALIGN_MEAN", "1", G.Compute),
|
|
1436
1915
|
gcp("compute.googleapis.com/instance/network/received_bytes_count", "ALIGN_RATE", "By/s", G.Network),
|
|
1437
1916
|
gcp("compute.googleapis.com/instance/network/sent_bytes_count", "ALIGN_RATE", "By/s", G.Network),
|
|
1917
|
+
/*
|
|
1918
|
+
* How full the VM's memory is, and each of its disks (a series per
|
|
1919
|
+
* device): only the Ops Agent on the VM sees it.
|
|
1920
|
+
*/
|
|
1921
|
+
opsAgent("agent.googleapis.com/memory/percent_used", G.Memory),
|
|
1922
|
+
opsAgent("agent.googleapis.com/disk/percent_used", G.Storage),
|
|
1438
1923
|
// Only an E2 instance reports it.
|
|
1439
|
-
gcp("compute.googleapis.com/instance/memory/balloon/ram_used", "ALIGN_MEAN", "By", G.Memory),
|
|
1924
|
+
when(C.Kind, gcp("compute.googleapis.com/instance/memory/balloon/ram_used", "ALIGN_MEAN", "By", G.Memory)),
|
|
1440
1925
|
gcp("compute.googleapis.com/instance/disk/read_bytes_count", "ALIGN_RATE", "By/s", G.Storage),
|
|
1441
1926
|
gcp("compute.googleapis.com/instance/disk/write_bytes_count", "ALIGN_RATE", "By/s", G.Storage),
|
|
1442
1927
|
gcp("compute.googleapis.com/instance/disk/read_ops_count", "ALIGN_RATE", "1/s", G.Storage),
|
|
@@ -1458,7 +1943,7 @@ exports.GCP_KEY_METRICS = [
|
|
|
1458
1943
|
gcp("cloudsql.googleapis.com/database/network/received_bytes_count", "ALIGN_RATE", "By/s", G.Network),
|
|
1459
1944
|
gcp("cloudsql.googleapis.com/database/network/sent_bytes_count", "ALIGN_RATE", "By/s", G.Network),
|
|
1460
1945
|
// Only a replica reports it.
|
|
1461
|
-
gcp("cloudsql.googleapis.com/database/replication/replica_lag", "ALIGN_MAX", "s", G.Replication),
|
|
1946
|
+
when(C.Replica, gcp("cloudsql.googleapis.com/database/replication/replica_lag", "ALIGN_MAX", "s", G.Replication)),
|
|
1462
1947
|
],
|
|
1463
1948
|
},
|
|
1464
1949
|
{
|
|
@@ -1523,21 +2008,27 @@ exports.GCP_KEY_METRICS = [
|
|
|
1523
2008
|
gcp("pubsub.googleapis.com/subscription/sent_message_count", "ALIGN_RATE", "1/s", G.Traffic),
|
|
1524
2009
|
gcp("pubsub.googleapis.com/subscription/ack_message_count", "ALIGN_RATE", "1/s", G.Traffic),
|
|
1525
2010
|
gcp("pubsub.googleapis.com/subscription/expired_ack_deadlines_count", "ALIGN_RATE", "1/s", G.Errors),
|
|
1526
|
-
|
|
2011
|
+
// A subscription with a dead-letter topic's own.
|
|
2012
|
+
when(C.Setup, gcp("pubsub.googleapis.com/subscription/dead_letter_message_count", "ALIGN_RATE", "1/s", G.Errors)),
|
|
1527
2013
|
],
|
|
1528
2014
|
},
|
|
1529
2015
|
{
|
|
1530
2016
|
resourceType: "pubsub_topic",
|
|
1531
2017
|
metrics: [
|
|
1532
2018
|
/*
|
|
1533
|
-
*
|
|
1534
|
-
*
|
|
1535
|
-
*
|
|
2019
|
+
* The messages published each minute: how many sizes the topic's
|
|
2020
|
+
* message size distribution holds, as Google says to count them
|
|
2021
|
+
* ("Apply a count aggregator on topic/message_sizes").
|
|
1536
2022
|
*/
|
|
1537
|
-
gcp("pubsub.googleapis.com/topic/
|
|
2023
|
+
gcp("pubsub.googleapis.com/topic/message_sizes", "ALIGN_SUM", "1", G.Traffic, { readAs: "count" }),
|
|
1538
2024
|
gcp("pubsub.googleapis.com/topic/send_request_count", "ALIGN_RATE", "1/s", G.Traffic),
|
|
1539
2025
|
gcp("pubsub.googleapis.com/topic/message_sizes", "ALIGN_PERCENTILE_95", "By", G.Traffic),
|
|
1540
2026
|
],
|
|
2027
|
+
/*
|
|
2028
|
+
* topic/send_message_operation_count, which Google deprecates ("Apply a
|
|
2029
|
+
* count aggregator on topic/message_sizes instead"), is read no more:
|
|
2030
|
+
* the monitors built on it were moved to the count above (#9739).
|
|
2031
|
+
*/
|
|
1541
2032
|
},
|
|
1542
2033
|
{
|
|
1543
2034
|
resourceType: "redis_instance",
|
|
@@ -1551,7 +2042,8 @@ exports.GCP_KEY_METRICS = [
|
|
|
1551
2042
|
gcp("redis.googleapis.com/stats/cpu_utilization", "ALIGN_RATE", "s{CPU}/s", G.Compute),
|
|
1552
2043
|
gcp("redis.googleapis.com/stats/reject_connections_count", "ALIGN_RATE", "1/s", G.Errors),
|
|
1553
2044
|
gcp("redis.googleapis.com/stats/network_traffic", "ALIGN_RATE", "By/s", G.Network),
|
|
1554
|
-
|
|
2045
|
+
// A Standard Tier instance's, with its read replicas.
|
|
2046
|
+
when(C.Tier, gcp("redis.googleapis.com/replication/master/slaves/lag", "ALIGN_MAX", "s", G.Replication)),
|
|
1555
2047
|
],
|
|
1556
2048
|
},
|
|
1557
2049
|
{
|
|
@@ -1618,32 +2110,96 @@ exports.GCP_KEY_METRICS = [
|
|
|
1618
2110
|
},
|
|
1619
2111
|
];
|
|
1620
2112
|
/*
|
|
1621
|
-
*
|
|
1622
|
-
*
|
|
2113
|
+
* The name a Google Cloud metric is stored under, as its readings, its
|
|
2114
|
+
* monitors and its resource's page know it: its metric type - or, for a
|
|
2115
|
+
* distribution read for its count (GcpKeyMetric.readAs), the type and
|
|
2116
|
+
* "_count": "pubsub.googleapis.com/topic/message_sizes_count", the way
|
|
2117
|
+
* Cloud Monitoring's PromQL names a distribution's count.
|
|
2118
|
+
*/
|
|
2119
|
+
function getGcpStoredMetricName(metric) {
|
|
2120
|
+
return metric.readAs === "count"
|
|
2121
|
+
? `${metric.metricType}_count`
|
|
2122
|
+
: metric.metricType;
|
|
2123
|
+
}
|
|
2124
|
+
/*
|
|
2125
|
+
* Every metric a read may ask a project for, once by the name it is stored
|
|
2126
|
+
* under - a metric type two resource types report is one call, and a
|
|
2127
|
+
* distribution read both for a percentile and for its count is two - with
|
|
2128
|
+
* the resource types it is listed under: the key metrics in the catalog's
|
|
2129
|
+
* order, then the deprecated ones still read (GcpTypeKeyMetrics.retired).
|
|
2130
|
+
*/
|
|
2131
|
+
function getGcpReadMetrics() {
|
|
2132
|
+
const byName = new Map();
|
|
2133
|
+
const add = (metric, resourceType, isRetired) => {
|
|
2134
|
+
const storedName = getGcpStoredMetricName(metric);
|
|
2135
|
+
const known = byName.get(storedName);
|
|
2136
|
+
if (known) {
|
|
2137
|
+
if (!known.resourceTypes.includes(resourceType)) {
|
|
2138
|
+
known.resourceTypes.push(resourceType);
|
|
2139
|
+
}
|
|
2140
|
+
return;
|
|
2141
|
+
}
|
|
2142
|
+
byName.set(storedName, {
|
|
2143
|
+
...metric,
|
|
2144
|
+
resourceType,
|
|
2145
|
+
resourceTypes: [resourceType],
|
|
2146
|
+
storedName,
|
|
2147
|
+
isRetired,
|
|
2148
|
+
});
|
|
2149
|
+
};
|
|
2150
|
+
for (const entry of exports.GCP_KEY_METRICS) {
|
|
2151
|
+
for (const metric of entry.metrics) {
|
|
2152
|
+
add(metric, entry.resourceType, false);
|
|
2153
|
+
}
|
|
2154
|
+
}
|
|
2155
|
+
for (const entry of exports.GCP_KEY_METRICS) {
|
|
2156
|
+
for (const retired of entry.retired || []) {
|
|
2157
|
+
add(retired.metric, entry.resourceType, true);
|
|
2158
|
+
}
|
|
2159
|
+
}
|
|
2160
|
+
return Array.from(byName.values());
|
|
2161
|
+
}
|
|
2162
|
+
/*
|
|
2163
|
+
* Every key metric read, once by the name it is stored under, with the
|
|
2164
|
+
* first resource type it is listed under: a type two resource types report
|
|
2165
|
+
* is one call.
|
|
1623
2166
|
*/
|
|
1624
2167
|
function getGcpKeyMetricTypes() {
|
|
1625
2168
|
const metrics = [];
|
|
1626
2169
|
const seen = new Set();
|
|
1627
2170
|
for (const entry of exports.GCP_KEY_METRICS) {
|
|
1628
2171
|
for (const metric of entry.metrics) {
|
|
1629
|
-
|
|
2172
|
+
const storedName = getGcpStoredMetricName(metric);
|
|
2173
|
+
if (seen.has(storedName)) {
|
|
1630
2174
|
continue;
|
|
1631
2175
|
}
|
|
1632
|
-
seen.add(
|
|
2176
|
+
seen.add(storedName);
|
|
1633
2177
|
metrics.push({ ...metric, resourceType: entry.resourceType });
|
|
1634
2178
|
}
|
|
1635
2179
|
}
|
|
1636
2180
|
return metrics;
|
|
1637
2181
|
}
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
2182
|
+
/*
|
|
2183
|
+
* How many deprecated metrics a Google Cloud type is still read for, beside
|
|
2184
|
+
* its key metrics (GcpTypeKeyMetrics.retired): each a time series a
|
|
2185
|
+
* resource a read, which the cost estimate counts.
|
|
2186
|
+
*/
|
|
2187
|
+
function getGcpRetiredMetricCount(resourceType) {
|
|
2188
|
+
var _a, _b;
|
|
2189
|
+
return (((_b = (_a = exports.GCP_KEY_METRICS.find((entry) => {
|
|
2190
|
+
return entry.resourceType === resourceType;
|
|
2191
|
+
})) === null || _a === void 0 ? void 0 : _a.retired) === null || _b === void 0 ? void 0 : _b.length) || 0);
|
|
2192
|
+
}
|
|
2193
|
+
/*
|
|
2194
|
+
* The resource types a metric is listed under, by the name it is stored
|
|
2195
|
+
* under (a metric type, for all but a distribution's count), in the
|
|
2196
|
+
* catalog's order - a deprecated one still read among them.
|
|
2197
|
+
*/
|
|
2198
|
+
function getGcpResourceTypesOfMetric(storedName) {
|
|
2199
|
+
var _a;
|
|
2200
|
+
return (((_a = getGcpReadMetrics().find((metric) => {
|
|
2201
|
+
return metric.storedName === storedName;
|
|
2202
|
+
})) === null || _a === void 0 ? void 0 : _a.resourceTypes) || []);
|
|
1647
2203
|
}
|
|
1648
2204
|
// The CloudWatch namespace an AWS resource type is read from.
|
|
1649
2205
|
function getAwsNamespaceOfType(type) {
|
|
@@ -1656,7 +2212,9 @@ function getAwsNamespaceOfType(type) {
|
|
|
1656
2212
|
}
|
|
1657
2213
|
/*
|
|
1658
2214
|
* How many key metrics a resource type has, for the docs and the cost
|
|
1659
|
-
* estimate. AWS takes a CloudFormation type or a namespace.
|
|
2215
|
+
* estimate. AWS takes a CloudFormation type or a namespace. A Google Cloud
|
|
2216
|
+
* type's Ops Agent metrics are not counted: they are read only from a VM
|
|
2217
|
+
* that runs the agent, and cost nothing where none does.
|
|
1660
2218
|
*/
|
|
1661
2219
|
function getKeyMetricCount(provider, typeOrNamespace) {
|
|
1662
2220
|
var _a, _b, _c;
|
|
@@ -1669,8 +2227,12 @@ function getKeyMetricCount(provider, typeOrNamespace) {
|
|
|
1669
2227
|
}
|
|
1670
2228
|
return (((_c = exports.GCP_KEY_METRICS.find((entry) => {
|
|
1671
2229
|
return entry.resourceType === typeOrNamespace;
|
|
1672
|
-
})) === null || _c === void 0 ? void 0 : _c.metrics.
|
|
2230
|
+
})) === null || _c === void 0 ? void 0 : _c.metrics.filter((metric) => {
|
|
2231
|
+
return !metric.reportedBy;
|
|
2232
|
+
}).length) || 0);
|
|
1673
2233
|
}
|
|
2234
|
+
// Azure Monitor's five-minute grain, as seconds between two points.
|
|
2235
|
+
const AZURE_FIVE_MINUTE_GRAIN_SECONDS = 300;
|
|
1674
2236
|
/*
|
|
1675
2237
|
* The CloudWatch namespace and metric of a stored CloudWatch name
|
|
1676
2238
|
* ("amazonaws.com/AWS/EC2/CPUUtilization" -> AWS/EC2, CPUUtilization),
|
|
@@ -1721,7 +2283,15 @@ function findAzureKeyMetric(type, storedMetricName) {
|
|
|
1721
2283
|
if (rank < 0) {
|
|
1722
2284
|
return null;
|
|
1723
2285
|
}
|
|
1724
|
-
|
|
2286
|
+
const metric = metrics[rank];
|
|
2287
|
+
return {
|
|
2288
|
+
name: metric.name,
|
|
2289
|
+
group: metric.group,
|
|
2290
|
+
rank,
|
|
2291
|
+
...(metric.grain === exports.AZURE_FIVE_MINUTE_GRAIN
|
|
2292
|
+
? { intervalSeconds: AZURE_FIVE_MINUTE_GRAIN_SECONDS }
|
|
2293
|
+
: {}),
|
|
2294
|
+
};
|
|
1725
2295
|
}
|
|
1726
2296
|
function findGcpKeyMetric(type, storedMetricName) {
|
|
1727
2297
|
const wanted = (storedMetricName || "").trim().toLowerCase();
|
|
@@ -1729,13 +2299,13 @@ function findGcpKeyMetric(type, storedMetricName) {
|
|
|
1729
2299
|
let found = null;
|
|
1730
2300
|
for (const entry of exports.GCP_KEY_METRICS) {
|
|
1731
2301
|
const rank = entry.metrics.findIndex((metric) => {
|
|
1732
|
-
return metric.
|
|
2302
|
+
return getGcpStoredMetricName(metric).toLowerCase() === wanted;
|
|
1733
2303
|
});
|
|
1734
2304
|
if (rank < 0) {
|
|
1735
2305
|
continue;
|
|
1736
2306
|
}
|
|
1737
2307
|
const reference = {
|
|
1738
|
-
name: entry.metrics[rank]
|
|
2308
|
+
name: getGcpStoredMetricName(entry.metrics[rank]),
|
|
1739
2309
|
group: entry.metrics[rank].group,
|
|
1740
2310
|
rank,
|
|
1741
2311
|
};
|