@oneuptime/common 15.0.0 → 17.0.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/RumProductAnalyticsEvent.js +15 -6
- package/Models/AnalyticsModels/RumProductAnalyticsSession.js +27 -10
- package/Models/AnalyticsModels/RumProductAnalyticsUser.js +16 -4
- package/Models/AnalyticsModels/RumSession.js +12 -0
- package/Models/DatabaseModels/AIAgent.js +2 -0
- package/Models/DatabaseModels/AIAgentTaskPullRequest.d.mts +2 -0
- package/Models/DatabaseModels/AIAgentTaskPullRequest.d.ts +2 -0
- package/Models/DatabaseModels/AIAgentTaskPullRequest.js +62 -0
- package/Models/DatabaseModels/AIRun.d.mts +2 -0
- package/Models/DatabaseModels/AIRun.d.ts +2 -0
- package/Models/DatabaseModels/AIRun.js +63 -0
- package/Models/DatabaseModels/AlertSeverity.js +12 -3
- package/Models/DatabaseModels/CustomNotificationChannel.js +17 -9
- package/Models/DatabaseModels/DataAsset.d.mts +1 -0
- package/Models/DatabaseModels/DataAsset.d.ts +1 -0
- package/Models/DatabaseModels/DataAsset.js +23 -0
- package/Models/DatabaseModels/DataBiConnection.d.mts +2 -1
- package/Models/DatabaseModels/DataBiConnection.d.ts +2 -1
- package/Models/DatabaseModels/DataBiConnection.js +15 -0
- package/Models/DatabaseModels/DataCheck.d.mts +3 -0
- package/Models/DatabaseModels/DataCheck.d.ts +3 -0
- package/Models/DatabaseModels/DataCheck.js +49 -0
- package/Models/DatabaseModels/DataDashboard.d.mts +1 -0
- package/Models/DatabaseModels/DataDashboard.d.ts +1 -0
- package/Models/DatabaseModels/DataDashboard.js +15 -0
- package/Models/DatabaseModels/DataPipeline.d.mts +1 -0
- package/Models/DatabaseModels/DataPipeline.d.ts +1 -0
- package/Models/DatabaseModels/DataPipeline.js +25 -0
- package/Models/DatabaseModels/DataPipelineOwnerTeam.d.mts +19 -0
- package/Models/DatabaseModels/DataPipelineOwnerTeam.d.ts +19 -0
- package/Models/DatabaseModels/DataPipelineOwnerTeam.js +477 -0
- package/Models/DatabaseModels/DataPipelineOwnerTeam.mjs +2 -0
- package/Models/DatabaseModels/DataPipelineOwnerUser.d.mts +18 -0
- package/Models/DatabaseModels/DataPipelineOwnerUser.d.ts +18 -0
- package/Models/DatabaseModels/DataPipelineOwnerUser.js +476 -0
- package/Models/DatabaseModels/DataPipelineOwnerUser.mjs +2 -0
- package/Models/DatabaseModels/DataProduct.js +3 -2
- package/Models/DatabaseModels/DataStore.d.mts +1 -0
- package/Models/DatabaseModels/DataStore.d.ts +1 -0
- package/Models/DatabaseModels/DataStore.js +23 -0
- package/Models/DatabaseModels/DataStoreFinding.d.mts +2 -0
- package/Models/DatabaseModels/DataStoreFinding.d.ts +2 -0
- package/Models/DatabaseModels/DataStoreFinding.js +21 -0
- package/Models/DatabaseModels/EmailLog.d.mts +1 -0
- package/Models/DatabaseModels/EmailLog.d.ts +1 -0
- package/Models/DatabaseModels/EmailLog.js +35 -0
- package/Models/DatabaseModels/GlobalConfig.d.mts +5 -0
- package/Models/DatabaseModels/GlobalConfig.d.ts +5 -0
- package/Models/DatabaseModels/GlobalConfig.js +129 -1
- package/Models/DatabaseModels/GlobalOidc.d.mts +1 -0
- package/Models/DatabaseModels/GlobalOidc.d.ts +1 -0
- package/Models/DatabaseModels/GlobalOidc.js +29 -0
- package/Models/DatabaseModels/IncidentSeverity.js +12 -3
- package/Models/DatabaseModels/Index.js +6 -0
- package/Models/DatabaseModels/IoTDeviceCredential.js +3 -1
- package/Models/DatabaseModels/Monitor.d.mts +4 -0
- package/Models/DatabaseModels/Monitor.d.ts +4 -0
- package/Models/DatabaseModels/Monitor.js +126 -5
- package/Models/DatabaseModels/NetworkDevice.d.mts +1 -0
- package/Models/DatabaseModels/NetworkDevice.d.ts +1 -0
- package/Models/DatabaseModels/NetworkDevice.js +92 -17
- package/Models/DatabaseModels/NetworkDeviceAutoImportRule.js +2 -2
- package/Models/DatabaseModels/NetworkDeviceDiscoveryScan.js +38 -15
- package/Models/DatabaseModels/NetworkSnmpCredentialProfile.js +4 -4
- package/Models/DatabaseModels/OnCallDutyPolicyEscalationRule.js +1 -1
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.mts +6 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.ts +6 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +156 -1
- package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayer.js +1 -1
- package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayerUser.js +1 -1
- package/Models/DatabaseModels/OpenStackProjectNotice.js +29 -10
- package/Models/DatabaseModels/Probe.d.mts +4 -0
- package/Models/DatabaseModels/Probe.d.ts +4 -0
- package/Models/DatabaseModels/Probe.js +102 -0
- package/Models/DatabaseModels/ProductFeedback.d.mts +2 -1
- package/Models/DatabaseModels/ProductFeedback.d.ts +2 -1
- package/Models/DatabaseModels/ProductFeedback.js +34 -2
- package/Models/DatabaseModels/Project.d.mts +4 -1
- package/Models/DatabaseModels/Project.d.ts +4 -1
- package/Models/DatabaseModels/Project.js +147 -7
- package/Models/DatabaseModels/ProjectCallSMSConfig.js +8 -2
- package/Models/DatabaseModels/ProjectOidc.d.mts +1 -0
- package/Models/DatabaseModels/ProjectOidc.d.ts +1 -0
- package/Models/DatabaseModels/ProjectOidc.js +46 -0
- package/Models/DatabaseModels/ProjectSCIM.d.mts +2 -1
- package/Models/DatabaseModels/ProjectSCIM.d.ts +2 -1
- package/Models/DatabaseModels/ProjectSCIM.js +21 -9
- package/Models/DatabaseModels/Reseller.js +8 -2
- package/Models/DatabaseModels/ResellerPlan.js +12 -3
- package/Models/DatabaseModels/RumApplication.d.mts +1 -0
- package/Models/DatabaseModels/RumApplication.d.ts +1 -0
- package/Models/DatabaseModels/RumApplication.js +58 -0
- package/Models/DatabaseModels/RumSessionErasureRequest.d.mts +1 -0
- package/Models/DatabaseModels/RumSessionErasureRequest.d.ts +1 -0
- package/Models/DatabaseModels/RumSessionErasureRequest.js +40 -0
- package/Models/DatabaseModels/Runbook.js +3 -2
- package/Models/DatabaseModels/Runner.js +2 -0
- package/Models/DatabaseModels/SecurityCaseTask.d.mts +1 -0
- package/Models/DatabaseModels/SecurityCaseTask.d.ts +1 -0
- package/Models/DatabaseModels/SecurityCaseTask.js +27 -0
- package/Models/DatabaseModels/ServerEmailLog.d.mts +12 -0
- package/Models/DatabaseModels/ServerEmailLog.d.ts +12 -0
- package/Models/DatabaseModels/ServerEmailLog.js +206 -0
- package/Models/DatabaseModels/ServerEmailLog.mjs +2 -0
- package/Models/DatabaseModels/StatusPage.js +3 -2
- package/Models/DatabaseModels/StatusPageGroup.js +1 -1
- package/Models/DatabaseModels/StatusPageResource.js +1 -1
- package/Models/DatabaseModels/StatusPageSCIM.d.mts +2 -1
- package/Models/DatabaseModels/StatusPageSCIM.d.ts +2 -1
- package/Models/DatabaseModels/StatusPageSCIM.js +17 -8
- package/Models/DatabaseModels/StatusPageSubscriber.js +35 -15
- package/Models/DatabaseModels/TelemetryException.js +15 -2
- package/Models/DatabaseModels/TelemetryIngestionKey.d.mts +2 -0
- package/Models/DatabaseModels/TelemetryIngestionKey.d.ts +2 -0
- package/Models/DatabaseModels/TelemetryIngestionKey.js +46 -1
- package/Models/DatabaseModels/User.d.mts +3 -0
- package/Models/DatabaseModels/User.d.ts +3 -0
- package/Models/DatabaseModels/User.js +66 -0
- package/Models/DatabaseModels/UserSession.d.mts +1 -0
- package/Models/DatabaseModels/UserSession.d.ts +1 -0
- package/Models/DatabaseModels/UserSession.js +32 -0
- package/Models/DatabaseModels/UserWebhook.js +25 -17
- package/Models/DatabaseModels/WebhookLog.js +12 -2
- package/Models/DatabaseModels/Workflow.d.mts +3 -0
- package/Models/DatabaseModels/Workflow.d.ts +3 -0
- package/Models/DatabaseModels/Workflow.js +70 -1
- package/Models/DatabaseModels/WorkspaceLiveMessage.js +21 -15
- package/Models/DatabaseModels/WorkspaceNotificationLog.js +17 -9
- package/Models/DatabaseModels/WorkspaceNotificationRule.js +8 -2
- package/Models/DatabaseModels/WorkspaceNotificationSummary.js +1 -1
- package/Server/Services/DatabaseService.d.mts +27 -1
- package/Server/Services/DatabaseService.d.ts +27 -1
- package/Server/Utils/Workspace/WorkspaceBase.d.mts +1 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.ts +1 -0
- package/Types/AI/AIActionWords.js +2 -1
- package/Types/AI/AIChatPageContext.d.mts +1 -0
- package/Types/AI/AIChatPageContext.d.ts +1 -0
- package/Types/AI/AIChatPageContext.js +6 -0
- package/Types/AI/AIRunProducts.d.mts +14 -0
- package/Types/AI/AIRunProducts.d.ts +14 -0
- package/Types/AI/AIRunProducts.js +40 -0
- package/Types/AI/AIRunProducts.mjs +2 -0
- package/Types/AI/AskAiRatings.d.mts +31 -0
- package/Types/AI/AskAiRatings.d.ts +31 -0
- package/Types/AI/AskAiRatings.js +173 -0
- package/Types/AI/AskAiRatings.mjs +13 -0
- package/Types/AI/CarriedRecords.d.mts +35 -0
- package/Types/AI/CarriedRecords.d.ts +35 -0
- package/Types/AI/CarriedRecords.js +211 -0
- package/Types/AI/CarriedRecords.mjs +3 -0
- package/Types/Accounts/SetPasswordLink.d.mts +6 -0
- package/Types/Accounts/SetPasswordLink.d.ts +6 -0
- package/Types/Accounts/SetPasswordLink.js +47 -0
- package/Types/Accounts/SetPasswordLink.mjs +7 -0
- package/Types/Accounts/SignUpInvitation.d.mts +12 -0
- package/Types/Accounts/SignUpInvitation.d.ts +12 -0
- package/Types/Accounts/SignUpInvitation.js +84 -0
- package/Types/Accounts/SignUpInvitation.mjs +5 -0
- package/Types/Analytics/ActivationMilestone.d.mts +2 -1
- package/Types/Analytics/ActivationMilestone.d.ts +2 -1
- package/Types/Analytics/ActivationMilestone.js +11 -0
- package/Types/Analytics/ProductEvent.d.mts +11 -0
- package/Types/Analytics/ProductEvent.d.ts +11 -0
- package/Types/Analytics/ProductEvent.js +166 -13
- package/Types/Analytics/ProductEvent.mjs +3 -0
- package/Types/Backup/BackupScriptRun.d.mts +17 -0
- package/Types/Backup/BackupScriptRun.d.ts +17 -0
- package/Types/Backup/BackupScriptRun.js +96 -0
- package/Types/Backup/BackupScriptRun.mjs +6 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.mts +2 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.ts +2 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionPropsUtil.js +1 -1
- package/Types/BaseDatabase/ReadAudience.d.mts +9 -0
- package/Types/BaseDatabase/ReadAudience.d.ts +9 -0
- package/Types/BaseDatabase/ReadAudience.js +2 -0
- package/Types/BaseDatabase/ReadAudience.mjs +1 -0
- package/Types/Cloud/CloudKeyMetricGroup.d.mts +17 -0
- package/Types/Cloud/CloudKeyMetricGroup.d.ts +17 -0
- package/Types/Cloud/CloudKeyMetricGroup.js +84 -0
- package/Types/Cloud/CloudKeyMetricGroup.mjs +5 -0
- package/Types/Cloud/CloudKeyMetrics.d.mts +28 -1
- package/Types/Cloud/CloudKeyMetrics.d.ts +28 -1
- package/Types/Cloud/CloudKeyMetrics.js +1209 -206
- package/Types/Cloud/CloudKeyMetrics.mjs +6 -0
- package/Types/Cloud/CloudResourceCatalog.js +43 -12
- package/Types/CloudConnection/CloudConnectionSetupCommands.d.mts +1 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.d.ts +1 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.js +49 -6
- package/Types/CloudConnection/CloudConnectionSetupCommands.mjs +1 -0
- package/Types/CloudConnection/CloudStreamTemplate.js +6 -2
- package/Types/CodeRepository/ProductionReview.d.mts +5 -0
- package/Types/CodeRepository/ProductionReview.d.ts +5 -0
- package/Types/CodeRepository/ProductionReview.js +108 -0
- package/Types/CreateFormAddress.d.mts +3 -0
- package/Types/CreateFormAddress.d.ts +3 -0
- package/Types/CreateFormAddress.js +17 -0
- package/Types/CreateFormAddress.mjs +4 -0
- package/Types/DataObservability/DataAssetFreshness.d.mts +5 -0
- package/Types/DataObservability/DataAssetFreshness.d.ts +5 -0
- package/Types/DataObservability/DataAssetFreshness.js +28 -5
- package/Types/DataObservability/DataAssetFreshness.mjs +1 -0
- package/Types/DataObservability/DataBiLineage.d.mts +69 -0
- package/Types/DataObservability/DataBiLineage.d.ts +69 -0
- package/Types/DataObservability/DataBiLineage.js +198 -0
- package/Types/DataObservability/DataBiLineage.mjs +13 -0
- package/Types/DataObservability/DataLineageColumnTrail.d.mts +2 -1
- package/Types/DataObservability/DataLineageColumnTrail.d.ts +2 -1
- package/Types/DataObservability/DataLineageColumnTrail.js +41 -3
- package/Types/DataObservability/DataLineageColumnTrail.mjs +1 -0
- package/Types/DataObservability/DataLineageMap.d.mts +67 -1
- package/Types/DataObservability/DataLineageMap.d.ts +67 -1
- package/Types/DataObservability/DataLineageMap.js +335 -3
- package/Types/DataObservability/DataLineageMap.mjs +14 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.mts +42 -2
- package/Types/DataObservability/DataObservabilityApiTypes.d.ts +42 -2
- package/Types/DataObservability/DataObservabilityApiTypes.js +21 -1
- package/Types/DataObservability/DataObservabilityApiTypes.mjs +4 -0
- package/Types/DataObservability/DataObservabilityAttention.d.mts +5 -0
- package/Types/DataObservability/DataObservabilityAttention.d.ts +5 -0
- package/Types/DataObservability/DataObservabilityAttention.js +48 -1
- package/Types/DataObservability/DataObservabilityAttention.mjs +5 -0
- package/Types/DataObservability/DataPipelineSchedule.d.mts +4 -0
- package/Types/DataObservability/DataPipelineSchedule.d.ts +4 -0
- package/Types/DataObservability/DataPipelineSchedule.js +26 -6
- package/Types/DataObservability/DataPipelineSchedule.mjs +1 -0
- package/Types/DataObservability/DataTableLineage.d.mts +6 -0
- package/Types/DataObservability/DataTableLineage.d.ts +6 -0
- package/Types/DataSecurity/DataSecurityApiTypes.d.mts +24 -0
- package/Types/DataSecurity/DataSecurityApiTypes.d.ts +24 -0
- package/Types/DataSecurity/DataSecurityApiTypes.js +21 -1
- package/Types/DataSecurity/DataSecurityApiTypes.mjs +2 -0
- package/Types/DataSecurity/FindingSampleRecord.d.mts +16 -0
- package/Types/DataSecurity/FindingSampleRecord.d.ts +16 -0
- package/Types/DataSecurity/FindingSampleRecord.js +112 -0
- package/Types/DataSecurity/FindingSampleRecord.mjs +6 -0
- package/Types/Database/AccessControl/PermissionScopeNarrowing.js +6 -0
- package/Types/Database/DatabaseProperty.d.mts +1 -0
- package/Types/Database/DatabaseProperty.d.ts +1 -0
- package/Types/Database/DatabaseProperty.js +27 -0
- package/Types/Database/EncryptedValue.d.mts +2 -0
- package/Types/Database/EncryptedValue.d.ts +2 -0
- package/Types/Database/EncryptedValue.js +27 -0
- package/Types/Database/EncryptedValue.mjs +3 -0
- package/Types/Database/MoveInList.d.mts +41 -0
- package/Types/Database/MoveInList.d.ts +41 -0
- package/Types/Database/MoveInList.js +177 -0
- package/Types/Database/MoveInList.mjs +4 -0
- package/Types/Database/TableColumn.d.mts +3 -0
- package/Types/Database/TableColumn.d.ts +3 -0
- package/Types/Docs/GlossaryTerm.d.mts +1 -0
- package/Types/Docs/GlossaryTerm.d.ts +1 -0
- package/Types/Docs/GlossaryTerm.js +2 -0
- package/Types/Email/EmailSendFailure.d.mts +20 -0
- package/Types/Email/EmailSendFailure.d.ts +20 -0
- package/Types/Email/EmailSendFailure.js +244 -0
- package/Types/Email/EmailSendFailure.mjs +3 -0
- package/Types/Email/EmailTemplateType.d.mts +1 -0
- package/Types/Email/EmailTemplateType.d.ts +1 -0
- package/Types/Email/EmailTemplateType.js +5 -0
- package/Types/Email/ServerEmailLog.d.mts +41 -0
- package/Types/Email/ServerEmailLog.d.ts +41 -0
- package/Types/Email/ServerEmailLog.js +136 -0
- package/Types/Email/ServerEmailLog.mjs +11 -0
- package/Types/Exception/ProductSwitchedOffException.d.mts +12 -0
- package/Types/Exception/ProductSwitchedOffException.d.ts +12 -0
- package/Types/Exception/ProductSwitchedOffException.js +38 -0
- package/Types/Exception/ProductSwitchedOffException.mjs +2 -0
- package/Types/Exception/UnexplainedError.d.mts +7 -0
- package/Types/Exception/UnexplainedError.d.ts +7 -0
- package/Types/Exception/UnexplainedError.js +36 -1
- package/Types/Exception/UnexplainedError.mjs +2 -0
- package/Types/InstallationHealth/InstallationHealth.d.mts +39 -0
- package/Types/InstallationHealth/InstallationHealth.d.ts +39 -0
- package/Types/InstallationHealth/InstallationHealth.js +163 -0
- package/Types/Kubernetes/KubernetesHealth.d.mts +16 -0
- package/Types/Kubernetes/KubernetesHealth.d.ts +16 -0
- package/Types/Kubernetes/KubernetesHealth.js +128 -6
- package/Types/Kubernetes/KubernetesHealth.mjs +2 -0
- package/Types/Monitor/CloudAppAlertTemplates.d.mts +3 -13
- package/Types/Monitor/CloudAppAlertTemplates.d.ts +3 -13
- package/Types/Monitor/CloudAppAlertTemplates.js +13 -199
- package/Types/Monitor/CriteriaFilter.d.mts +2 -1
- package/Types/Monitor/CriteriaFilter.d.ts +2 -1
- package/Types/Monitor/CriteriaFilter.js +9 -1
- package/Types/Monitor/CriteriaFilterTerms.js +1 -0
- package/Types/Monitor/MessageQueueAlertTemplates.d.mts +6 -0
- package/Types/Monitor/MessageQueueAlertTemplates.d.ts +6 -0
- package/Types/Monitor/MessageQueueAlertTemplates.js +32 -0
- package/Types/Monitor/MessageQueueAlertTemplates.mjs +2 -0
- package/Types/Monitor/MonitorCriteriaInstance.d.mts +2 -0
- package/Types/Monitor/MonitorCriteriaInstance.d.ts +2 -0
- package/Types/Monitor/MonitorCriteriaInstance.js +52 -0
- package/Types/Monitor/MonitorMetricType.d.mts +2 -1
- package/Types/Monitor/MonitorMetricType.d.ts +2 -1
- package/Types/Monitor/MonitorMetricType.js +1 -0
- package/Types/Monitor/MonitorStepLimit.d.mts +8 -0
- package/Types/Monitor/MonitorStepLimit.d.ts +8 -0
- package/Types/Monitor/MonitorStepLimit.js +62 -0
- package/Types/Monitor/MonitorStepLimit.mjs +3 -0
- package/Types/Monitor/MonitorSteps.js +5 -0
- package/Types/Monitor/MonitorType.js +2 -1
- package/Types/Monitor/ProbeStatusMonitor/ProbeStatusMonitorResponse.d.mts +5 -0
- package/Types/Monitor/ProbeStatusMonitor/ProbeStatusMonitorResponse.d.ts +5 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.mts +1 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.ts +1 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.js +111 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.mts +7 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.ts +7 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.js +15 -0
- package/Types/Monitor/RequestHealthAlertTemplates.d.mts +66 -0
- package/Types/Monitor/RequestHealthAlertTemplates.d.ts +66 -0
- package/Types/Monitor/RequestHealthAlertTemplates.js +227 -0
- package/Types/Monitor/RequestHealthAlertTemplates.mjs +4 -0
- package/Types/Monitor/ServerlessAlertTemplates.d.mts +23 -0
- package/Types/Monitor/ServerlessAlertTemplates.d.ts +23 -0
- package/Types/Monitor/ServerlessAlertTemplates.js +111 -0
- package/Types/Monitor/ServerlessAlertTemplates.mjs +7 -0
- package/Types/Monitor/ServiceAlertTemplates.d.mts +3 -0
- package/Types/Monitor/ServiceAlertTemplates.d.ts +3 -0
- package/Types/Monitor/ServiceAlertTemplates.js +61 -0
- package/Types/Monitor/ServiceAlertTemplates.mjs +2 -0
- package/Types/Monitor/TelemetryRulePreview.js +18 -6
- package/Types/Monitor/WhoIsTold.d.mts +71 -0
- package/Types/Monitor/WhoIsTold.d.ts +71 -0
- package/Types/Monitor/WhoIsTold.js +348 -121
- package/Types/Monitor/WhoIsTold.mjs +7 -0
- package/Types/NetworkAutomation/RuleRunResult.js +9 -5
- package/Types/NetworkDevice/DiscoveredDevice.d.mts +40 -0
- package/Types/NetworkDevice/DiscoveredDevice.d.ts +40 -0
- package/Types/NetworkDevice/DiscoveredDevice.js +205 -1
- package/Types/NetworkDevice/DiscoveredDevice.mjs +9 -0
- package/Types/NetworkDevice/DiscoveryImport.js +8 -3
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.d.mts +26 -3
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.d.ts +26 -3
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.js +75 -3
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.mjs +2 -0
- package/Types/Notification/WhoWasTold.d.mts +190 -0
- package/Types/Notification/WhoWasTold.d.ts +190 -0
- package/Types/Notification/WhoWasTold.js +662 -0
- package/Types/Notification/WhoWasTold.mjs +16 -0
- package/Types/NotificationRule/PagingLadderDefault.d.mts +75 -0
- package/Types/NotificationRule/PagingLadderDefault.d.ts +75 -0
- package/Types/NotificationRule/PagingLadderDefault.js +529 -0
- package/Types/NotificationRule/PagingLadderDefault.mjs +24 -0
- package/Types/OnCallDutyPolicy/EveryNewEventRules.d.mts +7 -0
- package/Types/OnCallDutyPolicy/EveryNewEventRules.d.ts +7 -0
- package/Types/OnCallDutyPolicy/EveryNewEventRules.js +53 -2
- package/Types/OnCallDutyPolicy/EveryNewEventRules.mjs +3 -0
- package/Types/OnCallDutyPolicy/NotificationSetupToFinish.d.mts +6 -0
- package/Types/OnCallDutyPolicy/NotificationSetupToFinish.d.ts +6 -0
- package/Types/OnCallDutyPolicy/NotificationSetupToFinish.js +27 -0
- package/Types/OnCallDutyPolicy/NotificationSetupToFinish.mjs +3 -0
- package/Types/OnCallDutyPolicy/OnCallFireDrill.d.mts +83 -0
- package/Types/OnCallDutyPolicy/OnCallFireDrill.d.ts +83 -0
- package/Types/OnCallDutyPolicy/OnCallFireDrill.js +105 -0
- package/Types/OnCallDutyPolicy/OnCallFireDrill.mjs +9 -0
- package/Types/OnCallDutyPolicy/OnCallPagePassOn.js +12 -4
- package/Types/OnCallDutyPolicy/OnCallRunLevel.d.mts +12 -0
- package/Types/OnCallDutyPolicy/OnCallRunLevel.d.ts +12 -0
- package/Types/OnCallDutyPolicy/OnCallRunLevel.js +69 -8
- package/Types/OnCallDutyPolicy/OnCallRunLevel.mjs +3 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.d.mts +4 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.d.ts +4 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.js +20 -7
- package/Types/OnCallDutyPolicy/OnCallTestPage.mjs +2 -0
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.d.mts +2 -0
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.d.ts +2 -0
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.js +14 -1
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.mjs +2 -0
- package/Types/OnCallDutyPolicy/UserOverrideEdit.d.mts +7 -0
- package/Types/OnCallDutyPolicy/UserOverrideEdit.d.ts +7 -0
- package/Types/OnCallDutyPolicy/UserOverrideEdit.js +63 -1
- package/Types/OnCallDutyPolicy/UserOverrideEdit.mjs +4 -0
- package/Types/OnCallDutyPolicy/UserOverrideOverlap.d.mts +21 -1
- package/Types/OnCallDutyPolicy/UserOverrideOverlap.d.ts +21 -1
- package/Types/OnCallDutyPolicy/UserOverrideOverlap.js +46 -2
- package/Types/Permission.d.mts +8 -0
- package/Types/Permission.d.ts +8 -0
- package/Types/Permission.js +84 -0
- package/Types/Probe/ProbeBehind.d.mts +48 -0
- package/Types/Probe/ProbeBehind.d.ts +48 -0
- package/Types/Probe/ProbeBehind.js +196 -0
- package/Types/Probe/ProbeBehind.mjs +6 -0
- package/Types/Product/ProductRecordTables.d.mts +8 -0
- package/Types/Product/ProductRecordTables.d.ts +8 -0
- package/Types/Product/ProductRecordTables.js +847 -0
- package/Types/Product/ProductRecordTables.mjs +5 -0
- package/Types/Product/ProductUsage.d.mts +2 -0
- package/Types/Product/ProductUsage.d.ts +2 -0
- package/Types/Product/ProductUsage.js +41 -6
- package/Types/Product/ProductUsage.mjs +2 -0
- package/Types/Product/ServerProductOffReason.d.mts +4 -0
- package/Types/Product/ServerProductOffReason.d.ts +4 -0
- package/Types/Product/ServerProductOffReason.js +19 -0
- package/Types/Product/ServerProductOffReason.mjs +2 -0
- package/Types/Product/ServerProducts.d.mts +2 -4
- package/Types/Product/ServerProducts.d.ts +2 -4
- package/Types/Product/ServerProducts.js +19 -17
- package/Types/ProductFeedback/ProductFeedback.d.mts +45 -1
- package/Types/ProductFeedback/ProductFeedback.d.ts +45 -1
- package/Types/ProductFeedback/ProductFeedback.js +185 -5
- package/Types/ProductFeedback/ProductFeedback.mjs +11 -0
- package/Types/PushNotification/PushNotificationCategory.d.mts +1 -0
- package/Types/PushNotification/PushNotificationCategory.d.ts +1 -0
- package/Types/PushNotification/PushNotificationCategory.js +17 -6
- package/Types/PushNotification/PushNotificationCategory.mjs +1 -0
- package/Types/Rules/RuleCriteriaFieldRegistry.d.mts +18 -0
- package/Types/Rules/RuleCriteriaFieldRegistry.d.ts +18 -0
- package/Types/Rules/RuleCriteriaFieldRegistry.js +34 -1
- package/Types/Rules/RuleCriteriaFieldRegistry.mjs +4 -0
- package/Types/Rum/ProductAnalytics.d.mts +9 -0
- package/Types/Rum/ProductAnalytics.d.ts +9 -0
- package/Types/Rum/ProductAnalytics.js +56 -8
- package/Types/Rum/ProductAnalytics.mjs +6 -0
- package/Types/Rum/ProductAnalyticsEvents.js +2 -1
- package/Types/Rum/SessionReplay.d.mts +3 -0
- package/Types/Rum/SessionReplay.d.ts +3 -0
- package/Types/Rum/SessionReplay.js +35 -1
- package/Types/Rum/SessionReplay.mjs +2 -0
- package/Types/Runbook/RunbookTriggerType.d.mts +1 -0
- package/Types/Runbook/RunbookTriggerType.d.ts +1 -0
- package/Types/Runbook/RunbookTriggerType.js +19 -1
- package/Types/Runbook/RunbookTriggerType.mjs +1 -0
- package/Types/Runner/RunnerCodeFixCapability.d.mts +3 -1
- package/Types/Runner/RunnerCodeFixCapability.d.ts +3 -1
- package/Types/Runner/RunnerCodeFixCapability.js +19 -1
- package/Types/Runner/RunnerCodeFixCapability.mjs +1 -0
- package/Types/SSO/IdentityProviderSignOut.d.mts +24 -0
- package/Types/SSO/IdentityProviderSignOut.d.ts +24 -0
- package/Types/SSO/IdentityProviderSignOut.js +124 -0
- package/Types/SSO/IdentityProviderSignOut.mjs +10 -0
- package/Types/SSO/SessionsWithoutSso.js +2 -2
- package/Types/SecurityCase/SecurityCaseEventEvidence.d.mts +4 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.d.ts +4 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.js +12 -0
- package/Types/SecurityCase/SecurityCaseMatches.d.mts +78 -0
- package/Types/SecurityCase/SecurityCaseMatches.d.ts +78 -0
- package/Types/SecurityCase/SecurityCaseMatches.js +252 -0
- package/Types/SecurityCase/SecurityCaseMatches.mjs +17 -0
- package/Types/ServerSending/ProjectCanSend.d.mts +10 -0
- package/Types/ServerSending/ProjectCanSend.d.ts +10 -0
- package/Types/ServerSending/ProjectCanSend.js +49 -0
- package/Types/ServerSending/ProjectCanSend.mjs +4 -0
- package/Types/ServerSending/ServerAlerts.d.mts +78 -0
- package/Types/ServerSending/ServerAlerts.d.ts +78 -0
- package/Types/ServerSending/ServerAlerts.js +393 -0
- package/Types/ServerSending/ServerAlerts.mjs +8 -0
- package/Types/ServerSending/ServerSendingStatus.d.mts +29 -2
- package/Types/ServerSending/ServerSendingStatus.d.ts +29 -2
- package/Types/ServerSending/ServerSendingStatus.js +231 -10
- package/Types/ServerSending/ServerSendingStatus.mjs +3 -0
- package/Types/ServerSending/ServerSetUpProblem.d.mts +46 -0
- package/Types/ServerSending/ServerSetUpProblem.d.ts +46 -0
- package/Types/ServerSending/ServerSetUpProblem.js +164 -0
- package/Types/ServerSending/ServerSetUpProblem.mjs +6 -0
- package/Types/ServerSetup/ServerSetupChecklist.d.mts +35 -1
- package/Types/ServerSetup/ServerSetupChecklist.d.ts +35 -1
- package/Types/ServerSetup/ServerSetupChecklist.js +275 -33
- package/Types/ServerSetup/ServerSetupChecklist.mjs +5 -0
- package/Types/ServerSetup/ServerTestSend.d.mts +11 -0
- package/Types/ServerSetup/ServerTestSend.d.ts +11 -0
- package/Types/ServerSetup/ServerTestSend.js +60 -3
- package/Types/ServerSetup/ServerTestSend.mjs +2 -0
- package/Types/ServiceLevelObjective/SloStatus.d.mts +3 -0
- package/Types/ServiceLevelObjective/SloStatus.d.ts +3 -0
- package/Types/ServiceLevelObjective/SloStatus.js +38 -0
- package/Types/ServiceLevelObjective/SloStatus.mjs +2 -0
- package/Types/ServiceLevelObjective/SloStatusChange.d.mts +10 -0
- package/Types/ServiceLevelObjective/SloStatusChange.d.ts +10 -0
- package/Types/ServiceLevelObjective/SloStatusChange.js +71 -0
- package/Types/ServiceLevelObjective/SloStatusChange.mjs +5 -0
- package/Types/SetupHealth/SetupHealth.d.mts +31 -3
- package/Types/SetupHealth/SetupHealth.d.ts +31 -3
- package/Types/SetupHealth/SetupHealth.js +333 -4
- package/Types/SetupHealth/SetupHealth.mjs +5 -0
- package/Types/StatusPage/NewIncidentSubscriberNotificationDefault.js +8 -5
- package/Types/StatusPage/StatusPageMagicLink.js +1 -1
- package/Types/StatusPage/StatusPagePublicName.d.mts +6 -0
- package/Types/StatusPage/StatusPagePublicName.d.ts +6 -0
- package/Types/StatusPage/StatusPagePublicName.js +32 -0
- package/Types/StatusPage/StatusPagePublicName.mjs +3 -0
- package/Types/StatusPage/StatusPageSignInMessages.d.mts +3 -0
- package/Types/StatusPage/StatusPageSignInMessages.d.ts +3 -0
- package/Types/StatusPage/StatusPageSignInMessages.js +16 -0
- package/Types/StatusPage/StatusPageSignInMessages.mjs +4 -0
- package/Types/StatusPage/StatusPageSingleSignOnProtocol.d.mts +12 -0
- package/Types/StatusPage/StatusPageSingleSignOnProtocol.d.ts +12 -0
- package/Types/StatusPage/StatusPageSingleSignOnProtocol.js +63 -0
- package/Types/StatusPage/StatusPageSingleSignOnProtocol.mjs +8 -0
- package/Types/StatusPage/StatusPageSubscriberChannel.d.mts +18 -0
- package/Types/StatusPage/StatusPageSubscriberChannel.d.ts +18 -0
- package/Types/StatusPage/StatusPageSubscriberChannel.js +91 -0
- package/Types/StatusPage/StatusPageSubscriberChannel.mjs +10 -0
- package/Types/Team/InvitationEmailsNotSent.d.mts +28 -0
- package/Types/Team/InvitationEmailsNotSent.d.ts +28 -0
- package/Types/Team/InvitationEmailsNotSent.js +261 -0
- package/Types/Team/InvitationEmailsNotSent.mjs +13 -0
- package/Types/Team/ProjectMemberSearch.d.mts +15 -0
- package/Types/Team/ProjectMemberSearch.d.ts +15 -0
- package/Types/Team/ProjectMemberSearch.js +180 -0
- package/Types/Team/ProjectMemberSearch.mjs +10 -0
- package/Types/Team/ProjectRemovalReach.d.mts +15 -0
- package/Types/Team/ProjectRemovalReach.d.ts +15 -0
- package/Types/Team/ProjectRemovalReach.js +154 -0
- package/Types/Team/ProjectRemovalReach.mjs +8 -0
- package/Types/Team/ResendInvitation.d.mts +27 -0
- package/Types/Team/ResendInvitation.d.ts +27 -0
- package/Types/Team/ResendInvitation.js +123 -0
- package/Types/Team/ResendInvitation.mjs +12 -0
- package/Types/UsedBy/UsedBy.d.mts +1 -0
- package/Types/UsedBy/UsedBy.d.ts +1 -0
- package/Types/UsedBy/UsedBy.js +2 -0
- package/Types/UsedBy/UsedByServerProducts.js +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.d.mts +27 -4
- package/Types/WelcomeChecklist/WelcomeChecklist.d.ts +27 -4
- package/Types/WelcomeChecklist/WelcomeChecklist.js +166 -42
- package/Types/WelcomeChecklist/WelcomeChecklist.mjs +8 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.mts +4 -1
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.ts +4 -1
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.js +175 -33
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.mjs +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.d.mts +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.d.ts +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.js +30 -1
- package/Types/WelcomeChecklist/WelcomeChecklistState.mjs +1 -0
- package/Types/Workflow/Component.d.mts +0 -1
- package/Types/Workflow/Component.d.ts +0 -1
- package/Types/Workspace/ConnectCallback.d.mts +2 -1
- package/Types/Workspace/ConnectCallback.d.ts +2 -1
- package/Types/Workspace/ConnectCallback.js +8 -0
- package/Types/Workspace/NotificationRules/BaseNotificationRule.d.mts +1 -1
- package/Types/Workspace/NotificationRules/BaseNotificationRule.d.ts +1 -1
- package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.mts +23 -0
- package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.ts +23 -0
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.d.mts +12 -0
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.d.ts +12 -0
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.js +106 -4
- package/Types/Workspace/WorkspaceMessagePayload.d.mts +2 -0
- package/Types/Workspace/WorkspaceMessagePayload.d.ts +2 -0
- package/Types/Workspace/WorkspaceMessagePayload.js +6 -1
- package/Types/Workspace/WorkspaceMessagePayload.mjs +1 -0
- package/UI/Components/Dropdown/Dropdown.d.mts +2 -0
- package/UI/Components/Dropdown/Dropdown.d.ts +2 -0
- package/Utils/AiRemediation/DeclaredCodeChange.d.mts +4 -1
- package/Utils/AiRemediation/DeclaredCodeChange.d.ts +4 -1
- package/Utils/AiRemediation/DeclaredCodeChange.js +6 -0
- package/Utils/Dashboard/Components/DashboardProductAnalyticsFunnelComponent.js +6 -1
- package/Utils/Dashboard/Components/DashboardProductAnalyticsRetentionComponent.js +6 -1
- package/Utils/Dashboard/MonitorListWidgetFormat.d.mts +4 -1
- package/Utils/Dashboard/MonitorListWidgetFormat.d.ts +4 -1
- package/Utils/Dashboard/MonitorListWidgetFormat.js +10 -5
- package/Utils/DataSecurity/CustomDataTypeDetector.js +3 -1
- package/Utils/DataSecurity/DetectorPrefilter.d.mts +9 -0
- package/Utils/DataSecurity/DetectorPrefilter.d.ts +9 -0
- package/Utils/DataSecurity/DetectorPrefilter.js +471 -0
- package/Utils/DataSecurity/DetectorPrefilter.mjs +6 -0
- package/Utils/DataSecurity/FieldClassifier.d.mts +2 -0
- package/Utils/DataSecurity/FieldClassifier.d.ts +2 -0
- package/Utils/DataSecurity/FieldClassifier.js +38 -8
- package/Utils/DataSecurity/OccurrenceExcerpt.d.mts +22 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.d.ts +22 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.js +270 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.mjs +5 -0
- package/Utils/DataSecurity/TextScanner.d.mts +4 -0
- package/Utils/DataSecurity/TextScanner.d.ts +4 -0
- package/Utils/Incident/PostmortemActionItemCodeTask.d.mts +2 -0
- package/Utils/Incident/PostmortemActionItemCodeTask.d.ts +2 -0
- package/Utils/Incident/PostmortemActionItemCodeTask.js +22 -5
- package/Utils/Incident/PostmortemActionItemCodeTask.mjs +1 -0
- package/Utils/LookupTable.d.mts +1 -0
- package/Utils/LookupTable.d.ts +1 -0
- package/Utils/LookupTable.js +19 -0
- package/Utils/LookupTable.mjs +1 -0
- package/Utils/Monitor/DeviceMonitorDuplicates.d.mts +34 -0
- package/Utils/Monitor/DeviceMonitorDuplicates.d.ts +34 -0
- package/Utils/Monitor/DeviceMonitorDuplicates.js +134 -0
- package/Utils/Monitor/DeviceMonitorDuplicates.mjs +7 -0
- package/Utils/Monitor/DeviceMonitorTemplateUtil.d.mts +4 -0
- package/Utils/Monitor/DeviceMonitorTemplateUtil.d.ts +4 -0
- package/Utils/Monitor/DeviceMonitorTemplateUtil.js +33 -6
- package/Utils/Monitor/MonitorFirstCheckOverdue.js +5 -5
- package/Utils/Monitor/MonitorMetricType.js +11 -1
- package/Utils/Monitor/MonitorOverviewFamily.d.mts +2 -10
- package/Utils/Monitor/MonitorOverviewFamily.d.ts +2 -10
- package/Utils/Monitor/MonitorOverviewFamily.js +19 -99
- package/Utils/Monitor/MonitorOverviewPresentationUtil.d.mts +1 -1
- package/Utils/Monitor/MonitorOverviewPresentationUtil.d.ts +1 -1
- package/Utils/Monitor/MonitorOverviewPresentationUtil.js +27 -9
- package/Utils/Monitor/MonitorRowStatus.js +2 -2
- package/Utils/Monitor/MonitorTypeFamily.d.mts +14 -0
- package/Utils/Monitor/MonitorTypeFamily.d.ts +14 -0
- package/Utils/Monitor/MonitorTypeFamily.js +105 -0
- package/Utils/Monitor/MonitorTypeFamily.mjs +3 -0
- package/Utils/Monitor/ProbeFailureCauses.js +4 -1
- package/Utils/Monitor/ProbeStatusMonitorUtil.d.mts +5 -1
- package/Utils/Monitor/ProbeStatusMonitorUtil.d.ts +5 -1
- package/Utils/Monitor/ProbeStatusMonitorUtil.js +106 -0
- package/Utils/Monitor/StoredCheckEvidence.d.mts +10 -0
- package/Utils/Monitor/StoredCheckEvidence.d.ts +10 -0
- package/Utils/Monitor/StoredCheckEvidence.js +53 -0
- package/Utils/Monitor/StoredCheckEvidence.mjs +5 -0
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.d.mts +3 -0
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.d.ts +3 -0
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.js +33 -4
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.mjs +1 -0
- package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.d.mts +33 -0
- package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.d.ts +33 -0
- package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.js +105 -0
- package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.mjs +8 -0
- package/Utils/NetworkDevice/SnmpCredentialUtil.d.mts +5 -0
- package/Utils/NetworkDevice/SnmpCredentialUtil.d.ts +5 -0
- package/Utils/NetworkDevice/SnmpCredentialUtil.js +28 -3
- package/Utils/NetworkDevice/SnmpCredentialUtil.mjs +3 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.d.mts +1 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.d.ts +1 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.js +20 -1
- package/Utils/NetworkDiscovery/SnmpScanConfigUtil.js +11 -4
- package/Utils/Project/ProjectBilling.d.mts +1 -0
- package/Utils/Project/ProjectBilling.d.ts +1 -0
- package/Utils/Project/ProjectBilling.js +9 -1
- package/Utils/Project/ProjectBilling.mjs +1 -0
- package/Utils/Rules/RuleCriteriaMatcher.d.mts +1 -0
- package/Utils/Rules/RuleCriteriaMatcher.d.ts +1 -0
- package/Utils/Rules/RuleCriteriaMatcher.js +6 -0
- package/Utils/Rules/RuleCriteriaOwnerMatch.d.mts +10 -0
- package/Utils/Rules/RuleCriteriaOwnerMatch.d.ts +10 -0
- package/Utils/Rules/RuleCriteriaOwnerMatch.js +83 -0
- package/Utils/Rules/RuleCriteriaOwnerMatch.mjs +4 -0
- package/Utils/SecurityCase/SecurityCaseMatchRules.d.mts +27 -0
- package/Utils/SecurityCase/SecurityCaseMatchRules.d.ts +27 -0
- package/Utils/SecurityCase/SecurityCaseMatchRules.js +377 -0
- package/Utils/SecurityCase/SecurityCaseMatchRules.mjs +9 -0
- package/Utils/Slo/SloBulkRecommendedPolicy.d.mts +35 -0
- package/Utils/Slo/SloBulkRecommendedPolicy.d.ts +35 -0
- package/Utils/Slo/SloBulkRecommendedPolicy.js +168 -0
- package/Utils/Slo/SloBulkRecommendedPolicy.mjs +6 -0
- package/Utils/Slo/SloBurnRateRuleState.js +3 -6
- package/Utils/Slo/SloErrorBudgetPolicy.d.mts +17 -0
- package/Utils/Slo/SloErrorBudgetPolicy.d.ts +17 -0
- package/Utils/Slo/SloErrorBudgetPolicy.js +72 -1
- package/Utils/Slo/SloErrorBudgetPolicy.mjs +4 -0
- package/Utils/Slo/SloFeedMarkdown.d.mts +5 -2
- package/Utils/Slo/SloFeedMarkdown.d.ts +5 -2
- package/Utils/Slo/SloFeedMarkdown.js +19 -7
- package/Utils/Slo/SloFeedMarkdown.mjs +1 -0
- package/Utils/Slo/SloHealth.d.mts +5 -0
- package/Utils/Slo/SloHealth.d.ts +5 -0
- package/Utils/Slo/SloHealth.js +27 -0
- package/Utils/Slo/SloListWidgetFormat.js +5 -3
- package/Utils/Slo/SloMetricType.js +6 -5
- package/Utils/Slo/SloMonitorsFirstCheck.d.mts +13 -0
- package/Utils/Slo/SloMonitorsFirstCheck.d.ts +13 -0
- package/Utils/Slo/SloMonitorsFirstCheck.js +78 -0
- package/Utils/Slo/SloMonitorsFirstCheck.mjs +3 -0
- package/Utils/Slo/SloOverviewText.js +7 -0
- package/Utils/Slo/SloStatusColor.d.mts +3 -0
- package/Utils/Slo/SloStatusColor.d.ts +3 -0
- package/Utils/Slo/SloStatusColor.js +3 -0
- package/Utils/Slo/SloStatusPosts.d.mts +18 -0
- package/Utils/Slo/SloStatusPosts.d.ts +18 -0
- package/Utils/Slo/SloStatusPosts.js +95 -0
- package/Utils/Slo/SloStatusPosts.mjs +3 -0
- package/Utils/StatusPage/GridAxisValues.d.mts +2 -0
- package/Utils/StatusPage/GridAxisValues.d.ts +2 -0
- package/Utils/StatusPage/GridAxisValues.js +33 -0
- package/Utils/StatusPage/GridAxisValues.mjs +3 -0
- package/Utils/StatusPage/GroupHierarchyView.d.mts +2 -2
- package/Utils/StatusPage/GroupHierarchyView.d.ts +2 -2
- package/Utils/StatusPage/GroupHierarchyView.js +13 -12
- package/Utils/StatusPage/GroupNestingLayout.d.mts +1 -0
- package/Utils/StatusPage/GroupNestingLayout.d.ts +1 -0
- package/Utils/StatusPage/GroupNestingLayout.js +25 -5
- package/Utils/StatusPage/HistoryWindow.d.mts +3 -0
- package/Utils/StatusPage/HistoryWindow.d.ts +3 -0
- package/Utils/StatusPage/HistoryWindow.js +24 -0
- package/Utils/StatusPage/HistoryWindow.mjs +4 -0
- package/Utils/StatusPage/ResourceExplorer.d.mts +2 -2
- package/Utils/StatusPage/ResourceExplorer.d.ts +2 -2
- package/Utils/StatusPage/ResourceExplorer.js +15 -21
- package/Utils/StatusPage/StatusColorsOnDark.d.mts +5 -3
- package/Utils/StatusPage/StatusColorsOnDark.d.ts +5 -3
- package/Utils/StatusPage/StatusColorsOnDark.js +18 -6
- package/Utils/StatusPage/StatusColorsOnDark.mjs +1 -0
- package/Utils/Suggestions/CodeFixSuggestion.d.mts +2 -1
- package/Utils/Suggestions/CodeFixSuggestion.d.ts +2 -1
- package/Utils/Suggestions/CodeFixSuggestion.js +9 -0
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.d.mts +1 -0
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.d.ts +1 -0
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.js +24 -3
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.mjs +1 -0
- package/Utils/Suggestions/ProfileFixSuggestion.d.mts +1 -0
- package/Utils/Suggestions/ProfileFixSuggestion.d.ts +1 -0
- package/Utils/Suggestions/ProfileFixSuggestion.js +16 -4
- package/Utils/Suggestions/TelemetryAiFixSuggestion.d.mts +2 -0
- package/Utils/Suggestions/TelemetryAiFixSuggestion.d.ts +2 -0
- package/Utils/Suggestions/TelemetryAiFixSuggestion.js +17 -5
- package/Utils/Suggestions/TelemetryAiFixSuggestion.mjs +1 -0
- package/Utils/Suggestions/TracePerformanceFixSuggestion.js +16 -7
- package/Utils/Telemetry/MobileAppFaults.d.mts +8 -0
- package/Utils/Telemetry/MobileAppFaults.d.ts +8 -0
- package/Utils/Telemetry/MobileAppFaults.js +69 -0
- package/Utils/Telemetry/MobileAppFaults.mjs +6 -0
- package/Utils/WebhookAddressMask.d.mts +9 -0
- package/Utils/WebhookAddressMask.d.ts +9 -0
- package/Utils/WebhookAddressMask.js +66 -0
- package/Utils/WebhookAddressMask.mjs +2 -0
- package/Utils/Workspace/WorkspaceRefusal.d.mts +108 -0
- package/Utils/Workspace/WorkspaceRefusal.d.ts +108 -0
- package/Utils/Workspace/WorkspaceRefusal.js +769 -0
- package/Utils/Workspace/WorkspaceRefusal.mjs +50 -0
- package/package.json +4 -1
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
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;
|
|
4
4
|
exports.getAwsKeyMetrics = getAwsKeyMetrics;
|
|
5
|
+
exports.getAwsProbeMetricNames = getAwsProbeMetricNames;
|
|
5
6
|
exports.getAwsStoredMetricName = getAwsStoredMetricName;
|
|
6
7
|
exports.getAzureKeyMetrics = getAzureKeyMetrics;
|
|
8
|
+
exports.getAzureKeyMetricNames = getAzureKeyMetricNames;
|
|
7
9
|
exports.getAzureStoredMetricName = getAzureStoredMetricName;
|
|
8
10
|
exports.isAzureKeyMetricStoredName = isAzureKeyMetricStoredName;
|
|
9
11
|
exports.getAzureKeyMetricOfStoredName = getAzureKeyMetricOfStoredName;
|
|
@@ -11,236 +13,462 @@ exports.isAzureKeyMetricExportedByDiagnosticSettings = isAzureKeyMetricExportedB
|
|
|
11
13
|
exports.isAzureStreamedKeyMetric = isAzureStreamedKeyMetric;
|
|
12
14
|
exports.isAzureStreamedKeyMetricStoredName = isAzureStreamedKeyMetricStoredName;
|
|
13
15
|
exports.getGcpKeyMetricTypes = getGcpKeyMetricTypes;
|
|
16
|
+
exports.getGcpResourceTypesOfMetric = getGcpResourceTypesOfMetric;
|
|
14
17
|
exports.getAwsNamespaceOfType = getAwsNamespaceOfType;
|
|
15
18
|
exports.getKeyMetricCount = getKeyMetricCount;
|
|
19
|
+
exports.parseAwsStoredMetricName = parseAwsStoredMetricName;
|
|
20
|
+
exports.getCloudKeyMetricOfStoredName = getCloudKeyMetricOfStoredName;
|
|
21
|
+
exports.compareCloudKeyMetrics = compareCloudKeyMetrics;
|
|
16
22
|
const CloudPlatform_1 = require("./CloudPlatform");
|
|
17
23
|
const CloudResourceCatalog_1 = require("./CloudResourceCatalog");
|
|
24
|
+
const CloudKeyMetricGroup_1 = require("./CloudKeyMetricGroup");
|
|
25
|
+
/*
|
|
26
|
+
* THE KEY METRICS A CLOUD CONNECTION READS, PER RESOURCE TYPE.
|
|
27
|
+
*
|
|
28
|
+
* A cloud connection (Cloud > Connect) reads the provider's monitoring API
|
|
29
|
+
* itself, the way an OpenTelemetry Collector's cloud receivers would, and
|
|
30
|
+
* it reads a curated set of metrics per resource type - the ones an
|
|
31
|
+
* operator looks at and alerts on for that kind of resource: a virtual
|
|
32
|
+
* machine's CPU, memory, disks, network and availability; an app's
|
|
33
|
+
* requests, errors, response time, CPU and memory; a database's CPU,
|
|
34
|
+
* storage, IO, connections and replication lag - not every metric the
|
|
35
|
+
* provider publishes. Each comes from the provider's own reference (Azure
|
|
36
|
+
* Monitor's supported metrics, the CloudWatch user guides, Google Cloud's
|
|
37
|
+
* metrics list), and the tests hold every entry to it
|
|
38
|
+
* (CloudKeyMetricsProviderReference.test).
|
|
39
|
+
*
|
|
40
|
+
* Why a curated set and not everything: what the customer's cloud bills
|
|
41
|
+
* (CloudWatch charges per metric read; Cloud Monitoring per time series),
|
|
42
|
+
* the calls a read may make in its budget, and the telemetry OneUptime
|
|
43
|
+
* stores - a resource type publishes up to two hundred metrics, most of
|
|
44
|
+
* them a per-shard or per-feature variant nobody charts. Each cloud's set
|
|
45
|
+
* is sized to what a read costs there:
|
|
46
|
+
*
|
|
47
|
+
* - Azure Monitor answers up to 20 metrics of a resource in one call,
|
|
48
|
+
* and bills per call, so each type reads up to 20 at no extra cost -
|
|
49
|
+
* each at its finest grain, never two sub-hourly grains (two calls) for
|
|
50
|
+
* one type;
|
|
51
|
+
* - CloudWatch bills each metric of each resource, so AWS reads fewer:
|
|
52
|
+
* the ones that say whether it is up, busy, failing, slow or full;
|
|
53
|
+
* - Cloud Monitoring answers one metric type for every resource of a
|
|
54
|
+
* project in one call, and a read only asks the types of resources a
|
|
55
|
+
* project has (GcpCloudConnector).
|
|
56
|
+
*
|
|
57
|
+
* Each metric is filed under a CloudKeyMetricGroup, and a type's metrics
|
|
58
|
+
* come most telling first within it: a resource's Metrics card shows them
|
|
59
|
+
* in those groups (CloudKeyMetricGroup's order), its other metrics after.
|
|
60
|
+
*
|
|
61
|
+
* The metrics are named and shaped exactly as the collector's receivers
|
|
62
|
+
* write them (CloudMetricPayload), so a resource's pages, its monitors and
|
|
63
|
+
* the docs read them the same whichever way they arrived.
|
|
64
|
+
*
|
|
65
|
+
* The docs page lists these (CloudConnectDocsFacts holds it to this file).
|
|
66
|
+
*/
|
|
67
|
+
const G = CloudKeyMetricGroup_1.CloudKeyMetricGroup;
|
|
18
68
|
exports.AWS_DEFAULT_PERIOD_SECONDS = 300;
|
|
19
69
|
exports.HOURLY_PERIOD_SECONDS = 3600;
|
|
20
70
|
exports.DAILY_PERIOD_SECONDS = 86400;
|
|
21
|
-
|
|
22
|
-
|
|
71
|
+
// A key metric a stream writes in place of the read (isStreamed), but a daily one.
|
|
72
|
+
function aws(metricName, statistic, unit, group, periodSeconds = exports.AWS_DEFAULT_PERIOD_SECONDS) {
|
|
73
|
+
return {
|
|
74
|
+
metricName,
|
|
75
|
+
statistic,
|
|
76
|
+
unit,
|
|
77
|
+
group,
|
|
78
|
+
periodSeconds,
|
|
79
|
+
isStreamed: periodSeconds < exports.DAILY_PERIOD_SECONDS,
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
/*
|
|
83
|
+
* A key metric the read writes whether the account streams or not
|
|
84
|
+
* (isStreamed false): every one added since streams began. Read every five
|
|
85
|
+
* minutes.
|
|
86
|
+
*/
|
|
87
|
+
function awsRead(metricName, statistic, unit, group) {
|
|
88
|
+
return {
|
|
89
|
+
metricName,
|
|
90
|
+
statistic,
|
|
91
|
+
unit,
|
|
92
|
+
group,
|
|
93
|
+
periodSeconds: exports.AWS_DEFAULT_PERIOD_SECONDS,
|
|
94
|
+
isStreamed: false,
|
|
95
|
+
};
|
|
23
96
|
}
|
|
24
97
|
exports.AWS_KEY_METRICS = [
|
|
25
98
|
{
|
|
26
99
|
namespace: "AWS/EC2",
|
|
27
100
|
metrics: [
|
|
28
|
-
aws("CPUUtilization", "Average", "Percent"),
|
|
29
|
-
aws("NetworkIn", "Sum", "Bytes"),
|
|
30
|
-
aws("NetworkOut", "Sum", "Bytes"),
|
|
31
|
-
aws("StatusCheckFailed", "Maximum", "Count"),
|
|
101
|
+
aws("CPUUtilization", "Average", "Percent", G.Compute),
|
|
102
|
+
aws("NetworkIn", "Sum", "Bytes", G.Network),
|
|
103
|
+
aws("NetworkOut", "Sum", "Bytes", G.Network),
|
|
104
|
+
aws("StatusCheckFailed", "Maximum", "Count", G.Availability),
|
|
105
|
+
// A burstable (T) instance's credits; a Nitro instance's EBS throughput.
|
|
106
|
+
awsRead("CPUCreditBalance", "Average", "Count", G.Compute),
|
|
107
|
+
awsRead("EBSReadBytes", "Sum", "Bytes", G.Storage),
|
|
108
|
+
awsRead("EBSWriteBytes", "Sum", "Bytes", G.Storage),
|
|
32
109
|
],
|
|
33
110
|
},
|
|
34
111
|
{
|
|
35
112
|
namespace: "AWS/EBS",
|
|
36
113
|
metrics: [
|
|
37
|
-
aws("VolumeReadOps", "Sum", "Count"),
|
|
38
|
-
aws("VolumeWriteOps", "Sum", "Count"),
|
|
39
|
-
aws("VolumeQueueLength", "Average", "Count"),
|
|
114
|
+
aws("VolumeReadOps", "Sum", "Count", G.Storage),
|
|
115
|
+
aws("VolumeWriteOps", "Sum", "Count", G.Storage),
|
|
116
|
+
aws("VolumeQueueLength", "Average", "Count", G.Storage),
|
|
117
|
+
awsRead("VolumeReadBytes", "Sum", "Bytes", G.Storage),
|
|
118
|
+
awsRead("VolumeWriteBytes", "Sum", "Bytes", G.Storage),
|
|
119
|
+
// gp2, st1 and sc1 volumes only.
|
|
120
|
+
awsRead("BurstBalance", "Average", "Percent", G.Storage),
|
|
40
121
|
],
|
|
41
122
|
},
|
|
42
123
|
{
|
|
43
124
|
namespace: "AWS/ELB",
|
|
44
125
|
metrics: [
|
|
45
|
-
aws("RequestCount", "Sum", "Count"),
|
|
46
|
-
aws("Latency", "Average", "Seconds"),
|
|
47
|
-
aws("HTTPCode_Backend_5XX", "Sum", "Count"),
|
|
48
|
-
aws("UnHealthyHostCount", "Maximum", "Count"),
|
|
126
|
+
aws("RequestCount", "Sum", "Count", G.Traffic),
|
|
127
|
+
aws("Latency", "Average", "Seconds", G.Latency),
|
|
128
|
+
aws("HTTPCode_Backend_5XX", "Sum", "Count", G.Errors),
|
|
129
|
+
aws("UnHealthyHostCount", "Maximum", "Count", G.Availability),
|
|
130
|
+
awsRead("HealthyHostCount", "Average", "Count", G.Availability),
|
|
131
|
+
awsRead("HTTPCode_ELB_5XX", "Sum", "Count", G.Errors),
|
|
132
|
+
awsRead("SurgeQueueLength", "Maximum", "Count", G.Backlog),
|
|
133
|
+
awsRead("SpilloverCount", "Sum", "Count", G.Errors),
|
|
49
134
|
],
|
|
50
135
|
},
|
|
51
136
|
{
|
|
52
137
|
namespace: "AWS/ApplicationELB",
|
|
53
138
|
metrics: [
|
|
54
|
-
aws("RequestCount", "Sum", "Count"),
|
|
55
|
-
aws("TargetResponseTime", "Average", "Seconds"),
|
|
56
|
-
aws("HTTPCode_Target_5XX_Count", "Sum", "Count"),
|
|
57
|
-
aws("HTTPCode_ELB_5XX_Count", "Sum", "Count"),
|
|
139
|
+
aws("RequestCount", "Sum", "Count", G.Traffic),
|
|
140
|
+
aws("TargetResponseTime", "Average", "Seconds", G.Latency),
|
|
141
|
+
aws("HTTPCode_Target_5XX_Count", "Sum", "Count", G.Errors),
|
|
142
|
+
aws("HTTPCode_ELB_5XX_Count", "Sum", "Count", G.Errors),
|
|
143
|
+
awsRead("HTTPCode_Target_4XX_Count", "Sum", "Count", G.Errors),
|
|
144
|
+
awsRead("RejectedConnectionCount", "Sum", "Count", G.Errors),
|
|
145
|
+
awsRead("TargetConnectionErrorCount", "Sum", "Count", G.Errors),
|
|
146
|
+
awsRead("ActiveConnectionCount", "Sum", "Count", G.Connections),
|
|
147
|
+
awsRead("ProcessedBytes", "Sum", "Bytes", G.Traffic),
|
|
58
148
|
],
|
|
59
149
|
},
|
|
60
150
|
{
|
|
61
151
|
namespace: "AWS/NetworkELB",
|
|
62
152
|
metrics: [
|
|
63
|
-
aws("ActiveFlowCount", "Average", "Count"),
|
|
64
|
-
aws("NewFlowCount", "Sum", "Count"),
|
|
65
|
-
aws("ProcessedBytes", "Sum", "Bytes"),
|
|
153
|
+
aws("ActiveFlowCount", "Average", "Count", G.Connections),
|
|
154
|
+
aws("NewFlowCount", "Sum", "Count", G.Connections),
|
|
155
|
+
aws("ProcessedBytes", "Sum", "Bytes", G.Traffic),
|
|
156
|
+
awsRead("TCP_Client_Reset_Count", "Sum", "Count", G.Errors),
|
|
157
|
+
awsRead("TCP_Target_Reset_Count", "Sum", "Count", G.Errors),
|
|
158
|
+
awsRead("TCP_ELB_Reset_Count", "Sum", "Count", G.Errors),
|
|
159
|
+
awsRead("PortAllocationErrorCount", "Sum", "Count", G.Errors),
|
|
66
160
|
],
|
|
67
161
|
},
|
|
68
162
|
{
|
|
69
163
|
namespace: "AWS/NATGateway",
|
|
70
164
|
metrics: [
|
|
71
|
-
aws("ActiveConnectionCount", "Maximum", "Count"),
|
|
72
|
-
aws("BytesOutToDestination", "Sum", "Bytes"),
|
|
73
|
-
aws("ErrorPortAllocation", "Sum", "Count"),
|
|
165
|
+
aws("ActiveConnectionCount", "Maximum", "Count", G.Connections),
|
|
166
|
+
aws("BytesOutToDestination", "Sum", "Bytes", G.Network),
|
|
167
|
+
aws("ErrorPortAllocation", "Sum", "Count", G.Errors),
|
|
168
|
+
awsRead("PacketsDropCount", "Sum", "Count", G.Errors),
|
|
169
|
+
awsRead("BytesInFromDestination", "Sum", "Bytes", G.Network),
|
|
170
|
+
awsRead("ConnectionAttemptCount", "Sum", "Count", G.Connections),
|
|
171
|
+
awsRead("IdleTimeoutCount", "Sum", "Count", G.Connections),
|
|
74
172
|
],
|
|
75
173
|
},
|
|
76
174
|
{
|
|
77
175
|
namespace: "AWS/VPN",
|
|
78
176
|
metrics: [
|
|
79
|
-
aws("TunnelState", "Maximum", "None"),
|
|
80
|
-
aws("TunnelDataIn", "Sum", "Bytes"),
|
|
81
|
-
aws("TunnelDataOut", "Sum", "Bytes"),
|
|
177
|
+
aws("TunnelState", "Maximum", "None", G.Availability),
|
|
178
|
+
aws("TunnelDataIn", "Sum", "Bytes", G.Network),
|
|
179
|
+
aws("TunnelDataOut", "Sum", "Bytes", G.Network),
|
|
180
|
+
],
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
namespace: "AWS/TransitGateway",
|
|
184
|
+
metrics: [
|
|
185
|
+
awsRead("BytesIn", "Sum", "Bytes", G.Network),
|
|
186
|
+
awsRead("BytesOut", "Sum", "Bytes", G.Network),
|
|
187
|
+
awsRead("PacketDropCountBlackhole", "Sum", "Count", G.Errors),
|
|
188
|
+
awsRead("PacketDropCountNoRoute", "Sum", "Count", G.Errors),
|
|
189
|
+
],
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
namespace: "AWS/DX",
|
|
193
|
+
metrics: [
|
|
194
|
+
awsRead("ConnectionState", "Minimum", "None", G.Availability),
|
|
195
|
+
awsRead("ConnectionBpsEgress", "Average", "Bits/Second", G.Network),
|
|
196
|
+
awsRead("ConnectionBpsIngress", "Average", "Bits/Second", G.Network),
|
|
197
|
+
awsRead("ConnectionErrorCount", "Sum", "Count", G.Errors),
|
|
82
198
|
],
|
|
83
199
|
},
|
|
84
200
|
{
|
|
85
201
|
namespace: "AWS/CloudFront",
|
|
86
202
|
onlyRegion: "us-east-1",
|
|
87
203
|
metrics: [
|
|
88
|
-
aws("Requests", "Sum", "None"),
|
|
89
|
-
aws("4xxErrorRate", "Average", "Percent"),
|
|
90
|
-
aws("5xxErrorRate", "Average", "Percent"),
|
|
91
|
-
aws("BytesDownloaded", "Sum", "None"),
|
|
204
|
+
aws("Requests", "Sum", "None", G.Traffic),
|
|
205
|
+
aws("4xxErrorRate", "Average", "Percent", G.Errors),
|
|
206
|
+
aws("5xxErrorRate", "Average", "Percent", G.Errors),
|
|
207
|
+
aws("BytesDownloaded", "Sum", "None", G.Network),
|
|
208
|
+
awsRead("TotalErrorRate", "Average", "Percent", G.Errors),
|
|
209
|
+
awsRead("BytesUploaded", "Sum", "None", G.Network),
|
|
92
210
|
],
|
|
93
211
|
},
|
|
94
212
|
{
|
|
95
213
|
namespace: "AWS/Route53",
|
|
96
214
|
onlyRegion: "us-east-1",
|
|
97
215
|
metrics: [
|
|
98
|
-
aws("HealthCheckStatus", "Minimum", "None"),
|
|
99
|
-
aws("HealthCheckPercentageHealthy", "Average", "Percent"),
|
|
216
|
+
aws("HealthCheckStatus", "Minimum", "None", G.Availability),
|
|
217
|
+
aws("HealthCheckPercentageHealthy", "Average", "Percent", G.Availability),
|
|
100
218
|
],
|
|
101
219
|
},
|
|
102
220
|
{
|
|
103
221
|
namespace: "AWS/S3",
|
|
104
222
|
metrics: [
|
|
105
|
-
aws("BucketSizeBytes", "Average", "Bytes", exports.DAILY_PERIOD_SECONDS),
|
|
106
|
-
aws("NumberOfObjects", "Average", "Count", exports.DAILY_PERIOD_SECONDS),
|
|
223
|
+
aws("BucketSizeBytes", "Average", "Bytes", G.Storage, exports.DAILY_PERIOD_SECONDS),
|
|
224
|
+
aws("NumberOfObjects", "Average", "Count", G.Storage, exports.DAILY_PERIOD_SECONDS),
|
|
107
225
|
],
|
|
108
226
|
},
|
|
109
227
|
{
|
|
110
228
|
namespace: "AWS/EFS",
|
|
111
229
|
metrics: [
|
|
112
|
-
aws("ClientConnections", "Sum", "Count"),
|
|
113
|
-
aws("PercentIOLimit", "Average", "Percent"),
|
|
230
|
+
aws("ClientConnections", "Sum", "Count", G.Connections),
|
|
231
|
+
aws("PercentIOLimit", "Average", "Percent", G.Storage),
|
|
232
|
+
awsRead("BurstCreditBalance", "Average", "Bytes", G.Storage),
|
|
233
|
+
awsRead("DataReadIOBytes", "Sum", "Bytes", G.Storage),
|
|
234
|
+
awsRead("DataWriteIOBytes", "Sum", "Bytes", G.Storage),
|
|
235
|
+
],
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
namespace: "AWS/FSx",
|
|
239
|
+
metrics: [
|
|
240
|
+
awsRead("DataReadBytes", "Sum", "Bytes", G.Storage),
|
|
241
|
+
awsRead("DataWriteBytes", "Sum", "Bytes", G.Storage),
|
|
242
|
+
awsRead("DataReadOperations", "Sum", "Count", G.Storage),
|
|
243
|
+
awsRead("DataWriteOperations", "Sum", "Count", G.Storage),
|
|
244
|
+
// FSx for Windows File Server only.
|
|
245
|
+
awsRead("FreeStorageCapacity", "Average", "Bytes", G.Storage),
|
|
114
246
|
],
|
|
115
247
|
},
|
|
116
248
|
{
|
|
117
249
|
namespace: "AWS/ECS",
|
|
118
250
|
metrics: [
|
|
119
|
-
aws("CPUUtilization", "Average", "Percent"),
|
|
120
|
-
aws("MemoryUtilization", "Average", "Percent"),
|
|
251
|
+
aws("CPUUtilization", "Average", "Percent", G.Compute),
|
|
252
|
+
aws("MemoryUtilization", "Average", "Percent", G.Memory),
|
|
253
|
+
// A cluster's own: what its tasks reserve of its instances.
|
|
254
|
+
awsRead("CPUReservation", "Average", "Percent", G.Compute),
|
|
255
|
+
awsRead("MemoryReservation", "Average", "Percent", G.Memory),
|
|
121
256
|
],
|
|
122
257
|
},
|
|
123
258
|
{
|
|
124
259
|
namespace: "AWS/Lambda",
|
|
125
260
|
metrics: [
|
|
126
|
-
aws("Invocations", "Sum", "Count"),
|
|
127
|
-
aws("Errors", "Sum", "Count"),
|
|
128
|
-
aws("Duration", "Average", "Milliseconds"),
|
|
129
|
-
aws("Throttles", "Sum", "Count"),
|
|
261
|
+
aws("Invocations", "Sum", "Count", G.Traffic),
|
|
262
|
+
aws("Errors", "Sum", "Count", G.Errors),
|
|
263
|
+
aws("Duration", "Average", "Milliseconds", G.Latency),
|
|
264
|
+
aws("Throttles", "Sum", "Count", G.Errors),
|
|
265
|
+
awsRead("ConcurrentExecutions", "Maximum", "Count", G.Compute),
|
|
266
|
+
// Stream and asynchronous event sources only.
|
|
267
|
+
awsRead("IteratorAge", "Maximum", "Milliseconds", G.Backlog),
|
|
268
|
+
awsRead("DeadLetterErrors", "Sum", "Count", G.Errors),
|
|
130
269
|
],
|
|
131
270
|
},
|
|
132
271
|
{
|
|
133
272
|
namespace: "AWS/States",
|
|
134
273
|
metrics: [
|
|
135
|
-
aws("ExecutionsStarted", "Sum", "Count"),
|
|
136
|
-
aws("ExecutionsFailed", "Sum", "Count"),
|
|
137
|
-
aws("ExecutionTime", "Average", "Milliseconds"),
|
|
274
|
+
aws("ExecutionsStarted", "Sum", "Count", G.Traffic),
|
|
275
|
+
aws("ExecutionsFailed", "Sum", "Count", G.Errors),
|
|
276
|
+
aws("ExecutionTime", "Average", "Milliseconds", G.Latency),
|
|
277
|
+
awsRead("ExecutionsSucceeded", "Sum", "Count", G.Traffic),
|
|
278
|
+
awsRead("ExecutionsTimedOut", "Sum", "Count", G.Errors),
|
|
279
|
+
awsRead("ExecutionsAborted", "Sum", "Count", G.Errors),
|
|
280
|
+
awsRead("ExecutionThrottled", "Sum", "Count", G.Errors),
|
|
138
281
|
],
|
|
139
282
|
},
|
|
140
283
|
{
|
|
141
284
|
namespace: "AWS/RDS",
|
|
142
285
|
metrics: [
|
|
143
|
-
aws("CPUUtilization", "Average", "Percent"),
|
|
144
|
-
aws("DatabaseConnections", "Average", "Count"),
|
|
145
|
-
aws("FreeStorageSpace", "Average", "Bytes"),
|
|
146
|
-
aws("FreeableMemory", "Average", "Bytes"),
|
|
147
|
-
aws("ReadLatency", "Average", "Seconds"),
|
|
148
|
-
aws("WriteLatency", "Average", "Seconds"),
|
|
286
|
+
aws("CPUUtilization", "Average", "Percent", G.Compute),
|
|
287
|
+
aws("DatabaseConnections", "Average", "Count", G.Connections),
|
|
288
|
+
aws("FreeStorageSpace", "Average", "Bytes", G.Storage),
|
|
289
|
+
aws("FreeableMemory", "Average", "Bytes", G.Memory),
|
|
290
|
+
aws("ReadLatency", "Average", "Seconds", G.Latency),
|
|
291
|
+
aws("WriteLatency", "Average", "Seconds", G.Latency),
|
|
292
|
+
awsRead("ReadIOPS", "Average", "Count/Second", G.Storage),
|
|
293
|
+
awsRead("WriteIOPS", "Average", "Count/Second", G.Storage),
|
|
294
|
+
awsRead("DiskQueueDepth", "Average", "Count", G.Storage),
|
|
295
|
+
awsRead("NetworkReceiveThroughput", "Average", "Bytes/Second", G.Network),
|
|
296
|
+
awsRead("NetworkTransmitThroughput", "Average", "Bytes/Second", G.Network),
|
|
297
|
+
// A read replica's own.
|
|
298
|
+
awsRead("ReplicaLag", "Maximum", "Seconds", G.Replication),
|
|
149
299
|
],
|
|
150
300
|
},
|
|
151
301
|
{
|
|
152
302
|
namespace: "AWS/DocDB",
|
|
153
303
|
metrics: [
|
|
154
|
-
aws("CPUUtilization", "Average", "Percent"),
|
|
155
|
-
aws("DatabaseConnections", "Average", "Count"),
|
|
156
|
-
aws("FreeableMemory", "Average", "Bytes"),
|
|
304
|
+
aws("CPUUtilization", "Average", "Percent", G.Compute),
|
|
305
|
+
aws("DatabaseConnections", "Average", "Count", G.Connections),
|
|
306
|
+
aws("FreeableMemory", "Average", "Bytes", G.Memory),
|
|
307
|
+
awsRead("ReadLatency", "Average", "Milliseconds", G.Latency),
|
|
308
|
+
awsRead("WriteLatency", "Average", "Milliseconds", G.Latency),
|
|
309
|
+
awsRead("DBInstanceReplicaLag", "Maximum", "Milliseconds", G.Replication),
|
|
310
|
+
],
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
namespace: "AWS/Neptune",
|
|
314
|
+
metrics: [
|
|
315
|
+
awsRead("CPUUtilization", "Average", "Percent", G.Compute),
|
|
316
|
+
awsRead("FreeableMemory", "Average", "Bytes", G.Memory),
|
|
317
|
+
awsRead("MainRequestQueuePendingRequests", "Sum", "Count", G.Backlog),
|
|
318
|
+
awsRead("TotalServerErrorsPerSec", "Average", "Count/Second", G.Errors),
|
|
319
|
+
awsRead("TotalClientErrorsPerSec", "Average", "Count/Second", G.Errors),
|
|
320
|
+
awsRead("ClusterReplicaLag", "Average", "Milliseconds", G.Replication),
|
|
157
321
|
],
|
|
158
322
|
},
|
|
159
323
|
{
|
|
160
324
|
namespace: "AWS/DynamoDB",
|
|
161
325
|
metrics: [
|
|
162
|
-
aws("ConsumedReadCapacityUnits", "Sum", "Count"),
|
|
163
|
-
aws("ConsumedWriteCapacityUnits", "Sum", "Count"),
|
|
164
|
-
aws("ReadThrottleEvents", "Sum", "Count"),
|
|
165
|
-
aws("WriteThrottleEvents", "Sum", "Count"),
|
|
326
|
+
aws("ConsumedReadCapacityUnits", "Sum", "Count", G.Traffic),
|
|
327
|
+
aws("ConsumedWriteCapacityUnits", "Sum", "Count", G.Traffic),
|
|
328
|
+
aws("ReadThrottleEvents", "Sum", "Count", G.Errors),
|
|
329
|
+
aws("WriteThrottleEvents", "Sum", "Count", G.Errors),
|
|
330
|
+
// A provisioned table's own.
|
|
331
|
+
awsRead("ProvisionedReadCapacityUnits", "Average", "Count", G.Compute),
|
|
332
|
+
awsRead("ProvisionedWriteCapacityUnits", "Average", "Count", G.Compute),
|
|
166
333
|
],
|
|
167
334
|
},
|
|
168
335
|
{
|
|
169
336
|
namespace: "AWS/ElastiCache",
|
|
170
337
|
metrics: [
|
|
171
|
-
aws("CPUUtilization", "Average", "Percent"),
|
|
172
|
-
aws("CurrConnections", "Average", "Count"),
|
|
173
|
-
aws("Evictions", "Sum", "Count"),
|
|
174
|
-
aws("DatabaseMemoryUsagePercentage", "Average", "Percent"),
|
|
338
|
+
aws("CPUUtilization", "Average", "Percent", G.Compute),
|
|
339
|
+
aws("CurrConnections", "Average", "Count", G.Connections),
|
|
340
|
+
aws("Evictions", "Sum", "Count", G.Cache),
|
|
341
|
+
aws("DatabaseMemoryUsagePercentage", "Average", "Percent", G.Memory),
|
|
342
|
+
// Valkey and Redis OSS nodes'.
|
|
343
|
+
awsRead("EngineCPUUtilization", "Average", "Percent", G.Compute),
|
|
344
|
+
awsRead("CacheHits", "Sum", "Count", G.Cache),
|
|
345
|
+
awsRead("CacheMisses", "Sum", "Count", G.Cache),
|
|
346
|
+
// A read replica's own.
|
|
347
|
+
awsRead("ReplicationLag", "Maximum", "Seconds", G.Replication),
|
|
348
|
+
],
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
namespace: "AWS/MemoryDB",
|
|
352
|
+
metrics: [
|
|
353
|
+
awsRead("CPUUtilization", "Average", "Percent", G.Compute),
|
|
354
|
+
awsRead("EngineCPUUtilization", "Average", "Percent", G.Compute),
|
|
355
|
+
awsRead("DatabaseMemoryUsagePercentage", "Average", "Percent", G.Memory),
|
|
356
|
+
awsRead("CurrConnections", "Average", "Count", G.Connections),
|
|
357
|
+
awsRead("Evictions", "Sum", "Count", G.Cache),
|
|
175
358
|
],
|
|
176
359
|
},
|
|
177
360
|
{
|
|
178
361
|
namespace: "AWS/Redshift",
|
|
179
362
|
metrics: [
|
|
180
|
-
aws("CPUUtilization", "Average", "Percent"),
|
|
181
|
-
aws("PercentageDiskSpaceUsed", "Average", "Percent"),
|
|
182
|
-
aws("DatabaseConnections", "Average", "Count"),
|
|
363
|
+
aws("CPUUtilization", "Average", "Percent", G.Compute),
|
|
364
|
+
aws("PercentageDiskSpaceUsed", "Average", "Percent", G.Storage),
|
|
365
|
+
aws("DatabaseConnections", "Average", "Count", G.Connections),
|
|
366
|
+
awsRead("HealthStatus", "Minimum", "Count", G.Availability),
|
|
367
|
+
awsRead("ReadLatency", "Average", "Seconds", G.Latency),
|
|
368
|
+
awsRead("WriteLatency", "Average", "Seconds", G.Latency),
|
|
183
369
|
],
|
|
184
370
|
},
|
|
185
371
|
{
|
|
186
372
|
namespace: "AWS/ES",
|
|
187
373
|
metrics: [
|
|
188
|
-
aws("CPUUtilization", "Average", "Percent"),
|
|
189
|
-
aws("FreeStorageSpace", "Minimum", "Megabytes"),
|
|
190
|
-
aws("ClusterStatus.red", "Maximum", "Count"),
|
|
374
|
+
aws("CPUUtilization", "Average", "Percent", G.Compute),
|
|
375
|
+
aws("FreeStorageSpace", "Minimum", "Megabytes", G.Storage),
|
|
376
|
+
aws("ClusterStatus.red", "Maximum", "Count", G.Availability),
|
|
377
|
+
awsRead("ClusterStatus.yellow", "Maximum", "Count", G.Availability),
|
|
378
|
+
awsRead("ClusterIndexWritesBlocked", "Maximum", "Count", G.Errors),
|
|
379
|
+
awsRead("5xx", "Sum", "Count", G.Errors),
|
|
380
|
+
awsRead("SearchLatency", "Average", "Milliseconds", G.Latency),
|
|
381
|
+
awsRead("IndexingLatency", "Average", "Milliseconds", G.Latency),
|
|
382
|
+
awsRead("JVMMemoryPressure", "Maximum", "Percent", G.Memory),
|
|
191
383
|
],
|
|
192
384
|
},
|
|
193
385
|
{
|
|
194
386
|
namespace: "AWS/SQS",
|
|
195
387
|
metrics: [
|
|
196
|
-
aws("ApproximateNumberOfMessagesVisible", "Maximum", "Count"),
|
|
197
|
-
aws("ApproximateAgeOfOldestMessage", "Maximum", "Seconds"),
|
|
198
|
-
aws("NumberOfMessagesSent", "Sum", "Count"),
|
|
388
|
+
aws("ApproximateNumberOfMessagesVisible", "Maximum", "Count", G.Backlog),
|
|
389
|
+
aws("ApproximateAgeOfOldestMessage", "Maximum", "Seconds", G.Backlog),
|
|
390
|
+
aws("NumberOfMessagesSent", "Sum", "Count", G.Traffic),
|
|
391
|
+
awsRead("ApproximateNumberOfMessagesNotVisible", "Maximum", "Count", G.Backlog),
|
|
392
|
+
awsRead("NumberOfMessagesDeleted", "Sum", "Count", G.Traffic),
|
|
199
393
|
],
|
|
200
394
|
},
|
|
201
395
|
{
|
|
202
396
|
namespace: "AWS/SNS",
|
|
203
397
|
metrics: [
|
|
204
|
-
aws("NumberOfMessagesPublished", "Sum", "Count"),
|
|
205
|
-
aws("NumberOfNotificationsFailed", "Sum", "Count"),
|
|
398
|
+
aws("NumberOfMessagesPublished", "Sum", "Count", G.Traffic),
|
|
399
|
+
aws("NumberOfNotificationsFailed", "Sum", "Count", G.Errors),
|
|
400
|
+
awsRead("NumberOfNotificationsDelivered", "Sum", "Count", G.Traffic),
|
|
206
401
|
],
|
|
207
402
|
},
|
|
208
403
|
{
|
|
209
404
|
namespace: "AWS/Kinesis",
|
|
210
405
|
metrics: [
|
|
211
|
-
aws("IncomingRecords", "Sum", "Count"),
|
|
212
|
-
aws("GetRecords.IteratorAgeMilliseconds", "Maximum", "Milliseconds"),
|
|
406
|
+
aws("IncomingRecords", "Sum", "Count", G.Traffic),
|
|
407
|
+
aws("GetRecords.IteratorAgeMilliseconds", "Maximum", "Milliseconds", G.Backlog),
|
|
408
|
+
awsRead("IncomingBytes", "Sum", "Bytes", G.Traffic),
|
|
409
|
+
awsRead("WriteProvisionedThroughputExceeded", "Sum", "Count", G.Errors),
|
|
410
|
+
awsRead("ReadProvisionedThroughputExceeded", "Sum", "Count", G.Errors),
|
|
213
411
|
],
|
|
214
412
|
},
|
|
215
413
|
{
|
|
216
414
|
namespace: "AWS/Firehose",
|
|
217
415
|
metrics: [
|
|
218
|
-
aws("IncomingRecords", "Sum", "Count"),
|
|
219
|
-
aws("DeliveryToS3.Success", "Average", "Count"),
|
|
416
|
+
aws("IncomingRecords", "Sum", "Count", G.Traffic),
|
|
417
|
+
aws("DeliveryToS3.Success", "Average", "Count", G.Availability),
|
|
418
|
+
awsRead("IncomingBytes", "Sum", "Bytes", G.Traffic),
|
|
419
|
+
awsRead("ThrottledRecords", "Sum", "Count", G.Errors),
|
|
420
|
+
awsRead("DeliveryToS3.DataFreshness", "Maximum", "Seconds", G.Backlog),
|
|
220
421
|
],
|
|
221
422
|
},
|
|
222
423
|
{
|
|
223
424
|
namespace: "AWS/ApiGateway",
|
|
224
425
|
metrics: [
|
|
225
|
-
aws("Count", "Sum", "Count"),
|
|
226
|
-
aws("5XXError", "Sum", "Count"),
|
|
227
|
-
aws("Latency", "Average", "Milliseconds"),
|
|
426
|
+
aws("Count", "Sum", "Count", G.Traffic),
|
|
427
|
+
aws("5XXError", "Sum", "Count", G.Errors),
|
|
428
|
+
aws("Latency", "Average", "Milliseconds", G.Latency),
|
|
429
|
+
awsRead("4XXError", "Sum", "Count", G.Errors),
|
|
430
|
+
awsRead("IntegrationLatency", "Average", "Milliseconds", G.Latency),
|
|
228
431
|
],
|
|
229
432
|
},
|
|
230
433
|
{
|
|
231
434
|
namespace: "AWS/Events",
|
|
232
435
|
metrics: [
|
|
233
|
-
aws("Invocations", "Sum", "Count"),
|
|
234
|
-
aws("FailedInvocations", "Sum", "Count"),
|
|
436
|
+
aws("Invocations", "Sum", "Count", G.Traffic),
|
|
437
|
+
aws("FailedInvocations", "Sum", "Count", G.Errors),
|
|
438
|
+
awsRead("TriggeredRules", "Sum", "Count", G.Traffic),
|
|
439
|
+
awsRead("ThrottledRules", "Sum", "Count", G.Errors),
|
|
440
|
+
awsRead("DeadLetterInvocations", "Sum", "Count", G.Errors),
|
|
235
441
|
],
|
|
236
442
|
},
|
|
237
443
|
{
|
|
444
|
+
/*
|
|
445
|
+
* ActiveMQ and RabbitMQ brokers publish different metrics, CPU
|
|
446
|
+
* included: a sweep asks for either broker's.
|
|
447
|
+
*/
|
|
238
448
|
namespace: "AWS/AmazonMQ",
|
|
239
|
-
|
|
449
|
+
probeMetricNames: ["CpuUtilization", "SystemCpuUtilization"],
|
|
450
|
+
metrics: [
|
|
451
|
+
aws("CpuUtilization", "Average", "Percent", G.Compute),
|
|
452
|
+
// RabbitMQ.
|
|
453
|
+
awsRead("SystemCpuUtilization", "Average", "Percent", G.Compute),
|
|
454
|
+
awsRead("MessageCount", "Maximum", "Count", G.Backlog),
|
|
455
|
+
awsRead("ConnectionCount", "Maximum", "Count", G.Connections),
|
|
456
|
+
// ActiveMQ.
|
|
457
|
+
awsRead("HeapUsage", "Maximum", "Percent", G.Memory),
|
|
458
|
+
awsRead("StorePercentUsage", "Maximum", "Percent", G.Storage),
|
|
459
|
+
awsRead("CurrentConnectionsCount", "Maximum", "Count", G.Connections),
|
|
460
|
+
],
|
|
240
461
|
},
|
|
241
462
|
{
|
|
242
463
|
namespace: "AWS/Kafka",
|
|
243
|
-
metrics: [
|
|
464
|
+
metrics: [
|
|
465
|
+
aws("ActiveControllerCount", "Maximum", "Count", G.Availability),
|
|
466
|
+
awsRead("OfflinePartitionsCount", "Maximum", "Count", G.Availability),
|
|
467
|
+
// Each broker's own (Broker ID): a series per broker of the cluster.
|
|
468
|
+
awsRead("UnderReplicatedPartitions", "Maximum", "Count", G.Replication),
|
|
469
|
+
awsRead("KafkaDataLogsDiskUsed", "Maximum", "Percent", G.Storage),
|
|
470
|
+
awsRead("CpuUser", "Average", "Percent", G.Compute),
|
|
471
|
+
],
|
|
244
472
|
},
|
|
245
473
|
{
|
|
246
474
|
/*
|
|
@@ -253,7 +481,9 @@ exports.AWS_KEY_METRICS = [
|
|
|
253
481
|
*/
|
|
254
482
|
namespace: "AWS/CertificateManager",
|
|
255
483
|
isListedWhenQuiet: true,
|
|
256
|
-
metrics: [
|
|
484
|
+
metrics: [
|
|
485
|
+
aws("DaysToExpiry", "Minimum", "None", G.Availability, exports.HOURLY_PERIOD_SECONDS),
|
|
486
|
+
],
|
|
257
487
|
},
|
|
258
488
|
];
|
|
259
489
|
const AWS_KEY_METRICS_BY_NAMESPACE = new Map(exports.AWS_KEY_METRICS.map((entry) => {
|
|
@@ -262,12 +492,25 @@ const AWS_KEY_METRICS_BY_NAMESPACE = new Map(exports.AWS_KEY_METRICS.map((entry)
|
|
|
262
492
|
function getAwsKeyMetrics(namespace) {
|
|
263
493
|
return AWS_KEY_METRICS_BY_NAMESPACE.get(namespace.trim().toLowerCase());
|
|
264
494
|
}
|
|
495
|
+
/*
|
|
496
|
+
* The metrics a sweep asks for, in order, whether the namespace has
|
|
497
|
+
* resources in a Region: its probeMetricNames, else its first metric.
|
|
498
|
+
*/
|
|
499
|
+
function getAwsProbeMetricNames(entry) {
|
|
500
|
+
return entry.probeMetricNames && entry.probeMetricNames.length > 0
|
|
501
|
+
? [...entry.probeMetricNames]
|
|
502
|
+
: [entry.metrics[0].metricName];
|
|
503
|
+
}
|
|
265
504
|
// The stored name of a CloudWatch metric, as the receivers write it.
|
|
266
505
|
function getAwsStoredMetricName(namespace, metricName) {
|
|
267
506
|
return `amazonaws.com/${namespace}/${metricName}`;
|
|
268
507
|
}
|
|
269
|
-
|
|
270
|
-
|
|
508
|
+
/*
|
|
509
|
+
* At most this many metrics are read per resource: Azure Monitor's own
|
|
510
|
+
* limit for one metrics call, which is billed as one read whatever the
|
|
511
|
+
* number of metrics in it.
|
|
512
|
+
*/
|
|
513
|
+
exports.AZURE_MAX_METRICS_PER_RESOURCE = 20;
|
|
271
514
|
/*
|
|
272
515
|
* The Azure Monitor dimension that names a Service Bus or Event Hubs
|
|
273
516
|
* namespace's queue, topic or event hub.
|
|
@@ -287,148 +530,323 @@ exports.AZURE_ENTITY_NAME_ATTRIBUTE = `${exports.AZURE_DIMENSION_ATTRIBUTE_PREFI
|
|
|
287
530
|
* azure_monitor receiver to read (maximum_number_of_records_per_resource).
|
|
288
531
|
*/
|
|
289
532
|
exports.AZURE_MAX_SPLIT_SERIES_PER_METRIC = 1000;
|
|
533
|
+
function azure(name, group) {
|
|
534
|
+
return { name, group };
|
|
535
|
+
}
|
|
536
|
+
/*
|
|
537
|
+
* Microsoft's tables marked a virtual machine's network totals "DS Export:
|
|
538
|
+
* No" until 2026 and mark them Yes now. They stay marked here: a stream
|
|
539
|
+
* that sends them is left to the read, which writes them as it always has
|
|
540
|
+
* (isAzureStreamedKeyMetric), so nothing is counted twice and nothing is
|
|
541
|
+
* lost whichever the tables say.
|
|
542
|
+
*/
|
|
543
|
+
const AZURE_VM_NETWORK_TOTALS = [
|
|
544
|
+
"Network In Total",
|
|
545
|
+
"Network Out Total",
|
|
546
|
+
];
|
|
290
547
|
exports.AZURE_KEY_METRICS = [
|
|
291
548
|
{
|
|
292
549
|
type: "Microsoft.Compute/virtualMachines",
|
|
293
550
|
metrics: [
|
|
294
|
-
"Percentage CPU",
|
|
295
|
-
"Available Memory Bytes",
|
|
296
|
-
"Network In Total",
|
|
297
|
-
"Network Out Total",
|
|
298
|
-
"Disk Read Bytes",
|
|
299
|
-
"Disk Write Bytes",
|
|
300
|
-
"VmAvailabilityMetric",
|
|
551
|
+
azure("Percentage CPU", G.Compute),
|
|
552
|
+
azure("Available Memory Bytes", G.Memory),
|
|
553
|
+
azure("Network In Total", G.Network),
|
|
554
|
+
azure("Network Out Total", G.Network),
|
|
555
|
+
azure("Disk Read Bytes", G.Storage),
|
|
556
|
+
azure("Disk Write Bytes", G.Storage),
|
|
557
|
+
azure("VmAvailabilityMetric", G.Availability),
|
|
558
|
+
azure("CPU Credits Remaining", G.Compute),
|
|
559
|
+
azure("Available Memory Percentage", G.Memory),
|
|
560
|
+
azure("Disk Read Operations/Sec", G.Storage),
|
|
561
|
+
azure("Disk Write Operations/Sec", G.Storage),
|
|
562
|
+
azure("OS Disk Queue Depth", G.Storage),
|
|
563
|
+
azure("OS Disk Latency", G.Storage),
|
|
564
|
+
azure("VM Uncached IOPS Consumed Percentage", G.Storage),
|
|
565
|
+
azure("VM Uncached Bandwidth Consumed Percentage", G.Storage),
|
|
566
|
+
azure("Inbound Flows", G.Network),
|
|
567
|
+
azure("Outbound Flows", G.Network),
|
|
301
568
|
],
|
|
302
|
-
notExportedByDiagnosticSettings:
|
|
569
|
+
notExportedByDiagnosticSettings: AZURE_VM_NETWORK_TOTALS,
|
|
303
570
|
},
|
|
304
571
|
{
|
|
305
572
|
type: "Microsoft.Compute/virtualMachineScaleSets",
|
|
306
573
|
metrics: [
|
|
307
|
-
"Percentage CPU",
|
|
308
|
-
"Available Memory Bytes",
|
|
309
|
-
"Network In Total",
|
|
310
|
-
"Network Out Total",
|
|
574
|
+
azure("Percentage CPU", G.Compute),
|
|
575
|
+
azure("Available Memory Bytes", G.Memory),
|
|
576
|
+
azure("Network In Total", G.Network),
|
|
577
|
+
azure("Network Out Total", G.Network),
|
|
578
|
+
azure("VmAvailabilityMetric", G.Availability),
|
|
579
|
+
azure("CPU Credits Remaining", G.Compute),
|
|
580
|
+
azure("Available Memory Percentage", G.Memory),
|
|
581
|
+
azure("Disk Read Bytes", G.Storage),
|
|
582
|
+
azure("Disk Write Bytes", G.Storage),
|
|
583
|
+
azure("Disk Read Operations/Sec", G.Storage),
|
|
584
|
+
azure("Disk Write Operations/Sec", G.Storage),
|
|
585
|
+
azure("OS Disk Queue Depth", G.Storage),
|
|
586
|
+
azure("VM Uncached IOPS Consumed Percentage", G.Storage),
|
|
587
|
+
azure("Inbound Flows", G.Network),
|
|
588
|
+
azure("Outbound Flows", G.Network),
|
|
311
589
|
],
|
|
312
|
-
notExportedByDiagnosticSettings:
|
|
590
|
+
notExportedByDiagnosticSettings: AZURE_VM_NETWORK_TOTALS,
|
|
313
591
|
},
|
|
314
592
|
{
|
|
315
593
|
type: "Microsoft.Compute/disks",
|
|
316
594
|
metrics: [
|
|
317
|
-
"Composite Disk Read Bytes/sec",
|
|
318
|
-
"Composite Disk Write Bytes/sec",
|
|
319
|
-
"Composite Disk Read Operations/sec",
|
|
320
|
-
"Composite Disk Write Operations/sec",
|
|
595
|
+
azure("Composite Disk Read Bytes/sec", G.Storage),
|
|
596
|
+
azure("Composite Disk Write Bytes/sec", G.Storage),
|
|
597
|
+
azure("Composite Disk Read Operations/sec", G.Storage),
|
|
598
|
+
azure("Composite Disk Write Operations/sec", G.Storage),
|
|
599
|
+
azure("DiskPaidBurstIOPS", G.Storage),
|
|
321
600
|
],
|
|
322
601
|
notExportedByDiagnosticSettings: [
|
|
323
602
|
"Composite Disk Read Bytes/sec",
|
|
324
603
|
"Composite Disk Write Bytes/sec",
|
|
325
604
|
"Composite Disk Read Operations/sec",
|
|
326
605
|
"Composite Disk Write Operations/sec",
|
|
606
|
+
"DiskPaidBurstIOPS",
|
|
327
607
|
],
|
|
328
608
|
},
|
|
329
609
|
{
|
|
330
610
|
type: "Microsoft.Web/sites",
|
|
331
611
|
metrics: [
|
|
332
|
-
"Requests",
|
|
333
|
-
"Http5xx",
|
|
334
|
-
"Http4xx",
|
|
335
|
-
"HttpResponseTime",
|
|
336
|
-
"CpuTime",
|
|
337
|
-
"MemoryWorkingSet",
|
|
338
|
-
"FunctionExecutionCount",
|
|
612
|
+
azure("Requests", G.Traffic),
|
|
613
|
+
azure("Http5xx", G.Errors),
|
|
614
|
+
azure("Http4xx", G.Errors),
|
|
615
|
+
azure("HttpResponseTime", G.Latency),
|
|
616
|
+
azure("CpuTime", G.Compute),
|
|
617
|
+
azure("MemoryWorkingSet", G.Memory),
|
|
618
|
+
azure("FunctionExecutionCount", G.Traffic),
|
|
619
|
+
azure("Http2xx", G.Traffic),
|
|
620
|
+
azure("RequestsInApplicationQueue", G.Backlog),
|
|
621
|
+
azure("PrivateBytes", G.Memory),
|
|
622
|
+
azure("Threads", G.Compute),
|
|
623
|
+
azure("Handles", G.Compute),
|
|
624
|
+
azure("AppConnections", G.Connections),
|
|
625
|
+
azure("BytesReceived", G.Network),
|
|
626
|
+
azure("BytesSent", G.Network),
|
|
627
|
+
azure("FunctionExecutionUnits", G.Compute),
|
|
628
|
+
azure("FileSystemUsage", G.Storage),
|
|
339
629
|
],
|
|
340
630
|
},
|
|
341
631
|
{
|
|
342
632
|
type: "Microsoft.Web/serverfarms",
|
|
343
|
-
metrics: [
|
|
633
|
+
metrics: [
|
|
634
|
+
azure("CpuPercentage", G.Compute),
|
|
635
|
+
azure("MemoryPercentage", G.Memory),
|
|
636
|
+
azure("HttpQueueLength", G.Backlog),
|
|
637
|
+
azure("DiskQueueLength", G.Storage),
|
|
638
|
+
azure("BytesReceived", G.Network),
|
|
639
|
+
azure("BytesSent", G.Network),
|
|
640
|
+
azure("TcpEstablished", G.Connections),
|
|
641
|
+
],
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
type: "Microsoft.Web/staticSites",
|
|
645
|
+
metrics: [
|
|
646
|
+
azure("SiteHits", G.Traffic),
|
|
647
|
+
azure("SiteErrors", G.Errors),
|
|
648
|
+
azure("FunctionHits", G.Traffic),
|
|
649
|
+
azure("FunctionErrors", G.Errors),
|
|
650
|
+
azure("CdnRequestCount", G.Traffic),
|
|
651
|
+
azure("BytesSent", G.Network),
|
|
652
|
+
],
|
|
653
|
+
notExportedByDiagnosticSettings: [
|
|
654
|
+
"SiteHits",
|
|
655
|
+
"SiteErrors",
|
|
656
|
+
"FunctionHits",
|
|
657
|
+
"FunctionErrors",
|
|
658
|
+
"CdnRequestCount",
|
|
659
|
+
"BytesSent",
|
|
660
|
+
],
|
|
344
661
|
},
|
|
345
662
|
{
|
|
346
663
|
type: "Microsoft.Sql/servers/databases",
|
|
347
664
|
metrics: [
|
|
348
|
-
"cpu_percent",
|
|
349
|
-
"dtu_consumption_percent",
|
|
350
|
-
"storage_percent",
|
|
351
|
-
"connection_failed",
|
|
352
|
-
"deadlock",
|
|
353
|
-
"sessions_percent",
|
|
665
|
+
azure("cpu_percent", G.Compute),
|
|
666
|
+
azure("dtu_consumption_percent", G.Compute),
|
|
667
|
+
azure("storage_percent", G.Storage),
|
|
668
|
+
azure("connection_failed", G.Connections),
|
|
669
|
+
azure("deadlock", G.Errors),
|
|
670
|
+
azure("sessions_percent", G.Connections),
|
|
671
|
+
azure("availability", G.Availability),
|
|
672
|
+
azure("workers_percent", G.Compute),
|
|
673
|
+
azure("log_write_percent", G.Storage),
|
|
674
|
+
azure("physical_data_read_percent", G.Storage),
|
|
675
|
+
azure("storage", G.Storage),
|
|
676
|
+
azure("connection_successful", G.Connections),
|
|
677
|
+
azure("connection_failed_user_error", G.Connections),
|
|
678
|
+
azure("blocked_by_firewall", G.Connections),
|
|
679
|
+
azure("sessions_count", G.Connections),
|
|
354
680
|
],
|
|
355
681
|
},
|
|
356
682
|
{
|
|
357
683
|
type: "Microsoft.Sql/servers/elasticpools",
|
|
358
|
-
metrics: [
|
|
684
|
+
metrics: [
|
|
685
|
+
azure("cpu_percent", G.Compute),
|
|
686
|
+
azure("eDTU_used", G.Compute),
|
|
687
|
+
azure("storage_percent", G.Storage),
|
|
688
|
+
azure("dtu_consumption_percent", G.Compute),
|
|
689
|
+
azure("workers_percent", G.Compute),
|
|
690
|
+
azure("sessions_percent", G.Connections),
|
|
691
|
+
azure("log_write_percent", G.Storage),
|
|
692
|
+
azure("physical_data_read_percent", G.Storage),
|
|
693
|
+
azure("allocated_data_storage_percent", G.Storage),
|
|
694
|
+
azure("storage_used", G.Storage),
|
|
695
|
+
],
|
|
359
696
|
},
|
|
360
697
|
{
|
|
361
698
|
type: "Microsoft.Sql/managedInstances",
|
|
362
|
-
metrics: [
|
|
699
|
+
metrics: [
|
|
700
|
+
azure("avg_cpu_percent", G.Compute),
|
|
701
|
+
azure("storage_space_used_mb", G.Storage),
|
|
702
|
+
azure("avg_workers_percent", G.Compute),
|
|
703
|
+
azure("reserved_storage_mb", G.Storage),
|
|
704
|
+
azure("io_requests", G.Storage),
|
|
705
|
+
azure("io_bytes_read", G.Storage),
|
|
706
|
+
azure("io_bytes_written", G.Storage),
|
|
707
|
+
],
|
|
363
708
|
},
|
|
364
709
|
{
|
|
365
710
|
type: "Microsoft.DBforPostgreSQL/flexibleServers",
|
|
366
711
|
metrics: [
|
|
367
|
-
"cpu_percent",
|
|
368
|
-
"memory_percent",
|
|
369
|
-
"storage_percent",
|
|
370
|
-
"active_connections",
|
|
371
|
-
"connections_failed",
|
|
712
|
+
azure("cpu_percent", G.Compute),
|
|
713
|
+
azure("memory_percent", G.Memory),
|
|
714
|
+
azure("storage_percent", G.Storage),
|
|
715
|
+
azure("active_connections", G.Connections),
|
|
716
|
+
azure("connections_failed", G.Connections),
|
|
717
|
+
azure("is_db_alive", G.Availability),
|
|
718
|
+
azure("cpu_credits_remaining", G.Compute),
|
|
719
|
+
azure("storage_used", G.Storage),
|
|
720
|
+
azure("txlogs_storage_used", G.Storage),
|
|
721
|
+
azure("disk_iops_consumed_percentage", G.Storage),
|
|
722
|
+
azure("disk_queue_depth", G.Storage),
|
|
723
|
+
azure("read_iops", G.Storage),
|
|
724
|
+
azure("write_iops", G.Storage),
|
|
725
|
+
azure("connections_succeeded", G.Connections),
|
|
726
|
+
azure("maximum_used_transactionIDs", G.Storage),
|
|
727
|
+
azure("network_bytes_ingress", G.Network),
|
|
728
|
+
azure("network_bytes_egress", G.Network),
|
|
729
|
+
azure("physical_replication_delay_in_seconds", G.Replication),
|
|
372
730
|
],
|
|
373
731
|
},
|
|
374
732
|
{
|
|
375
733
|
type: "Microsoft.DBforMySQL/flexibleServers",
|
|
376
734
|
metrics: [
|
|
377
|
-
"cpu_percent",
|
|
378
|
-
"memory_percent",
|
|
379
|
-
"storage_percent",
|
|
380
|
-
"active_connections",
|
|
381
|
-
"aborted_connections",
|
|
735
|
+
azure("cpu_percent", G.Compute),
|
|
736
|
+
azure("memory_percent", G.Memory),
|
|
737
|
+
azure("storage_percent", G.Storage),
|
|
738
|
+
azure("active_connections", G.Connections),
|
|
739
|
+
azure("aborted_connections", G.Connections),
|
|
740
|
+
azure("io_consumption_percent", G.Storage),
|
|
741
|
+
azure("storage_used", G.Storage),
|
|
742
|
+
azure("total_connections", G.Connections),
|
|
743
|
+
azure("Queries", G.Traffic),
|
|
744
|
+
azure("Slow_queries", G.Latency),
|
|
745
|
+
azure("Threads_running", G.Compute),
|
|
746
|
+
azure("lock_deadlocks", G.Errors),
|
|
747
|
+
azure("network_bytes_ingress", G.Network),
|
|
748
|
+
azure("network_bytes_egress", G.Network),
|
|
749
|
+
azure("replication_lag", G.Replication),
|
|
382
750
|
],
|
|
383
751
|
},
|
|
384
752
|
{
|
|
385
753
|
type: "Microsoft.DocumentDB/databaseAccounts",
|
|
386
754
|
metrics: [
|
|
387
|
-
"TotalRequests",
|
|
388
|
-
"TotalRequestUnits",
|
|
389
|
-
"NormalizedRUConsumption",
|
|
390
|
-
"ServerSideLatency",
|
|
755
|
+
azure("TotalRequests", G.Traffic),
|
|
756
|
+
azure("TotalRequestUnits", G.Traffic),
|
|
757
|
+
azure("NormalizedRUConsumption", G.Compute),
|
|
758
|
+
azure("ServerSideLatency", G.Latency),
|
|
759
|
+
azure("ServerSideLatencyGateway", G.Latency),
|
|
760
|
+
azure("ServerSideLatencyDirect", G.Latency),
|
|
761
|
+
azure("ThrottledRequestPercentage", G.Errors),
|
|
762
|
+
azure("ReplicationLatency", G.Replication),
|
|
763
|
+
azure("ServiceAvailability", G.Availability),
|
|
391
764
|
],
|
|
392
765
|
notExportedByDiagnosticSettings: [
|
|
393
766
|
"TotalRequests",
|
|
394
767
|
"TotalRequestUnits",
|
|
395
768
|
"NormalizedRUConsumption",
|
|
396
769
|
"ServerSideLatency",
|
|
770
|
+
"ServerSideLatencyGateway",
|
|
771
|
+
"ServerSideLatencyDirect",
|
|
772
|
+
"ThrottledRequestPercentage",
|
|
773
|
+
"ReplicationLatency",
|
|
774
|
+
"ServiceAvailability",
|
|
397
775
|
],
|
|
398
776
|
},
|
|
399
777
|
{
|
|
400
778
|
type: "Microsoft.Cache/redis",
|
|
401
779
|
metrics: [
|
|
402
|
-
"percentProcessorTime",
|
|
403
|
-
"usedmemorypercentage",
|
|
404
|
-
"connectedclients",
|
|
405
|
-
"serverLoad",
|
|
406
|
-
"errors",
|
|
780
|
+
azure("percentProcessorTime", G.Compute),
|
|
781
|
+
azure("usedmemorypercentage", G.Memory),
|
|
782
|
+
azure("connectedclients", G.Connections),
|
|
783
|
+
azure("serverLoad", G.Compute),
|
|
784
|
+
azure("errors", G.Errors),
|
|
785
|
+
azure("operationsPerSecond", G.Traffic),
|
|
786
|
+
azure("cacheRead", G.Network),
|
|
787
|
+
azure("cacheWrite", G.Network),
|
|
788
|
+
azure("cachehits", G.Cache),
|
|
789
|
+
azure("cachemisses", G.Cache),
|
|
790
|
+
azure("evictedkeys", G.Cache),
|
|
791
|
+
azure("expiredkeys", G.Cache),
|
|
792
|
+
azure("totalkeys", G.Cache),
|
|
793
|
+
azure("usedmemory", G.Memory),
|
|
794
|
+
azure("LatencyP99", G.Latency),
|
|
795
|
+
azure("GeoReplicationHealthy", G.Replication),
|
|
796
|
+
],
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
type: "Microsoft.Cache/redisEnterprise",
|
|
800
|
+
metrics: [
|
|
801
|
+
azure("serverLoad", G.Compute),
|
|
802
|
+
azure("percentProcessorTime", G.Compute),
|
|
803
|
+
azure("usedmemorypercentage", G.Memory),
|
|
804
|
+
azure("usedmemory", G.Memory),
|
|
805
|
+
azure("connectedclients", G.Connections),
|
|
806
|
+
azure("operationsPerSecond", G.Traffic),
|
|
807
|
+
azure("cacheRead", G.Network),
|
|
808
|
+
azure("cacheWrite", G.Network),
|
|
809
|
+
azure("cachehits", G.Cache),
|
|
810
|
+
azure("cachemisses", G.Cache),
|
|
811
|
+
azure("evictedkeys", G.Cache),
|
|
812
|
+
azure("expiredkeys", G.Cache),
|
|
813
|
+
azure("totalkeys", G.Cache),
|
|
814
|
+
azure("cacheLatency", G.Latency),
|
|
815
|
+
azure("geoReplicationHealthy", G.Replication),
|
|
407
816
|
],
|
|
408
817
|
},
|
|
409
818
|
{
|
|
410
819
|
type: "Microsoft.Storage/storageAccounts",
|
|
411
820
|
metrics: [
|
|
412
|
-
"Transactions",
|
|
413
|
-
"Availability",
|
|
414
|
-
"SuccessE2ELatency",
|
|
415
|
-
"UsedCapacity",
|
|
821
|
+
azure("Transactions", G.Traffic),
|
|
822
|
+
azure("Availability", G.Availability),
|
|
823
|
+
azure("SuccessE2ELatency", G.Latency),
|
|
824
|
+
azure("UsedCapacity", G.Storage),
|
|
825
|
+
azure("SuccessServerLatency", G.Latency),
|
|
826
|
+
azure("Ingress", G.Network),
|
|
827
|
+
azure("Egress", G.Network),
|
|
416
828
|
],
|
|
417
829
|
notExportedByDiagnosticSettings: ["UsedCapacity"],
|
|
418
830
|
},
|
|
419
831
|
{
|
|
420
832
|
type: "Microsoft.KeyVault/vaults",
|
|
421
|
-
metrics: [
|
|
833
|
+
metrics: [
|
|
834
|
+
azure("ServiceApiHit", G.Traffic),
|
|
835
|
+
azure("ServiceApiLatency", G.Latency),
|
|
836
|
+
azure("Availability", G.Availability),
|
|
837
|
+
azure("SaturationShoebox", G.Compute),
|
|
838
|
+
],
|
|
839
|
+
notExportedByDiagnosticSettings: ["SaturationShoebox"],
|
|
422
840
|
},
|
|
423
841
|
{
|
|
424
842
|
type: "Microsoft.ServiceBus/namespaces",
|
|
425
843
|
metrics: [
|
|
426
|
-
"IncomingMessages",
|
|
427
|
-
"OutgoingMessages",
|
|
428
|
-
"ActiveMessages",
|
|
429
|
-
"DeadletteredMessages",
|
|
430
|
-
"ServerErrors",
|
|
431
|
-
"ThrottledRequests",
|
|
844
|
+
azure("IncomingMessages", G.Traffic),
|
|
845
|
+
azure("OutgoingMessages", G.Traffic),
|
|
846
|
+
azure("ActiveMessages", G.Backlog),
|
|
847
|
+
azure("DeadletteredMessages", G.Backlog),
|
|
848
|
+
azure("ServerErrors", G.Errors),
|
|
849
|
+
azure("ThrottledRequests", G.Errors),
|
|
432
850
|
],
|
|
433
851
|
splitByDimension: exports.AZURE_ENTITY_NAME_DIMENSION,
|
|
434
852
|
notExportedByDiagnosticSettings: [
|
|
@@ -441,94 +859,447 @@ exports.AZURE_KEY_METRICS = [
|
|
|
441
859
|
{
|
|
442
860
|
type: "Microsoft.EventHub/namespaces",
|
|
443
861
|
metrics: [
|
|
444
|
-
"IncomingMessages",
|
|
445
|
-
"OutgoingMessages",
|
|
446
|
-
"ThrottledRequests",
|
|
447
|
-
"ServerErrors",
|
|
862
|
+
azure("IncomingMessages", G.Traffic),
|
|
863
|
+
azure("OutgoingMessages", G.Traffic),
|
|
864
|
+
azure("ThrottledRequests", G.Errors),
|
|
865
|
+
azure("ServerErrors", G.Errors),
|
|
448
866
|
],
|
|
449
867
|
splitByDimension: exports.AZURE_ENTITY_NAME_DIMENSION,
|
|
450
868
|
notExportedByDiagnosticSettings: ["ThrottledRequests", "ServerErrors"],
|
|
451
869
|
},
|
|
870
|
+
{
|
|
871
|
+
type: "Microsoft.EventGrid/topics",
|
|
872
|
+
metrics: [
|
|
873
|
+
azure("PublishSuccessCount", G.Traffic),
|
|
874
|
+
azure("PublishFailCount", G.Errors),
|
|
875
|
+
azure("PublishSuccessLatencyInMs", G.Latency),
|
|
876
|
+
azure("MatchedEventCount", G.Traffic),
|
|
877
|
+
azure("DeliverySuccessCount", G.Traffic),
|
|
878
|
+
azure("DeliveryAttemptFailCount", G.Errors),
|
|
879
|
+
azure("DroppedEventCount", G.Errors),
|
|
880
|
+
azure("DeadLetteredCount", G.Backlog),
|
|
881
|
+
azure("DestinationProcessingDurationInMs", G.Latency),
|
|
882
|
+
],
|
|
883
|
+
notExportedByDiagnosticSettings: [
|
|
884
|
+
"DeliveryAttemptFailCount",
|
|
885
|
+
"DestinationProcessingDurationInMs",
|
|
886
|
+
],
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
type: "Microsoft.EventGrid/systemTopics",
|
|
890
|
+
metrics: [
|
|
891
|
+
azure("PublishSuccessCount", G.Traffic),
|
|
892
|
+
azure("PublishFailCount", G.Errors),
|
|
893
|
+
azure("PublishSuccessLatencyInMs", G.Latency),
|
|
894
|
+
azure("MatchedEventCount", G.Traffic),
|
|
895
|
+
azure("DeliverySuccessCount", G.Traffic),
|
|
896
|
+
azure("DeliveryAttemptFailCount", G.Errors),
|
|
897
|
+
azure("DroppedEventCount", G.Errors),
|
|
898
|
+
azure("DeadLetteredCount", G.Backlog),
|
|
899
|
+
azure("DestinationProcessingDurationInMs", G.Latency),
|
|
900
|
+
],
|
|
901
|
+
notExportedByDiagnosticSettings: [
|
|
902
|
+
"DeliveryAttemptFailCount",
|
|
903
|
+
"DestinationProcessingDurationInMs",
|
|
904
|
+
],
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
type: "Microsoft.EventGrid/namespaces",
|
|
908
|
+
metrics: [
|
|
909
|
+
azure("SuccessfulPublishedEvents", G.Traffic),
|
|
910
|
+
azure("FailedPublishedEvents", G.Errors),
|
|
911
|
+
azure("PublishLatencyInMilliseconds", G.Latency),
|
|
912
|
+
azure("SuccessfulReceivedEvents", G.Traffic),
|
|
913
|
+
azure("DeadLetteredCount", G.Backlog),
|
|
914
|
+
azure("DroppedEventCount", G.Errors),
|
|
915
|
+
azure("Mqtt.Connections", G.Connections),
|
|
916
|
+
azure("Mqtt.SuccessfulPublishedMessages", G.Traffic),
|
|
917
|
+
azure("Mqtt.FailedPublishedMessages", G.Errors),
|
|
918
|
+
azure("Mqtt.ThrottlingEnforcements", G.Errors),
|
|
919
|
+
azure("Mqtt.Throughput", G.Network),
|
|
920
|
+
],
|
|
921
|
+
notExportedByDiagnosticSettings: [
|
|
922
|
+
"SuccessfulPublishedEvents",
|
|
923
|
+
"FailedPublishedEvents",
|
|
924
|
+
"PublishLatencyInMilliseconds",
|
|
925
|
+
"SuccessfulReceivedEvents",
|
|
926
|
+
"DeadLetteredCount",
|
|
927
|
+
"DroppedEventCount",
|
|
928
|
+
],
|
|
929
|
+
},
|
|
452
930
|
{
|
|
453
931
|
type: "Microsoft.ContainerService/managedClusters",
|
|
454
932
|
metrics: [
|
|
455
|
-
"node_cpu_usage_percentage",
|
|
456
|
-
"node_memory_working_set_percentage",
|
|
457
|
-
"kube_pod_status_ready",
|
|
933
|
+
azure("node_cpu_usage_percentage", G.Compute),
|
|
934
|
+
azure("node_memory_working_set_percentage", G.Memory),
|
|
935
|
+
azure("kube_pod_status_ready", G.Availability),
|
|
936
|
+
azure("node_disk_usage_percentage", G.Storage),
|
|
937
|
+
azure("node_network_in_bytes", G.Network),
|
|
938
|
+
azure("node_network_out_bytes", G.Network),
|
|
939
|
+
azure("apiserver_cpu_usage_percentage", G.Compute),
|
|
940
|
+
azure("apiserver_memory_usage_percentage", G.Memory),
|
|
941
|
+
azure("etcd_database_usage_percentage", G.Storage),
|
|
458
942
|
],
|
|
459
943
|
notExportedByDiagnosticSettings: ["kube_pod_status_ready"],
|
|
460
944
|
},
|
|
461
945
|
{
|
|
462
946
|
type: "Microsoft.App/containerApps",
|
|
463
|
-
metrics: [
|
|
947
|
+
metrics: [
|
|
948
|
+
azure("Requests", G.Traffic),
|
|
949
|
+
azure("UsageNanoCores", G.Compute),
|
|
950
|
+
azure("WorkingSetBytes", G.Memory),
|
|
951
|
+
azure("RestartCount", G.Availability),
|
|
952
|
+
azure("ResponseTime", G.Latency),
|
|
953
|
+
azure("CpuPercentage", G.Compute),
|
|
954
|
+
azure("MemoryPercentage", G.Memory),
|
|
955
|
+
azure("Replicas", G.Compute),
|
|
956
|
+
azure("RxBytes", G.Network),
|
|
957
|
+
azure("TxBytes", G.Network),
|
|
958
|
+
],
|
|
959
|
+
},
|
|
960
|
+
{
|
|
961
|
+
type: "Microsoft.ContainerInstance/containerGroups",
|
|
962
|
+
metrics: [
|
|
963
|
+
azure("CpuUsage", G.Compute),
|
|
964
|
+
azure("MemoryUsage", G.Memory),
|
|
965
|
+
azure("NetworkBytesReceivedPerSecond", G.Network),
|
|
966
|
+
azure("NetworkBytesTransmittedPerSecond", G.Network),
|
|
967
|
+
],
|
|
464
968
|
},
|
|
465
969
|
{
|
|
466
970
|
type: "Microsoft.Network/loadBalancers",
|
|
467
|
-
metrics: [
|
|
971
|
+
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),
|
|
980
|
+
],
|
|
981
|
+
notExportedByDiagnosticSettings: ["UsedSnatPorts", "AllocatedSnatPorts"],
|
|
468
982
|
},
|
|
469
983
|
{
|
|
470
984
|
type: "Microsoft.Network/applicationGateways",
|
|
471
985
|
metrics: [
|
|
472
|
-
"TotalRequests",
|
|
473
|
-
"FailedRequests",
|
|
474
|
-
"UnhealthyHostCount",
|
|
475
|
-
"ApplicationGatewayTotalTime",
|
|
476
|
-
"Throughput",
|
|
986
|
+
azure("TotalRequests", G.Traffic),
|
|
987
|
+
azure("FailedRequests", G.Errors),
|
|
988
|
+
azure("UnhealthyHostCount", G.Availability),
|
|
989
|
+
azure("ApplicationGatewayTotalTime", G.Latency),
|
|
990
|
+
azure("Throughput", G.Network),
|
|
991
|
+
azure("HealthyHostCount", G.Availability),
|
|
992
|
+
azure("BackendLastByteResponseTime", G.Latency),
|
|
993
|
+
azure("CurrentConnections", G.Connections),
|
|
994
|
+
azure("BytesReceived", G.Network),
|
|
995
|
+
azure("BytesSent", G.Network),
|
|
996
|
+
azure("CapacityUnits", G.Compute),
|
|
997
|
+
azure("ComputeUnits", G.Compute),
|
|
477
998
|
],
|
|
478
999
|
notExportedByDiagnosticSettings: [
|
|
479
1000
|
"ApplicationGatewayTotalTime",
|
|
480
1001
|
"Throughput",
|
|
1002
|
+
"BackendLastByteResponseTime",
|
|
1003
|
+
"CapacityUnits",
|
|
1004
|
+
"ComputeUnits",
|
|
481
1005
|
],
|
|
482
1006
|
},
|
|
483
1007
|
{
|
|
484
1008
|
type: "Microsoft.Network/publicIPAddresses",
|
|
485
|
-
metrics: [
|
|
1009
|
+
metrics: [
|
|
1010
|
+
azure("VipAvailability", G.Availability),
|
|
1011
|
+
azure("ByteCount", G.Traffic),
|
|
1012
|
+
azure("IfUnderDDoSAttack", G.Errors),
|
|
1013
|
+
azure("PacketCount", G.Traffic),
|
|
1014
|
+
azure("SynCount", G.Connections),
|
|
1015
|
+
azure("PacketsDroppedDDoS", G.Errors),
|
|
1016
|
+
],
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
type: "Microsoft.Network/networkInterfaces",
|
|
1020
|
+
metrics: [
|
|
1021
|
+
azure("BytesReceivedRate", G.Network),
|
|
1022
|
+
azure("BytesSentRate", G.Network),
|
|
1023
|
+
azure("PacketsReceivedRate", G.Network),
|
|
1024
|
+
azure("PacketsSentRate", G.Network),
|
|
1025
|
+
],
|
|
486
1026
|
},
|
|
487
1027
|
{
|
|
488
1028
|
type: "Microsoft.Network/azureFirewalls",
|
|
489
|
-
metrics: [
|
|
1029
|
+
metrics: [
|
|
1030
|
+
azure("FirewallHealth", G.Availability),
|
|
1031
|
+
azure("Throughput", G.Network),
|
|
1032
|
+
azure("SNATPortUtilization", G.Connections),
|
|
1033
|
+
azure("DataProcessed", G.Traffic),
|
|
1034
|
+
azure("FirewallLatencyPng", G.Latency),
|
|
1035
|
+
azure("ApplicationRuleHit", G.Traffic),
|
|
1036
|
+
azure("NetworkRuleHit", G.Traffic),
|
|
1037
|
+
],
|
|
490
1038
|
notExportedByDiagnosticSettings: ["Throughput"],
|
|
491
1039
|
},
|
|
492
1040
|
{
|
|
493
1041
|
type: "Microsoft.Network/natGateways",
|
|
494
|
-
metrics: [
|
|
1042
|
+
metrics: [
|
|
1043
|
+
azure("ByteCount", G.Traffic),
|
|
1044
|
+
azure("SNATConnectionCount", G.Connections),
|
|
1045
|
+
azure("DatapathAvailability", G.Availability),
|
|
1046
|
+
azure("PacketCount", G.Traffic),
|
|
1047
|
+
azure("PacketDropCount", G.Errors),
|
|
1048
|
+
azure("TotalConnectionCount", G.Connections),
|
|
1049
|
+
],
|
|
495
1050
|
notExportedByDiagnosticSettings: [
|
|
496
1051
|
"ByteCount",
|
|
497
1052
|
"SNATConnectionCount",
|
|
498
1053
|
"DatapathAvailability",
|
|
1054
|
+
"PacketCount",
|
|
1055
|
+
"PacketDropCount",
|
|
1056
|
+
"TotalConnectionCount",
|
|
1057
|
+
],
|
|
1058
|
+
},
|
|
1059
|
+
{
|
|
1060
|
+
type: "Microsoft.Network/virtualNetworkGateways",
|
|
1061
|
+
metrics: [
|
|
1062
|
+
azure("AverageBandwidth", G.Network),
|
|
1063
|
+
azure("TunnelAverageBandwidth", G.Network),
|
|
1064
|
+
azure("TunnelIngressBytes", G.Network),
|
|
1065
|
+
azure("TunnelEgressBytes", G.Network),
|
|
1066
|
+
azure("TunnelIngressPacketDropCount", G.Errors),
|
|
1067
|
+
azure("TunnelEgressPacketDropCount", G.Errors),
|
|
1068
|
+
azure("BgpPeerStatus", G.Availability),
|
|
1069
|
+
azure("P2SConnectionCount", G.Connections),
|
|
1070
|
+
azure("P2SBandwidth", G.Network),
|
|
1071
|
+
],
|
|
1072
|
+
notExportedByDiagnosticSettings: ["BgpPeerStatus"],
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
type: "Microsoft.Network/expressRouteCircuits",
|
|
1076
|
+
metrics: [
|
|
1077
|
+
azure("BgpAvailability", G.Availability),
|
|
1078
|
+
azure("ArpAvailability", G.Availability),
|
|
1079
|
+
azure("BitsInPerSecond", G.Network),
|
|
1080
|
+
azure("BitsOutPerSecond", G.Network),
|
|
1081
|
+
azure("IngressBandwidthUtilization", G.Network),
|
|
1082
|
+
azure("EgressBandwidthUtilization", G.Network),
|
|
1083
|
+
],
|
|
1084
|
+
},
|
|
1085
|
+
{
|
|
1086
|
+
type: "Microsoft.Network/frontdoors",
|
|
1087
|
+
metrics: [
|
|
1088
|
+
azure("RequestCount", G.Traffic),
|
|
1089
|
+
azure("BackendHealthPercentage", G.Availability),
|
|
1090
|
+
azure("TotalLatency", G.Latency),
|
|
1091
|
+
azure("BackendRequestLatency", G.Latency),
|
|
1092
|
+
azure("BackendRequestCount", G.Traffic),
|
|
1093
|
+
azure("ResponseSize", G.Network),
|
|
1094
|
+
],
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
type: "Microsoft.Network/trafficmanagerprofiles",
|
|
1098
|
+
metrics: [
|
|
1099
|
+
azure("ProbeAgentCurrentEndpointStateByProfileResourceId", G.Availability),
|
|
1100
|
+
azure("QpsByEndpoint", G.Traffic),
|
|
1101
|
+
],
|
|
1102
|
+
},
|
|
1103
|
+
{
|
|
1104
|
+
type: "Microsoft.Network/dnszones",
|
|
1105
|
+
metrics: [
|
|
1106
|
+
azure("QueryVolume", G.Traffic),
|
|
1107
|
+
azure("RecordSetCapacityUtilization", G.Storage),
|
|
1108
|
+
],
|
|
1109
|
+
notExportedByDiagnosticSettings: [
|
|
1110
|
+
"QueryVolume",
|
|
1111
|
+
"RecordSetCapacityUtilization",
|
|
499
1112
|
],
|
|
500
1113
|
},
|
|
501
1114
|
{
|
|
502
1115
|
type: "Microsoft.Cdn/profiles",
|
|
503
|
-
metrics: [
|
|
1116
|
+
metrics: [
|
|
1117
|
+
azure("RequestCount", G.Traffic),
|
|
1118
|
+
azure("Percentage5XX", G.Errors),
|
|
1119
|
+
azure("TotalLatency", G.Latency),
|
|
1120
|
+
azure("Percentage4XX", G.Errors),
|
|
1121
|
+
azure("OriginLatency", G.Latency),
|
|
1122
|
+
azure("OriginHealthPercentage", G.Availability),
|
|
1123
|
+
azure("ByteHitRatio", G.Cache),
|
|
1124
|
+
azure("OriginRequestCount", G.Traffic),
|
|
1125
|
+
azure("ResponseSize", G.Network),
|
|
1126
|
+
],
|
|
504
1127
|
},
|
|
505
1128
|
{
|
|
506
1129
|
type: "Microsoft.ApiManagement/service",
|
|
507
|
-
metrics: [
|
|
1130
|
+
metrics: [
|
|
1131
|
+
azure("Requests", G.Traffic),
|
|
1132
|
+
azure("Duration", G.Latency),
|
|
1133
|
+
azure("Capacity", G.Compute),
|
|
1134
|
+
azure("BackendDuration", G.Latency),
|
|
1135
|
+
azure("CpuPercent_Gateway", G.Compute),
|
|
1136
|
+
azure("MemoryPercent_Gateway", G.Memory),
|
|
1137
|
+
],
|
|
508
1138
|
},
|
|
509
1139
|
{
|
|
510
1140
|
type: "Microsoft.CognitiveServices/accounts",
|
|
511
|
-
metrics: [
|
|
1141
|
+
metrics: [
|
|
1142
|
+
azure("TotalCalls", G.Traffic),
|
|
1143
|
+
azure("TotalErrors", G.Errors),
|
|
1144
|
+
azure("Latency", G.Latency),
|
|
1145
|
+
azure("SuccessfulCalls", G.Traffic),
|
|
1146
|
+
azure("ClientErrors", G.Errors),
|
|
1147
|
+
azure("ServerErrors", G.Errors),
|
|
1148
|
+
azure("BlockedCalls", G.Errors),
|
|
1149
|
+
azure("Ratelimit", G.Errors),
|
|
1150
|
+
azure("DataIn", G.Network),
|
|
1151
|
+
azure("DataOut", G.Network),
|
|
1152
|
+
azure("AzureOpenAIRequests", G.Traffic),
|
|
1153
|
+
azure("AzureOpenAIAvailabilityRate", G.Availability),
|
|
1154
|
+
azure("AzureOpenAITimeToResponse", G.Latency),
|
|
1155
|
+
azure("ProcessedPromptTokens", G.Traffic),
|
|
1156
|
+
azure("GeneratedTokens", G.Traffic),
|
|
1157
|
+
azure("TokenTransaction", G.Traffic),
|
|
1158
|
+
],
|
|
1159
|
+
notExportedByDiagnosticSettings: ["AzureOpenAIAvailabilityRate"],
|
|
512
1160
|
},
|
|
513
1161
|
{
|
|
514
1162
|
type: "Microsoft.ContainerRegistry/registries",
|
|
515
|
-
metrics: [
|
|
1163
|
+
metrics: [
|
|
1164
|
+
azure("TotalPullCount", G.Traffic),
|
|
1165
|
+
azure("TotalPushCount", G.Traffic),
|
|
1166
|
+
azure("StorageUsed", G.Storage),
|
|
1167
|
+
azure("SuccessfulPullCount", G.Traffic),
|
|
1168
|
+
azure("SuccessfulPushCount", G.Traffic),
|
|
1169
|
+
],
|
|
516
1170
|
},
|
|
517
1171
|
{
|
|
518
1172
|
type: "Microsoft.Logic/workflows",
|
|
519
|
-
metrics: [
|
|
1173
|
+
metrics: [
|
|
1174
|
+
azure("RunsStarted", G.Traffic),
|
|
1175
|
+
azure("RunsFailed", G.Errors),
|
|
1176
|
+
azure("RunLatency", G.Latency),
|
|
1177
|
+
azure("RunsSucceeded", G.Traffic),
|
|
1178
|
+
azure("RunFailurePercentage", G.Errors),
|
|
1179
|
+
azure("RunThrottledEvents", G.Errors),
|
|
1180
|
+
azure("ActionsFailed", G.Errors),
|
|
1181
|
+
azure("ActionThrottledEvents", G.Errors),
|
|
1182
|
+
azure("TriggersFailed", G.Errors),
|
|
1183
|
+
],
|
|
520
1184
|
},
|
|
521
1185
|
{
|
|
522
1186
|
type: "Microsoft.DataFactory/factories",
|
|
523
|
-
metrics: [
|
|
1187
|
+
metrics: [
|
|
1188
|
+
azure("PipelineSucceededRuns", G.Traffic),
|
|
1189
|
+
azure("PipelineFailedRuns", G.Errors),
|
|
1190
|
+
azure("PipelineCancelledRuns", G.Errors),
|
|
1191
|
+
azure("ActivitySucceededRuns", G.Traffic),
|
|
1192
|
+
azure("ActivityFailedRuns", G.Errors),
|
|
1193
|
+
azure("TriggerSucceededRuns", G.Traffic),
|
|
1194
|
+
azure("TriggerFailedRuns", G.Errors),
|
|
1195
|
+
azure("IntegrationRuntimeCpuPercentage", G.Compute),
|
|
1196
|
+
azure("IntegrationRuntimeQueueLength", G.Backlog),
|
|
1197
|
+
],
|
|
1198
|
+
},
|
|
1199
|
+
{
|
|
1200
|
+
type: "Microsoft.Synapse/workspaces",
|
|
1201
|
+
metrics: [
|
|
1202
|
+
azure("IntegrationPipelineRunsEnded", G.Traffic),
|
|
1203
|
+
azure("IntegrationActivityRunsEnded", G.Traffic),
|
|
1204
|
+
azure("BuiltinSqlPoolRequestsEnded", G.Traffic),
|
|
1205
|
+
azure("BuiltinSqlPoolDataProcessedBytes", G.Traffic),
|
|
1206
|
+
],
|
|
1207
|
+
notExportedByDiagnosticSettings: [
|
|
1208
|
+
"IntegrationPipelineRunsEnded",
|
|
1209
|
+
"IntegrationActivityRunsEnded",
|
|
1210
|
+
"BuiltinSqlPoolRequestsEnded",
|
|
1211
|
+
"BuiltinSqlPoolDataProcessedBytes",
|
|
1212
|
+
],
|
|
1213
|
+
},
|
|
1214
|
+
{
|
|
1215
|
+
type: "Microsoft.Kusto/clusters",
|
|
1216
|
+
metrics: [
|
|
1217
|
+
azure("KeepAlive", G.Availability),
|
|
1218
|
+
azure("CPU", G.Compute),
|
|
1219
|
+
azure("CacheUtilizationFactor", G.Cache),
|
|
1220
|
+
azure("IngestionUtilization", G.Compute),
|
|
1221
|
+
azure("IngestionLatencyInSeconds", G.Latency),
|
|
1222
|
+
azure("QueryDuration", G.Latency),
|
|
1223
|
+
azure("TotalNumberOfConcurrentQueries", G.Traffic),
|
|
1224
|
+
azure("TotalNumberOfThrottledQueries", G.Errors),
|
|
1225
|
+
azure("TotalNumberOfThrottledCommands", G.Errors),
|
|
1226
|
+
azure("InstanceCount", G.Compute),
|
|
1227
|
+
],
|
|
1228
|
+
},
|
|
1229
|
+
{
|
|
1230
|
+
type: "Microsoft.StreamAnalytics/streamingjobs",
|
|
1231
|
+
metrics: [
|
|
1232
|
+
azure("ResourceUtilization", G.Compute),
|
|
1233
|
+
azure("ProcessCPUUsagePercentage", G.Compute),
|
|
1234
|
+
azure("InputEvents", G.Traffic),
|
|
1235
|
+
azure("OutputEvents", G.Traffic),
|
|
1236
|
+
azure("Errors", G.Errors),
|
|
1237
|
+
azure("DeserializationError", G.Errors),
|
|
1238
|
+
azure("DroppedOrAdjustedEvents", G.Errors),
|
|
1239
|
+
azure("InputEventsSourcesBacklogged", G.Backlog),
|
|
1240
|
+
azure("OutputWatermarkDelaySeconds", G.Backlog),
|
|
1241
|
+
],
|
|
524
1242
|
},
|
|
525
1243
|
{
|
|
526
1244
|
type: "Microsoft.Search/searchServices",
|
|
527
|
-
metrics: [
|
|
1245
|
+
metrics: [
|
|
1246
|
+
azure("SearchLatency", G.Latency),
|
|
1247
|
+
azure("SearchQueriesPerSecond", G.Traffic),
|
|
1248
|
+
azure("ThrottledSearchQueriesPercentage", G.Errors),
|
|
1249
|
+
],
|
|
528
1250
|
},
|
|
529
1251
|
{
|
|
530
1252
|
type: "Microsoft.SignalRService/SignalR",
|
|
531
|
-
metrics: [
|
|
1253
|
+
metrics: [
|
|
1254
|
+
azure("ConnectionCount", G.Connections),
|
|
1255
|
+
azure("MessageCount", G.Traffic),
|
|
1256
|
+
azure("ConnectionQuotaUtilization", G.Connections),
|
|
1257
|
+
azure("SystemErrors", G.Errors),
|
|
1258
|
+
azure("UserErrors", G.Errors),
|
|
1259
|
+
azure("ServerLoad", G.Compute),
|
|
1260
|
+
azure("ServerConnectionLatency", G.Latency),
|
|
1261
|
+
azure("InboundTraffic", G.Network),
|
|
1262
|
+
azure("OutboundTraffic", G.Network),
|
|
1263
|
+
],
|
|
1264
|
+
notExportedByDiagnosticSettings: ["ServerLoad"],
|
|
1265
|
+
},
|
|
1266
|
+
{
|
|
1267
|
+
type: "Microsoft.Insights/components",
|
|
1268
|
+
metrics: [
|
|
1269
|
+
azure("requests/count", G.Traffic),
|
|
1270
|
+
azure("requests/failed", G.Errors),
|
|
1271
|
+
azure("requests/duration", G.Latency),
|
|
1272
|
+
azure("exceptions/count", G.Errors),
|
|
1273
|
+
azure("dependencies/failed", G.Errors),
|
|
1274
|
+
azure("dependencies/duration", G.Latency),
|
|
1275
|
+
azure("availabilityResults/availabilityPercentage", G.Availability),
|
|
1276
|
+
azure("pageViews/count", G.Traffic),
|
|
1277
|
+
],
|
|
1278
|
+
notExportedByDiagnosticSettings: [
|
|
1279
|
+
"requests/count",
|
|
1280
|
+
"requests/failed",
|
|
1281
|
+
"dependencies/failed",
|
|
1282
|
+
],
|
|
1283
|
+
},
|
|
1284
|
+
{
|
|
1285
|
+
type: "Microsoft.Devices/IotHubs",
|
|
1286
|
+
metrics: [
|
|
1287
|
+
azure("connectedDeviceCount", G.Connections),
|
|
1288
|
+
azure("totalDeviceCount", G.Connections),
|
|
1289
|
+
azure("d2c.telemetry.ingress.success", G.Traffic),
|
|
1290
|
+
azure("d2c.telemetry.ingress.allProtocol", G.Traffic),
|
|
1291
|
+
azure("d2c.telemetry.ingress.sendThrottle", G.Errors),
|
|
1292
|
+
azure("throttledRequests", G.Errors),
|
|
1293
|
+
azure("d2c.telemetry.egress.dropped", G.Errors),
|
|
1294
|
+
azure("dailyMessageQuotaUsed", G.Compute),
|
|
1295
|
+
azure("d2c.endpoints.latency.builtIn.events", G.Latency),
|
|
1296
|
+
azure("c2d.methods.failure", G.Errors),
|
|
1297
|
+
azure("jobs.failed", G.Errors),
|
|
1298
|
+
],
|
|
1299
|
+
notExportedByDiagnosticSettings: [
|
|
1300
|
+
"connectedDeviceCount",
|
|
1301
|
+
"totalDeviceCount",
|
|
1302
|
+
],
|
|
532
1303
|
},
|
|
533
1304
|
];
|
|
534
1305
|
const AZURE_KEY_METRICS_BY_TYPE = new Map(exports.AZURE_KEY_METRICS.map((entry) => {
|
|
@@ -537,6 +1308,13 @@ const AZURE_KEY_METRICS_BY_TYPE = new Map(exports.AZURE_KEY_METRICS.map((entry)
|
|
|
537
1308
|
function getAzureKeyMetrics(type) {
|
|
538
1309
|
return AZURE_KEY_METRICS_BY_TYPE.get(type.trim().toLowerCase());
|
|
539
1310
|
}
|
|
1311
|
+
// The Azure Monitor names of a type's key metrics, in order.
|
|
1312
|
+
function getAzureKeyMetricNames(type) {
|
|
1313
|
+
var _a;
|
|
1314
|
+
return (((_a = getAzureKeyMetrics(type || "")) === null || _a === void 0 ? void 0 : _a.metrics) || []).map((metric) => {
|
|
1315
|
+
return metric.name;
|
|
1316
|
+
});
|
|
1317
|
+
}
|
|
540
1318
|
/*
|
|
541
1319
|
* The stored name of an Azure Monitor metric, as the azure_monitor
|
|
542
1320
|
* receiver writes it: "azure_" + the name with spaces as underscores + "_"
|
|
@@ -566,10 +1344,10 @@ const AZURE_KEY_METRICS_BY_STORED_NAME = new Map(exports.AZURE_KEY_METRICS.map((
|
|
|
566
1344
|
const byStoredName = new Map();
|
|
567
1345
|
for (const metric of entry.metrics) {
|
|
568
1346
|
for (const aggregation of AZURE_STORED_AGGREGATIONS) {
|
|
569
|
-
const stored = getAzureStoredMetricName(metric, aggregation);
|
|
1347
|
+
const stored = getAzureStoredMetricName(metric.name, aggregation);
|
|
570
1348
|
// The type's first metric stored under a name keeps it.
|
|
571
1349
|
if (!byStoredName.has(stored)) {
|
|
572
|
-
byStoredName.set(stored, metric);
|
|
1350
|
+
byStoredName.set(stored, metric.name);
|
|
573
1351
|
}
|
|
574
1352
|
}
|
|
575
1353
|
}
|
|
@@ -611,7 +1389,7 @@ function isAzureKeyMetricExportedByDiagnosticSettings(type, metricName) {
|
|
|
611
1389
|
});
|
|
612
1390
|
};
|
|
613
1391
|
return (Boolean(keyMetrics && name) &&
|
|
614
|
-
isNamed(
|
|
1392
|
+
isNamed(getAzureKeyMetricNames(type || "")) &&
|
|
615
1393
|
!isNamed(keyMetrics.notExportedByDiagnosticSettings));
|
|
616
1394
|
}
|
|
617
1395
|
/*
|
|
@@ -647,109 +1425,226 @@ function isAzureStreamedKeyMetricStoredName(type, storedMetricName) {
|
|
|
647
1425
|
return metric !== null && isAzureStreamedKeyMetric(type, metric);
|
|
648
1426
|
}
|
|
649
1427
|
exports.GCP_ALIGNMENT_PERIOD_SECONDS = 60;
|
|
650
|
-
function gcp(metricType, aligner, unit) {
|
|
651
|
-
return { metricType, aligner, unit };
|
|
1428
|
+
function gcp(metricType, aligner, unit, group) {
|
|
1429
|
+
return { metricType, aligner, unit, group };
|
|
652
1430
|
}
|
|
653
1431
|
exports.GCP_KEY_METRICS = [
|
|
654
1432
|
{
|
|
655
1433
|
resourceType: "gce_instance",
|
|
656
1434
|
metrics: [
|
|
657
|
-
gcp("compute.googleapis.com/instance/cpu/utilization", "ALIGN_MEAN", "1"),
|
|
658
|
-
gcp("compute.googleapis.com/instance/network/received_bytes_count", "ALIGN_RATE", "By/s"),
|
|
659
|
-
gcp("compute.googleapis.com/instance/network/sent_bytes_count", "ALIGN_RATE", "By/s"),
|
|
1435
|
+
gcp("compute.googleapis.com/instance/cpu/utilization", "ALIGN_MEAN", "1", G.Compute),
|
|
1436
|
+
gcp("compute.googleapis.com/instance/network/received_bytes_count", "ALIGN_RATE", "By/s", G.Network),
|
|
1437
|
+
gcp("compute.googleapis.com/instance/network/sent_bytes_count", "ALIGN_RATE", "By/s", G.Network),
|
|
1438
|
+
// Only an E2 instance reports it.
|
|
1439
|
+
gcp("compute.googleapis.com/instance/memory/balloon/ram_used", "ALIGN_MEAN", "By", G.Memory),
|
|
1440
|
+
gcp("compute.googleapis.com/instance/disk/read_bytes_count", "ALIGN_RATE", "By/s", G.Storage),
|
|
1441
|
+
gcp("compute.googleapis.com/instance/disk/write_bytes_count", "ALIGN_RATE", "By/s", G.Storage),
|
|
1442
|
+
gcp("compute.googleapis.com/instance/disk/read_ops_count", "ALIGN_RATE", "1/s", G.Storage),
|
|
1443
|
+
gcp("compute.googleapis.com/instance/disk/write_ops_count", "ALIGN_RATE", "1/s", G.Storage),
|
|
1444
|
+
gcp("compute.googleapis.com/firewall/dropped_packets_count", "ALIGN_RATE", "1/s", G.Network),
|
|
660
1445
|
],
|
|
661
1446
|
},
|
|
662
1447
|
{
|
|
663
1448
|
resourceType: "cloudsql_database",
|
|
664
1449
|
metrics: [
|
|
665
|
-
gcp("cloudsql.googleapis.com/database/cpu/utilization", "ALIGN_MEAN", "1"),
|
|
666
|
-
gcp("cloudsql.googleapis.com/database/memory/utilization", "ALIGN_MEAN", "1"),
|
|
667
|
-
gcp("cloudsql.googleapis.com/database/disk/utilization", "ALIGN_MEAN", "1"),
|
|
668
|
-
gcp("cloudsql.googleapis.com/database/network/connections", "ALIGN_MEAN", "1"),
|
|
1450
|
+
gcp("cloudsql.googleapis.com/database/cpu/utilization", "ALIGN_MEAN", "1", G.Compute),
|
|
1451
|
+
gcp("cloudsql.googleapis.com/database/memory/utilization", "ALIGN_MEAN", "1", G.Memory),
|
|
1452
|
+
gcp("cloudsql.googleapis.com/database/disk/utilization", "ALIGN_MEAN", "1", G.Storage),
|
|
1453
|
+
gcp("cloudsql.googleapis.com/database/network/connections", "ALIGN_MEAN", "1", G.Connections),
|
|
1454
|
+
gcp("cloudsql.googleapis.com/database/up", "ALIGN_MEAN", "1", G.Availability),
|
|
1455
|
+
gcp("cloudsql.googleapis.com/database/disk/bytes_used", "ALIGN_MEAN", "By", G.Storage),
|
|
1456
|
+
gcp("cloudsql.googleapis.com/database/disk/read_ops_count", "ALIGN_RATE", "1/s", G.Storage),
|
|
1457
|
+
gcp("cloudsql.googleapis.com/database/disk/write_ops_count", "ALIGN_RATE", "1/s", G.Storage),
|
|
1458
|
+
gcp("cloudsql.googleapis.com/database/network/received_bytes_count", "ALIGN_RATE", "By/s", G.Network),
|
|
1459
|
+
gcp("cloudsql.googleapis.com/database/network/sent_bytes_count", "ALIGN_RATE", "By/s", G.Network),
|
|
1460
|
+
// Only a replica reports it.
|
|
1461
|
+
gcp("cloudsql.googleapis.com/database/replication/replica_lag", "ALIGN_MAX", "s", G.Replication),
|
|
669
1462
|
],
|
|
670
1463
|
},
|
|
671
1464
|
{
|
|
672
1465
|
resourceType: "gcs_bucket",
|
|
673
1466
|
metrics: [
|
|
674
|
-
gcp("storage.googleapis.com/api/request_count", "ALIGN_RATE", "1/s"),
|
|
675
|
-
gcp("storage.googleapis.com/storage/total_bytes", "ALIGN_MEAN", "By"),
|
|
1467
|
+
gcp("storage.googleapis.com/api/request_count", "ALIGN_RATE", "1/s", G.Traffic),
|
|
1468
|
+
gcp("storage.googleapis.com/storage/total_bytes", "ALIGN_MEAN", "By", G.Storage),
|
|
1469
|
+
gcp("storage.googleapis.com/storage/object_count", "ALIGN_MEAN", "1", G.Storage),
|
|
676
1470
|
],
|
|
677
1471
|
},
|
|
678
1472
|
{
|
|
679
1473
|
resourceType: "https_lb_rule",
|
|
680
1474
|
metrics: [
|
|
681
|
-
gcp("loadbalancing.googleapis.com/https/request_count", "ALIGN_RATE", "1/s"),
|
|
682
|
-
gcp("loadbalancing.googleapis.com/https/total_latencies", "ALIGN_PERCENTILE_95", "ms"),
|
|
1475
|
+
gcp("loadbalancing.googleapis.com/https/request_count", "ALIGN_RATE", "1/s", G.Traffic),
|
|
1476
|
+
gcp("loadbalancing.googleapis.com/https/total_latencies", "ALIGN_PERCENTILE_95", "ms", G.Latency),
|
|
1477
|
+
gcp("loadbalancing.googleapis.com/https/backend_latencies", "ALIGN_PERCENTILE_95", "ms", G.Latency),
|
|
683
1478
|
],
|
|
684
1479
|
},
|
|
685
1480
|
{
|
|
686
1481
|
resourceType: "internal_http_lb_rule",
|
|
687
1482
|
metrics: [
|
|
688
|
-
gcp("loadbalancing.googleapis.com/https/internal/request_count", "ALIGN_RATE", "1/s"),
|
|
1483
|
+
gcp("loadbalancing.googleapis.com/https/internal/request_count", "ALIGN_RATE", "1/s", G.Traffic),
|
|
1484
|
+
gcp("loadbalancing.googleapis.com/https/internal/total_latencies", "ALIGN_PERCENTILE_95", "ms", G.Latency),
|
|
1485
|
+
gcp("loadbalancing.googleapis.com/https/internal/backend_latencies", "ALIGN_PERCENTILE_95", "ms", G.Latency),
|
|
689
1486
|
],
|
|
690
1487
|
},
|
|
691
1488
|
{
|
|
692
1489
|
resourceType: "cloud_run_revision",
|
|
693
1490
|
metrics: [
|
|
694
|
-
gcp("run.googleapis.com/request_count", "ALIGN_RATE", "1/s"),
|
|
695
|
-
gcp("run.googleapis.com/request_latencies", "ALIGN_PERCENTILE_95", "ms"),
|
|
696
|
-
gcp("run.googleapis.com/container/instance_count", "ALIGN_MAX", "1"),
|
|
1491
|
+
gcp("run.googleapis.com/request_count", "ALIGN_RATE", "1/s", G.Traffic),
|
|
1492
|
+
gcp("run.googleapis.com/request_latencies", "ALIGN_PERCENTILE_95", "ms", G.Latency),
|
|
1493
|
+
gcp("run.googleapis.com/container/instance_count", "ALIGN_MAX", "1", G.Compute),
|
|
1494
|
+
gcp("run.googleapis.com/container/cpu/utilizations", "ALIGN_PERCENTILE_95", "1", G.Compute),
|
|
1495
|
+
gcp("run.googleapis.com/container/memory/utilizations", "ALIGN_PERCENTILE_95", "1", G.Memory),
|
|
1496
|
+
gcp("run.googleapis.com/container/max_request_concurrencies", "ALIGN_PERCENTILE_95", "1", G.Traffic),
|
|
1497
|
+
gcp("run.googleapis.com/container/billable_instance_time", "ALIGN_RATE", "s/s", G.Compute),
|
|
1498
|
+
],
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
resourceType: "cloud_run_job",
|
|
1502
|
+
metrics: [
|
|
1503
|
+
gcp("run.googleapis.com/job/completed_execution_count", "ALIGN_RATE", "1/s", G.Traffic),
|
|
1504
|
+
gcp("run.googleapis.com/job/running_executions", "ALIGN_MAX", "1", G.Traffic),
|
|
1505
|
+
gcp("run.googleapis.com/container/cpu/utilizations", "ALIGN_PERCENTILE_95", "1", G.Compute),
|
|
1506
|
+
gcp("run.googleapis.com/container/memory/utilizations", "ALIGN_PERCENTILE_95", "1", G.Memory),
|
|
697
1507
|
],
|
|
698
1508
|
},
|
|
699
1509
|
{
|
|
700
1510
|
resourceType: "cloud_function",
|
|
701
1511
|
metrics: [
|
|
702
|
-
gcp("cloudfunctions.googleapis.com/function/execution_count", "ALIGN_RATE", "1/s"),
|
|
703
|
-
gcp("cloudfunctions.googleapis.com/function/execution_times", "ALIGN_PERCENTILE_95", "ns"),
|
|
1512
|
+
gcp("cloudfunctions.googleapis.com/function/execution_count", "ALIGN_RATE", "1/s", G.Traffic),
|
|
1513
|
+
gcp("cloudfunctions.googleapis.com/function/execution_times", "ALIGN_PERCENTILE_95", "ns", G.Latency),
|
|
1514
|
+
gcp("cloudfunctions.googleapis.com/function/user_memory_bytes", "ALIGN_PERCENTILE_95", "By", G.Memory),
|
|
1515
|
+
gcp("cloudfunctions.googleapis.com/function/active_instances", "ALIGN_MAX", "1", G.Compute),
|
|
704
1516
|
],
|
|
705
1517
|
},
|
|
706
1518
|
{
|
|
707
1519
|
resourceType: "pubsub_subscription",
|
|
708
1520
|
metrics: [
|
|
709
|
-
gcp("pubsub.googleapis.com/subscription/num_undelivered_messages", "ALIGN_MAX", "1"),
|
|
710
|
-
gcp("pubsub.googleapis.com/subscription/oldest_unacked_message_age", "ALIGN_MAX", "s"),
|
|
1521
|
+
gcp("pubsub.googleapis.com/subscription/num_undelivered_messages", "ALIGN_MAX", "1", G.Backlog),
|
|
1522
|
+
gcp("pubsub.googleapis.com/subscription/oldest_unacked_message_age", "ALIGN_MAX", "s", G.Backlog),
|
|
1523
|
+
gcp("pubsub.googleapis.com/subscription/sent_message_count", "ALIGN_RATE", "1/s", G.Traffic),
|
|
1524
|
+
gcp("pubsub.googleapis.com/subscription/ack_message_count", "ALIGN_RATE", "1/s", G.Traffic),
|
|
1525
|
+
gcp("pubsub.googleapis.com/subscription/expired_ack_deadlines_count", "ALIGN_RATE", "1/s", G.Errors),
|
|
1526
|
+
gcp("pubsub.googleapis.com/subscription/dead_letter_message_count", "ALIGN_RATE", "1/s", G.Errors),
|
|
711
1527
|
],
|
|
712
1528
|
},
|
|
713
1529
|
{
|
|
714
1530
|
resourceType: "pubsub_topic",
|
|
715
1531
|
metrics: [
|
|
716
|
-
|
|
1532
|
+
/*
|
|
1533
|
+
* Deprecated by Google for a count of topic/message_sizes, which a
|
|
1534
|
+
* read cannot take yet (it reads a distribution as one percentile):
|
|
1535
|
+
* kept while the topic's headline reads it (CloudResourceHealth).
|
|
1536
|
+
*/
|
|
1537
|
+
gcp("pubsub.googleapis.com/topic/send_message_operation_count", "ALIGN_RATE", "1/s", G.Traffic),
|
|
1538
|
+
gcp("pubsub.googleapis.com/topic/send_request_count", "ALIGN_RATE", "1/s", G.Traffic),
|
|
1539
|
+
gcp("pubsub.googleapis.com/topic/message_sizes", "ALIGN_PERCENTILE_95", "By", G.Traffic),
|
|
717
1540
|
],
|
|
718
1541
|
},
|
|
719
1542
|
{
|
|
720
1543
|
resourceType: "redis_instance",
|
|
721
1544
|
metrics: [
|
|
722
|
-
gcp("redis.googleapis.com/stats/memory/usage_ratio", "ALIGN_MEAN", "1"),
|
|
723
|
-
gcp("redis.googleapis.com/clients/connected", "ALIGN_MEAN", "1"),
|
|
1545
|
+
gcp("redis.googleapis.com/stats/memory/usage_ratio", "ALIGN_MEAN", "1", G.Memory),
|
|
1546
|
+
gcp("redis.googleapis.com/clients/connected", "ALIGN_MEAN", "1", G.Connections),
|
|
1547
|
+
gcp("redis.googleapis.com/stats/memory/system_memory_usage_ratio", "ALIGN_MEAN", "1", G.Memory),
|
|
1548
|
+
gcp("redis.googleapis.com/stats/cache_hit_ratio", "ALIGN_MEAN", "1", G.Cache),
|
|
1549
|
+
gcp("redis.googleapis.com/stats/evicted_keys", "ALIGN_RATE", "1/s", G.Cache),
|
|
1550
|
+
gcp("redis.googleapis.com/keyspace/keys", "ALIGN_MEAN", "1", G.Cache),
|
|
1551
|
+
gcp("redis.googleapis.com/stats/cpu_utilization", "ALIGN_RATE", "s{CPU}/s", G.Compute),
|
|
1552
|
+
gcp("redis.googleapis.com/stats/reject_connections_count", "ALIGN_RATE", "1/s", G.Errors),
|
|
1553
|
+
gcp("redis.googleapis.com/stats/network_traffic", "ALIGN_RATE", "By/s", G.Network),
|
|
1554
|
+
gcp("redis.googleapis.com/replication/master/slaves/lag", "ALIGN_MAX", "s", G.Replication),
|
|
724
1555
|
],
|
|
725
1556
|
},
|
|
726
1557
|
{
|
|
727
1558
|
resourceType: "spanner_instance",
|
|
728
1559
|
metrics: [
|
|
729
|
-
gcp("spanner.googleapis.com/instance/cpu/utilization", "ALIGN_MEAN", "1"),
|
|
1560
|
+
gcp("spanner.googleapis.com/instance/cpu/utilization", "ALIGN_MEAN", "1", G.Compute),
|
|
1561
|
+
gcp("spanner.googleapis.com/instance/cpu/smoothed_utilization", "ALIGN_MEAN", "1", G.Compute),
|
|
1562
|
+
gcp("spanner.googleapis.com/instance/storage/utilization", "ALIGN_MEAN", "1", G.Storage),
|
|
1563
|
+
gcp("spanner.googleapis.com/instance/storage/used_bytes", "ALIGN_MEAN", "By", G.Storage),
|
|
1564
|
+
gcp("spanner.googleapis.com/api/request_count", "ALIGN_MEAN", "1/s", G.Traffic),
|
|
1565
|
+
gcp("spanner.googleapis.com/api/request_latencies", "ALIGN_PERCENTILE_95", "s", G.Latency),
|
|
730
1566
|
],
|
|
731
1567
|
},
|
|
732
1568
|
{
|
|
733
1569
|
resourceType: "cloud_tasks_queue",
|
|
734
|
-
metrics: [
|
|
1570
|
+
metrics: [
|
|
1571
|
+
gcp("cloudtasks.googleapis.com/queue/depth", "ALIGN_MAX", "1", G.Backlog),
|
|
1572
|
+
gcp("cloudtasks.googleapis.com/queue/task_attempt_count", "ALIGN_RATE", "1/s", G.Traffic),
|
|
1573
|
+
gcp("cloudtasks.googleapis.com/queue/task_attempt_delays", "ALIGN_PERCENTILE_95", "ms", G.Latency),
|
|
1574
|
+
],
|
|
735
1575
|
},
|
|
736
1576
|
{
|
|
737
1577
|
resourceType: "gae_app",
|
|
738
1578
|
metrics: [
|
|
739
|
-
gcp("appengine.googleapis.com/http/server/response_count", "ALIGN_RATE", "1/s"),
|
|
1579
|
+
gcp("appengine.googleapis.com/http/server/response_count", "ALIGN_RATE", "1/s", G.Traffic),
|
|
1580
|
+
gcp("appengine.googleapis.com/http/server/response_latencies", "ALIGN_PERCENTILE_95", "ms", G.Latency),
|
|
1581
|
+
gcp("appengine.googleapis.com/system/instance_count", "ALIGN_MAX", "1", G.Compute),
|
|
1582
|
+
],
|
|
1583
|
+
},
|
|
1584
|
+
{
|
|
1585
|
+
resourceType: "nat_gateway",
|
|
1586
|
+
metrics: [
|
|
1587
|
+
gcp("router.googleapis.com/nat/sent_bytes_count", "ALIGN_RATE", "By/s", G.Network),
|
|
1588
|
+
gcp("router.googleapis.com/nat/received_bytes_count", "ALIGN_RATE", "By/s", G.Network),
|
|
1589
|
+
gcp("router.googleapis.com/nat/open_connections", "ALIGN_MAX", "{connection}", G.Connections),
|
|
1590
|
+
gcp("router.googleapis.com/nat/new_connections_count", "ALIGN_RATE", "{connection}/s", G.Connections),
|
|
1591
|
+
gcp("router.googleapis.com/nat/port_usage", "ALIGN_MAX", "{port}", G.Connections),
|
|
1592
|
+
gcp("router.googleapis.com/nat/dropped_sent_packets_count", "ALIGN_RATE", "{packet}/s", G.Errors),
|
|
1593
|
+
],
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1596
|
+
resourceType: "vpn_gateway",
|
|
1597
|
+
metrics: [
|
|
1598
|
+
gcp("vpn.googleapis.com/tunnel_established", "ALIGN_MEAN", "1", G.Availability),
|
|
1599
|
+
gcp("vpn.googleapis.com/network/sent_bytes_count", "ALIGN_RATE", "By/s", G.Network),
|
|
1600
|
+
gcp("vpn.googleapis.com/network/received_bytes_count", "ALIGN_RATE", "By/s", G.Network),
|
|
1601
|
+
gcp("vpn.googleapis.com/network/dropped_sent_packets_count", "ALIGN_RATE", "1/s", G.Errors),
|
|
1602
|
+
gcp("vpn.googleapis.com/network/dropped_received_packets_count", "ALIGN_RATE", "1/s", G.Errors),
|
|
1603
|
+
gcp("vpn.googleapis.com/gateway/connections", "ALIGN_MAX", "1", G.Connections),
|
|
1604
|
+
],
|
|
1605
|
+
},
|
|
1606
|
+
{
|
|
1607
|
+
resourceType: "filestore_instance",
|
|
1608
|
+
metrics: [
|
|
1609
|
+
gcp("file.googleapis.com/nfs/server/used_bytes_percent", "ALIGN_MEAN", "%", G.Storage),
|
|
1610
|
+
gcp("file.googleapis.com/nfs/server/used_bytes", "ALIGN_MEAN", "By", G.Storage),
|
|
1611
|
+
gcp("file.googleapis.com/nfs/server/read_ops_count", "ALIGN_RATE", "{operation}/s", G.Storage),
|
|
1612
|
+
gcp("file.googleapis.com/nfs/server/write_ops_count", "ALIGN_RATE", "{operation}/s", G.Storage),
|
|
1613
|
+
gcp("file.googleapis.com/nfs/server/read_bytes_count", "ALIGN_RATE", "By/s", G.Storage),
|
|
1614
|
+
gcp("file.googleapis.com/nfs/server/write_bytes_count", "ALIGN_RATE", "By/s", G.Storage),
|
|
1615
|
+
gcp("file.googleapis.com/nfs/server/average_read_latency", "ALIGN_MEAN", "ms", G.Latency),
|
|
1616
|
+
gcp("file.googleapis.com/nfs/server/average_write_latency", "ALIGN_MEAN", "ms", G.Latency),
|
|
740
1617
|
],
|
|
741
1618
|
},
|
|
742
1619
|
];
|
|
743
|
-
|
|
1620
|
+
/*
|
|
1621
|
+
* Every metric type read, once, with the first resource type it is listed
|
|
1622
|
+
* under: a type two resource types report is one call.
|
|
1623
|
+
*/
|
|
744
1624
|
function getGcpKeyMetricTypes() {
|
|
745
1625
|
const metrics = [];
|
|
1626
|
+
const seen = new Set();
|
|
746
1627
|
for (const entry of exports.GCP_KEY_METRICS) {
|
|
747
1628
|
for (const metric of entry.metrics) {
|
|
1629
|
+
if (seen.has(metric.metricType)) {
|
|
1630
|
+
continue;
|
|
1631
|
+
}
|
|
1632
|
+
seen.add(metric.metricType);
|
|
748
1633
|
metrics.push({ ...metric, resourceType: entry.resourceType });
|
|
749
1634
|
}
|
|
750
1635
|
}
|
|
751
1636
|
return metrics;
|
|
752
1637
|
}
|
|
1638
|
+
// The resource types a metric type is listed under, in the catalog's order.
|
|
1639
|
+
function getGcpResourceTypesOfMetric(metricType) {
|
|
1640
|
+
return exports.GCP_KEY_METRICS.filter((entry) => {
|
|
1641
|
+
return entry.metrics.some((metric) => {
|
|
1642
|
+
return metric.metricType === metricType;
|
|
1643
|
+
});
|
|
1644
|
+
}).map((entry) => {
|
|
1645
|
+
return entry.resourceType;
|
|
1646
|
+
});
|
|
1647
|
+
}
|
|
753
1648
|
// The CloudWatch namespace an AWS resource type is read from.
|
|
754
1649
|
function getAwsNamespaceOfType(type) {
|
|
755
1650
|
var _a;
|
|
@@ -776,3 +1671,111 @@ function getKeyMetricCount(provider, typeOrNamespace) {
|
|
|
776
1671
|
return entry.resourceType === typeOrNamespace;
|
|
777
1672
|
})) === null || _c === void 0 ? void 0 : _c.metrics.length) || 0);
|
|
778
1673
|
}
|
|
1674
|
+
/*
|
|
1675
|
+
* The CloudWatch namespace and metric of a stored CloudWatch name
|
|
1676
|
+
* ("amazonaws.com/AWS/EC2/CPUUtilization" -> AWS/EC2, CPUUtilization),
|
|
1677
|
+
* whatever its case; null for any other name. The namespace is the name's
|
|
1678
|
+
* part between the prefix and its last slash: a metric's own name holds
|
|
1679
|
+
* none ("GetRecords.IteratorAgeMilliseconds").
|
|
1680
|
+
*/
|
|
1681
|
+
function parseAwsStoredMetricName(storedMetricName) {
|
|
1682
|
+
const name = (storedMetricName || "").trim();
|
|
1683
|
+
const prefix = "amazonaws.com/";
|
|
1684
|
+
if (!name.toLowerCase().startsWith(prefix)) {
|
|
1685
|
+
return null;
|
|
1686
|
+
}
|
|
1687
|
+
const rest = name.slice(prefix.length);
|
|
1688
|
+
const slash = rest.lastIndexOf("/");
|
|
1689
|
+
if (slash <= 0 || slash === rest.length - 1) {
|
|
1690
|
+
return null;
|
|
1691
|
+
}
|
|
1692
|
+
return { namespace: rest.slice(0, slash), metricName: rest.slice(slash + 1) };
|
|
1693
|
+
}
|
|
1694
|
+
function findAwsKeyMetric(storedMetricName) {
|
|
1695
|
+
const parsed = parseAwsStoredMetricName(storedMetricName);
|
|
1696
|
+
const entry = parsed
|
|
1697
|
+
? getAwsKeyMetrics(parsed.namespace)
|
|
1698
|
+
: undefined;
|
|
1699
|
+
if (!parsed || !entry) {
|
|
1700
|
+
return null;
|
|
1701
|
+
}
|
|
1702
|
+
const wanted = parsed.metricName.toLowerCase();
|
|
1703
|
+
const rank = entry.metrics.findIndex((metric) => {
|
|
1704
|
+
return metric.metricName.toLowerCase() === wanted;
|
|
1705
|
+
});
|
|
1706
|
+
if (rank < 0) {
|
|
1707
|
+
return null;
|
|
1708
|
+
}
|
|
1709
|
+
const metric = entry.metrics[rank];
|
|
1710
|
+
return { name: metric.metricName, group: metric.group, rank };
|
|
1711
|
+
}
|
|
1712
|
+
function findAzureKeyMetric(type, storedMetricName) {
|
|
1713
|
+
var _a;
|
|
1714
|
+
const name = getAzureKeyMetricOfStoredName(type, storedMetricName);
|
|
1715
|
+
const metrics = ((_a = getAzureKeyMetrics(type || "")) === null || _a === void 0 ? void 0 : _a.metrics) || [];
|
|
1716
|
+
const rank = name
|
|
1717
|
+
? metrics.findIndex((metric) => {
|
|
1718
|
+
return metric.name === name;
|
|
1719
|
+
})
|
|
1720
|
+
: -1;
|
|
1721
|
+
if (rank < 0) {
|
|
1722
|
+
return null;
|
|
1723
|
+
}
|
|
1724
|
+
return { name: metrics[rank].name, group: metrics[rank].group, rank };
|
|
1725
|
+
}
|
|
1726
|
+
function findGcpKeyMetric(type, storedMetricName) {
|
|
1727
|
+
const wanted = (storedMetricName || "").trim().toLowerCase();
|
|
1728
|
+
const resourceType = (type || "").trim().toLowerCase();
|
|
1729
|
+
let found = null;
|
|
1730
|
+
for (const entry of exports.GCP_KEY_METRICS) {
|
|
1731
|
+
const rank = entry.metrics.findIndex((metric) => {
|
|
1732
|
+
return metric.metricType.toLowerCase() === wanted;
|
|
1733
|
+
});
|
|
1734
|
+
if (rank < 0) {
|
|
1735
|
+
continue;
|
|
1736
|
+
}
|
|
1737
|
+
const reference = {
|
|
1738
|
+
name: entry.metrics[rank].metricType,
|
|
1739
|
+
group: entry.metrics[rank].group,
|
|
1740
|
+
rank,
|
|
1741
|
+
};
|
|
1742
|
+
// The resource's own type's place for it, else the first type's.
|
|
1743
|
+
if (entry.resourceType.toLowerCase() === resourceType) {
|
|
1744
|
+
return reference;
|
|
1745
|
+
}
|
|
1746
|
+
found = found || reference;
|
|
1747
|
+
}
|
|
1748
|
+
return found;
|
|
1749
|
+
}
|
|
1750
|
+
/*
|
|
1751
|
+
* The key metric a stored metric name is, for a resource of this provider
|
|
1752
|
+
* and type - null for a metric no connection reads as a key metric (one a
|
|
1753
|
+
* collector or an app sends), and for a provider OneUptime has no key
|
|
1754
|
+
* metrics of. Names are matched without regard to case, as ingest lowers
|
|
1755
|
+
* them.
|
|
1756
|
+
*/
|
|
1757
|
+
function getCloudKeyMetricOfStoredName(data) {
|
|
1758
|
+
const metricName = (data.metricName || "").trim();
|
|
1759
|
+
if (!metricName) {
|
|
1760
|
+
return null;
|
|
1761
|
+
}
|
|
1762
|
+
switch ((data.provider || "").trim().toLowerCase()) {
|
|
1763
|
+
case CloudPlatform_1.CloudProvider.AWS:
|
|
1764
|
+
return findAwsKeyMetric(metricName);
|
|
1765
|
+
case CloudPlatform_1.CloudProvider.Azure:
|
|
1766
|
+
return findAzureKeyMetric(data.type || "", metricName);
|
|
1767
|
+
case CloudPlatform_1.CloudProvider.GCP:
|
|
1768
|
+
return findGcpKeyMetric(data.type || "", metricName);
|
|
1769
|
+
default:
|
|
1770
|
+
return null;
|
|
1771
|
+
}
|
|
1772
|
+
}
|
|
1773
|
+
/*
|
|
1774
|
+
* The order two key metrics of one resource are listed in: by their
|
|
1775
|
+
* groups' order, then by their place in their type. Negative when `a`
|
|
1776
|
+
* comes first.
|
|
1777
|
+
*/
|
|
1778
|
+
function compareCloudKeyMetrics(a, b) {
|
|
1779
|
+
const byGroup = (0, CloudKeyMetricGroup_1.getCloudKeyMetricGroupOrder)(a.group) - (0, CloudKeyMetricGroup_1.getCloudKeyMetricGroupOrder)(b.group);
|
|
1780
|
+
return byGroup !== 0 ? byGroup : a.rank - b.rank;
|
|
1781
|
+
}
|