@oneuptime/common 14.0.104 → 14.0.106
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Models/AnalyticsModels/CloudCost.d.mts +2 -0
- package/Models/AnalyticsModels/CloudCost.d.ts +2 -0
- package/Models/AnalyticsModels/CloudCost.js +27 -0
- package/Models/AnalyticsModels/Index.js +8 -0
- package/Models/AnalyticsModels/RumProductAnalyticsSession.d.mts +14 -0
- package/Models/AnalyticsModels/RumProductAnalyticsSession.d.ts +14 -0
- package/Models/AnalyticsModels/RumProductAnalyticsSession.js +410 -0
- package/Models/AnalyticsModels/RumProductAnalyticsSession.mjs +11 -0
- package/Models/AnalyticsModels/RumProductAnalyticsUser.d.mts +4 -0
- package/Models/AnalyticsModels/RumProductAnalyticsUser.d.ts +4 -0
- package/Models/AnalyticsModels/RumProductAnalyticsUser.js +210 -0
- package/Models/AnalyticsModels/RumProductAnalyticsUser.mjs +2 -0
- package/Models/AnalyticsModels/RumSession.js +66 -12
- package/Models/AnalyticsModels/RumSessionChunk.js +30 -2
- package/Models/DatabaseModels/AIAgentTaskPullRequest.js +24 -9
- package/Models/DatabaseModels/AIRun.d.mts +4 -0
- package/Models/DatabaseModels/AIRun.d.ts +4 -0
- package/Models/DatabaseModels/AIRun.js +107 -0
- package/Models/DatabaseModels/Alert.d.mts +2 -0
- package/Models/DatabaseModels/Alert.d.ts +2 -0
- package/Models/DatabaseModels/Alert.js +70 -0
- package/Models/DatabaseModels/AlertEpisodeOnCallRuleOwningTeam.d.mts +18 -0
- package/Models/DatabaseModels/AlertEpisodeOnCallRuleOwningTeam.d.ts +18 -0
- package/Models/DatabaseModels/AlertEpisodeOnCallRuleOwningTeam.js +456 -0
- package/Models/DatabaseModels/AlertEpisodeOnCallRuleOwningTeam.mjs +2 -0
- package/Models/DatabaseModels/AlertGroupingRule.d.mts +2 -0
- package/Models/DatabaseModels/AlertGroupingRule.d.ts +2 -0
- package/Models/DatabaseModels/AlertGroupingRule.js +85 -0
- package/Models/DatabaseModels/AlertOnCallRuleOwningTeam.d.mts +18 -0
- package/Models/DatabaseModels/AlertOnCallRuleOwningTeam.d.ts +18 -0
- package/Models/DatabaseModels/AlertOnCallRuleOwningTeam.js +456 -0
- package/Models/DatabaseModels/AlertOnCallRuleOwningTeam.mjs +2 -0
- package/Models/DatabaseModels/AuditLogExport.d.mts +1 -0
- package/Models/DatabaseModels/AuditLogExport.d.ts +1 -0
- package/Models/DatabaseModels/AuditLogExport.js +32 -0
- package/Models/DatabaseModels/AutoRemediationSuggestion.d.mts +4 -0
- package/Models/DatabaseModels/AutoRemediationSuggestion.d.ts +4 -0
- package/Models/DatabaseModels/AutoRemediationSuggestion.js +109 -0
- package/Models/DatabaseModels/CephCluster.d.mts +1 -0
- package/Models/DatabaseModels/CephCluster.d.ts +1 -0
- package/Models/DatabaseModels/CephCluster.js +36 -0
- package/Models/DatabaseModels/CloudAccount.d.mts +2 -0
- package/Models/DatabaseModels/CloudAccount.d.ts +2 -0
- package/Models/DatabaseModels/CloudAccount.js +48 -0
- package/Models/DatabaseModels/CloudBudget.d.mts +1 -0
- package/Models/DatabaseModels/CloudBudget.d.ts +1 -0
- package/Models/DatabaseModels/CloudBudget.js +38 -3
- package/Models/DatabaseModels/CloudConnection.d.mts +1 -0
- package/Models/DatabaseModels/CloudConnection.d.ts +1 -0
- package/Models/DatabaseModels/CloudConnection.js +27 -6
- package/Models/DatabaseModels/CloudCostRecommendation.d.mts +2 -0
- package/Models/DatabaseModels/CloudCostRecommendation.d.ts +2 -0
- package/Models/DatabaseModels/CloudCostRecommendation.js +30 -2
- package/Models/DatabaseModels/CodeRepository.js +23 -6
- package/Models/DatabaseModels/DataStoreFinding.js +8 -2
- package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.d.mts +2 -1
- package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.d.ts +2 -1
- package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.js +21 -0
- package/Models/DatabaseModels/DatabaseBaseModel/OnCallRuleBaseModel.d.mts +2 -0
- package/Models/DatabaseModels/DatabaseBaseModel/OnCallRuleBaseModel.d.ts +2 -0
- package/Models/DatabaseModels/DatabaseBaseModel/OnCallRuleBaseModel.js +35 -1
- package/Models/DatabaseModels/DatabaseServer.d.mts +1 -0
- package/Models/DatabaseModels/DatabaseServer.d.ts +1 -0
- package/Models/DatabaseModels/DatabaseServer.js +36 -0
- package/Models/DatabaseModels/DetectionRule.js +8 -7
- package/Models/DatabaseModels/DockerHost.d.mts +1 -0
- package/Models/DatabaseModels/DockerHost.d.ts +1 -0
- package/Models/DatabaseModels/DockerHost.js +36 -0
- package/Models/DatabaseModels/DockerSwarmCluster.d.mts +1 -0
- package/Models/DatabaseModels/DockerSwarmCluster.d.ts +1 -0
- package/Models/DatabaseModels/DockerSwarmCluster.js +36 -0
- package/Models/DatabaseModels/GlobalConfig.d.mts +36 -1
- package/Models/DatabaseModels/GlobalConfig.d.ts +36 -1
- package/Models/DatabaseModels/GlobalConfig.js +635 -2
- package/Models/DatabaseModels/Host.d.mts +1 -0
- package/Models/DatabaseModels/Host.d.ts +1 -0
- package/Models/DatabaseModels/Host.js +36 -0
- package/Models/DatabaseModels/Incident.d.mts +2 -0
- package/Models/DatabaseModels/Incident.d.ts +2 -0
- package/Models/DatabaseModels/Incident.js +70 -0
- package/Models/DatabaseModels/IncidentEpisodeFeed.d.mts +2 -1
- package/Models/DatabaseModels/IncidentEpisodeFeed.d.ts +2 -1
- package/Models/DatabaseModels/IncidentEpisodeFeed.js +7 -0
- package/Models/DatabaseModels/IncidentEpisodeOnCallRuleOwningTeam.d.mts +18 -0
- package/Models/DatabaseModels/IncidentEpisodeOnCallRuleOwningTeam.d.ts +18 -0
- package/Models/DatabaseModels/IncidentEpisodeOnCallRuleOwningTeam.js +456 -0
- package/Models/DatabaseModels/IncidentEpisodeOnCallRuleOwningTeam.mjs +2 -0
- package/Models/DatabaseModels/IncidentEpisodePublicNote.d.mts +5 -0
- package/Models/DatabaseModels/IncidentEpisodePublicNote.d.ts +5 -0
- package/Models/DatabaseModels/IncidentEpisodePublicNote.js +185 -0
- package/Models/DatabaseModels/IncidentFeed.d.mts +2 -1
- package/Models/DatabaseModels/IncidentFeed.d.ts +2 -1
- package/Models/DatabaseModels/IncidentFeed.js +7 -0
- package/Models/DatabaseModels/IncidentGroupingRule.d.mts +2 -0
- package/Models/DatabaseModels/IncidentGroupingRule.d.ts +2 -0
- package/Models/DatabaseModels/IncidentGroupingRule.js +85 -0
- package/Models/DatabaseModels/IncidentOnCallRuleOwningTeam.d.mts +18 -0
- package/Models/DatabaseModels/IncidentOnCallRuleOwningTeam.d.ts +18 -0
- package/Models/DatabaseModels/IncidentOnCallRuleOwningTeam.js +456 -0
- package/Models/DatabaseModels/IncidentOnCallRuleOwningTeam.mjs +2 -0
- package/Models/DatabaseModels/IncidentOwnerRuleOwningTeam.d.mts +18 -0
- package/Models/DatabaseModels/IncidentOwnerRuleOwningTeam.d.ts +18 -0
- package/Models/DatabaseModels/IncidentOwnerRuleOwningTeam.js +456 -0
- package/Models/DatabaseModels/IncidentOwnerRuleOwningTeam.mjs +2 -0
- package/Models/DatabaseModels/IncidentPublicNote.d.mts +5 -0
- package/Models/DatabaseModels/IncidentPublicNote.d.ts +5 -0
- package/Models/DatabaseModels/IncidentPublicNote.js +185 -0
- package/Models/DatabaseModels/Index.js +24 -0
- package/Models/DatabaseModels/KubernetesCluster.d.mts +1 -0
- package/Models/DatabaseModels/KubernetesCluster.d.ts +1 -0
- package/Models/DatabaseModels/KubernetesCluster.js +36 -0
- package/Models/DatabaseModels/LlmProvider.d.mts +1 -0
- package/Models/DatabaseModels/LlmProvider.d.ts +1 -0
- package/Models/DatabaseModels/LlmProvider.js +39 -0
- package/Models/DatabaseModels/Monitor.d.mts +2 -0
- package/Models/DatabaseModels/Monitor.d.ts +2 -0
- package/Models/DatabaseModels/Monitor.js +98 -2
- package/Models/DatabaseModels/NetworkDeviceDiscoveryImport.js +11 -6
- package/Models/DatabaseModels/NetworkEndpoint.d.mts +1 -0
- package/Models/DatabaseModels/NetworkEndpoint.d.ts +1 -0
- package/Models/DatabaseModels/NetworkEndpoint.js +48 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.mts +1 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.ts +1 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +54 -0
- package/Models/DatabaseModels/OpenStackCloud.d.mts +1 -0
- package/Models/DatabaseModels/OpenStackCloud.d.ts +1 -0
- package/Models/DatabaseModels/OpenStackCloud.js +27 -0
- package/Models/DatabaseModels/PacketCapture.js +3 -1
- package/Models/DatabaseModels/PodmanHost.d.mts +1 -0
- package/Models/DatabaseModels/PodmanHost.d.ts +1 -0
- package/Models/DatabaseModels/PodmanHost.js +36 -0
- package/Models/DatabaseModels/Project.d.mts +19 -0
- package/Models/DatabaseModels/Project.d.ts +19 -0
- package/Models/DatabaseModels/Project.js +541 -0
- package/Models/DatabaseModels/ProjectSmtpConfig.d.mts +10 -0
- package/Models/DatabaseModels/ProjectSmtpConfig.d.ts +10 -0
- package/Models/DatabaseModels/ProjectSmtpConfig.js +335 -1
- package/Models/DatabaseModels/ProxmoxCluster.d.mts +1 -0
- package/Models/DatabaseModels/ProxmoxCluster.d.ts +1 -0
- package/Models/DatabaseModels/ProxmoxCluster.js +36 -0
- package/Models/DatabaseModels/PublicNoteApprovalRequest.d.mts +29 -0
- package/Models/DatabaseModels/PublicNoteApprovalRequest.d.ts +29 -0
- package/Models/DatabaseModels/PublicNoteApprovalRequest.js +460 -0
- package/Models/DatabaseModels/PublicNoteApprovalRequest.mjs +3 -0
- package/Models/DatabaseModels/PublicNoteApprovalStep.d.mts +19 -0
- package/Models/DatabaseModels/PublicNoteApprovalStep.d.ts +19 -0
- package/Models/DatabaseModels/PublicNoteApprovalStep.js +363 -0
- package/Models/DatabaseModels/PublicNoteApprovalStep.mjs +2 -0
- package/Models/DatabaseModels/RumApplication.d.mts +6 -0
- package/Models/DatabaseModels/RumApplication.d.ts +6 -0
- package/Models/DatabaseModels/RumApplication.js +202 -2
- package/Models/DatabaseModels/ScheduledMaintenance.d.mts +2 -0
- package/Models/DatabaseModels/ScheduledMaintenance.d.ts +2 -0
- package/Models/DatabaseModels/ScheduledMaintenance.js +63 -0
- package/Models/DatabaseModels/ScheduledMaintenanceFeed.d.mts +2 -1
- package/Models/DatabaseModels/ScheduledMaintenanceFeed.d.ts +2 -1
- package/Models/DatabaseModels/ScheduledMaintenanceFeed.js +7 -0
- package/Models/DatabaseModels/ScheduledMaintenancePublicNote.d.mts +5 -0
- package/Models/DatabaseModels/ScheduledMaintenancePublicNote.d.ts +5 -0
- package/Models/DatabaseModels/ScheduledMaintenancePublicNote.js +185 -0
- package/Models/DatabaseModels/ServerlessFunction.js +10 -2
- package/Models/DatabaseModels/ServiceLevelObjective.d.mts +5 -0
- package/Models/DatabaseModels/ServiceLevelObjective.d.ts +5 -0
- package/Models/DatabaseModels/ServiceLevelObjective.js +174 -3
- package/Models/DatabaseModels/ServiceLevelObjectiveBurnRateRule.js +1 -1
- package/Models/DatabaseModels/ServiceLevelObjectiveErrorBudgetPolicyTier.d.mts +54 -0
- package/Models/DatabaseModels/ServiceLevelObjectiveErrorBudgetPolicyTier.d.ts +54 -0
- package/Models/DatabaseModels/ServiceLevelObjectiveErrorBudgetPolicyTier.js +1674 -0
- package/Models/DatabaseModels/ServiceLevelObjectiveErrorBudgetPolicyTier.mjs +2 -0
- package/Models/DatabaseModels/ServiceLevelObjectiveFeed.d.mts +8 -1
- package/Models/DatabaseModels/ServiceLevelObjectiveFeed.d.ts +8 -1
- package/Models/DatabaseModels/ServiceLevelObjectiveFeed.js +14 -0
- package/Models/DatabaseModels/TelemetryIngestionKey.d.mts +10 -0
- package/Models/DatabaseModels/TelemetryIngestionKey.d.ts +10 -0
- package/Models/DatabaseModels/TelemetryIngestionKey.js +199 -0
- package/Models/DatabaseModels/TelemetryIngestionKeyRefusal.d.mts +19 -0
- package/Models/DatabaseModels/TelemetryIngestionKeyRefusal.d.ts +19 -0
- package/Models/DatabaseModels/TelemetryIngestionKeyRefusal.js +297 -0
- package/Models/DatabaseModels/TelemetryIngestionKeyRefusal.mjs +2 -0
- package/Models/DatabaseModels/TelemetryUsageBilling.js +35 -122
- package/Models/DatabaseModels/User.d.mts +1 -0
- package/Models/DatabaseModels/User.d.ts +1 -0
- package/Models/DatabaseModels/User.js +29 -0
- package/Models/DatabaseModels/UserSession.js +10 -4
- package/Models/DatabaseModels/VMwareVCenter.d.mts +1 -0
- package/Models/DatabaseModels/VMwareVCenter.d.ts +1 -0
- package/Models/DatabaseModels/VMwareVCenter.js +36 -0
- package/Models/DatabaseModels/Workflow.d.mts +1 -0
- package/Models/DatabaseModels/Workflow.d.ts +1 -0
- package/Models/DatabaseModels/Workflow.js +45 -0
- package/Models/DatabaseModels/WorkflowVersion.d.mts +24 -0
- package/Models/DatabaseModels/WorkflowVersion.d.ts +24 -0
- package/Models/DatabaseModels/WorkflowVersion.js +529 -0
- package/Models/DatabaseModels/WorkflowVersion.mjs +2 -0
- package/Models/DatabaseModels/WorkspaceNotificationRuleOwningTeam.d.mts +18 -0
- package/Models/DatabaseModels/WorkspaceNotificationRuleOwningTeam.d.ts +18 -0
- package/Models/DatabaseModels/WorkspaceNotificationRuleOwningTeam.js +499 -0
- package/Models/DatabaseModels/WorkspaceNotificationRuleOwningTeam.mjs +2 -0
- package/Models/DatabaseModels/WorkspacePublicNoteApprovalMessage.d.mts +31 -0
- package/Models/DatabaseModels/WorkspacePublicNoteApprovalMessage.d.ts +31 -0
- package/Models/DatabaseModels/WorkspacePublicNoteApprovalMessage.js +537 -0
- package/Models/DatabaseModels/WorkspacePublicNoteApprovalMessage.mjs +2 -0
- package/Server/Services/DatabaseService.d.mts +4 -0
- package/Server/Services/DatabaseService.d.ts +4 -0
- package/Server/Types/Database/UpdateByID.d.mts +1 -0
- package/Server/Types/Database/UpdateByID.d.ts +1 -0
- package/Server/Types/Database/UpdateOneBy.d.mts +1 -0
- package/Server/Types/Database/UpdateOneBy.d.ts +1 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.mts +7 -1
- package/Server/Utils/Workspace/WorkspaceBase.d.ts +7 -1
- package/Types/AI/AIActionWords.d.mts +16 -0
- package/Types/AI/AIActionWords.d.ts +16 -0
- package/Types/AI/AIActionWords.js +105 -1
- package/Types/AI/AIActionWords.mjs +3 -0
- package/Types/AI/AIAgentRunLimits.d.mts +76 -13
- package/Types/AI/AIAgentRunLimits.d.ts +76 -13
- package/Types/AI/AIAgentRunLimits.js +434 -51
- package/Types/AI/AIAgentRunLimits.mjs +10 -2
- package/Types/AI/AIChatRecordSeen.d.mts +49 -0
- package/Types/AI/AIChatRecordSeen.d.ts +49 -0
- package/Types/AI/AIChatRecordSeen.js +337 -0
- package/Types/AI/AIChatRecordSeen.mjs +12 -0
- package/Types/AI/AIChatTypes.d.mts +7 -0
- package/Types/AI/AIChatTypes.d.ts +7 -0
- package/Types/AI/AIChatTypes.js +15 -1
- package/Types/AI/AIChatTypes.mjs +1 -0
- package/Types/AI/AIRunAttempt.d.mts +30 -0
- package/Types/AI/AIRunAttempt.d.ts +30 -0
- package/Types/AI/AIRunAttempt.js +175 -0
- package/Types/AI/AIRunAttempt.mjs +5 -0
- package/Types/AI/AIRunEventType.d.mts +3 -0
- package/Types/AI/AIRunEventType.d.ts +3 -0
- package/Types/AI/AIRunEventType.js +28 -0
- package/Types/AI/AIRunStatus.d.mts +2 -0
- package/Types/AI/AIRunStatus.d.ts +2 -0
- package/Types/AI/AIRunStatus.js +12 -0
- package/Types/AI/AgentLoopDetector.d.mts +29 -0
- package/Types/AI/AgentLoopDetector.d.ts +29 -0
- package/Types/AI/AgentLoopDetector.js +196 -0
- package/Types/AI/AgentLoopDetector.mjs +9 -0
- package/Types/AI/CodeAgentRunLimits.d.mts +28 -0
- package/Types/AI/CodeAgentRunLimits.d.ts +28 -0
- package/Types/AI/CodeAgentRunLimits.js +163 -0
- package/Types/AI/CodeAgentRunLimits.mjs +2 -0
- package/Types/AI/CodeFixTaskContext.d.mts +2 -0
- package/Types/AI/CodeFixTaskContext.d.ts +2 -0
- package/Types/AI/CodeTask.d.mts +20 -0
- package/Types/AI/CodeTask.d.ts +20 -0
- package/Types/AI/CodeTask.js +23 -1
- package/Types/AI/CodeTask.mjs +4 -0
- package/Types/AI/CodeTaskRetry.d.mts +21 -0
- package/Types/AI/CodeTaskRetry.d.ts +21 -0
- package/Types/AI/CodeTaskRetry.js +61 -0
- package/Types/AI/CodeTaskRetry.mjs +4 -0
- package/Types/AI/CodeTaskStage.d.mts +19 -0
- package/Types/AI/CodeTaskStage.d.ts +19 -0
- package/Types/AI/CodeTaskStage.js +78 -0
- package/Types/AI/CodeTaskStage.mjs +3 -0
- package/Types/AI/ExternalMcpServer/ExternalMcpServerLimits.d.mts +0 -1
- package/Types/AI/ExternalMcpServer/ExternalMcpServerLimits.d.ts +0 -1
- package/Types/AI/ExternalMcpServer/ExternalMcpServerLimits.js +6 -4
- package/Types/AI/ExternalMcpServer/ExternalMcpServerLimits.mjs +0 -1
- package/Types/AI/ProjectAiRunLimits.d.mts +24 -0
- package/Types/AI/ProjectAiRunLimits.d.ts +24 -0
- package/Types/AI/ProjectAiRunLimits.js +137 -0
- package/Types/AI/ProjectAiRunLimits.mjs +9 -0
- package/Types/AI/ResourceAiAccessApi.d.mts +1 -0
- package/Types/AI/ResourceAiAccessApi.d.ts +1 -0
- package/Types/AI/ResourceAiAccessApi.js +6 -1
- package/Types/AI/ResourceAiAccessApi.mjs +1 -0
- package/Types/AI/ResourceAiAccessPermissions.d.mts +2 -0
- package/Types/AI/ResourceAiAccessPermissions.d.ts +2 -0
- package/Types/AI/ResourceAiAccessPermissions.js +13 -0
- package/Types/AI/ResourceAiAccessPermissions.mjs +2 -0
- package/Types/AI/TransientAIFailure.d.mts +16 -0
- package/Types/AI/TransientAIFailure.d.ts +16 -0
- package/Types/AI/TransientAIFailure.js +228 -0
- package/Types/AI/TransientAIFailure.mjs +4 -0
- package/Types/Accounts/AccountsLanguage.js +1 -0
- package/Types/AdminDashboard/AdminDashboardLanguage.js +1 -0
- package/Types/AnalyticsDatabase/AnalyticsTableName.d.mts +3 -1
- package/Types/AnalyticsDatabase/AnalyticsTableName.d.ts +3 -1
- package/Types/AnalyticsDatabase/AnalyticsTableName.js +16 -0
- package/Types/AuditLog/AuditLogCoverage.d.mts +40 -0
- package/Types/AuditLog/AuditLogCoverage.d.ts +40 -0
- package/Types/AuditLog/AuditLogCoverage.js +804 -0
- package/Types/AuditLog/AuditLogCoverage.mjs +17 -0
- package/Types/AuditLog/Export/AuditLogExportDestinationCatalog.d.mts +13 -1
- package/Types/AuditLog/Export/AuditLogExportDestinationCatalog.d.ts +13 -1
- package/Types/AuditLog/Export/AuditLogExportDestinationCatalog.js +92 -8
- package/Types/AuditLog/Export/AuditLogExportDestinationCatalog.mjs +5 -0
- package/Types/AuditLog/Export/AuditLogExportRecord.d.mts +14 -4
- package/Types/AuditLog/Export/AuditLogExportRecord.d.ts +14 -4
- package/Types/AuditLog/Export/AuditLogExportRecord.js +86 -29
- package/Types/AuditLog/Export/AuditLogExportRecord.mjs +7 -0
- package/Types/AutoRemediation/RemediationApprovals.d.mts +16 -0
- package/Types/AutoRemediation/RemediationApprovals.d.ts +16 -0
- package/Types/AutoRemediation/RemediationApprovals.js +92 -0
- package/Types/AutoRemediation/RemediationApprovals.mjs +7 -0
- package/Types/AutoRemediation/RemediationRound.d.mts +56 -0
- package/Types/AutoRemediation/RemediationRound.d.ts +56 -0
- package/Types/AutoRemediation/RemediationRound.js +242 -0
- package/Types/AutoRemediation/RemediationRound.mjs +22 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.mts +2 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.ts +2 -0
- package/Types/BaseDatabase/EnableAuditLogOn.d.mts +1 -0
- package/Types/BaseDatabase/EnableAuditLogOn.d.ts +1 -0
- package/Types/BaseDatabase/WriteSource.d.mts +6 -0
- package/Types/BaseDatabase/WriteSource.d.ts +6 -0
- package/Types/BaseDatabase/WriteSource.js +25 -0
- package/Types/BaseDatabase/WriteSource.mjs +4 -0
- package/Types/Cloud/CloudCommitments.d.mts +74 -0
- package/Types/Cloud/CloudCommitments.d.ts +74 -0
- package/Types/Cloud/CloudCommitments.js +294 -0
- package/Types/Cloud/CloudCommitments.mjs +17 -0
- package/Types/Cloud/CloudConnectionTelemetry.d.mts +3 -0
- package/Types/Cloud/CloudConnectionTelemetry.d.ts +3 -0
- package/Types/Cloud/CloudConnectionTelemetry.js +28 -0
- package/Types/Cloud/CloudConnectionTelemetry.mjs +3 -0
- package/Types/Cloud/CloudCost.d.mts +30 -0
- package/Types/Cloud/CloudCost.d.ts +30 -0
- package/Types/Cloud/CloudCost.js +163 -1
- package/Types/Cloud/CloudCost.mjs +8 -0
- package/Types/Cloud/CloudCostAnomaly.d.mts +34 -0
- package/Types/Cloud/CloudCostAnomaly.d.ts +34 -0
- package/Types/Cloud/CloudCostAnomaly.js +236 -0
- package/Types/Cloud/CloudCostAnomaly.mjs +18 -0
- package/Types/Cloud/CloudKeyMetrics.d.mts +13 -0
- package/Types/Cloud/CloudKeyMetrics.d.ts +13 -0
- package/Types/Cloud/CloudKeyMetrics.js +174 -1
- package/Types/Cloud/CloudKeyMetrics.mjs +10 -0
- package/Types/Cloud/CloudLogGroups.d.mts +33 -2
- package/Types/Cloud/CloudLogGroups.d.ts +33 -2
- package/Types/Cloud/CloudLogGroups.js +245 -8
- package/Types/Cloud/CloudLogGroups.mjs +12 -0
- package/Types/Cloud/CloudMonitoredResource.d.mts +1 -0
- package/Types/Cloud/CloudMonitoredResource.d.ts +1 -0
- package/Types/Cloud/CloudMonitoredResource.js +23 -0
- package/Types/Cloud/CloudMonitoredResource.mjs +1 -0
- package/Types/Cloud/CloudPlatform.js +9 -8
- package/Types/Cloud/CloudPlatformCosts.d.mts +54 -0
- package/Types/Cloud/CloudPlatformCosts.d.ts +54 -0
- package/Types/Cloud/CloudPlatformCosts.js +249 -0
- package/Types/Cloud/CloudPlatformCosts.mjs +7 -0
- package/Types/Cloud/CloudResourceCatalog.js +10 -0
- package/Types/Cloud/CloudResourceHealth.d.mts +1 -0
- package/Types/Cloud/CloudResourceHealth.d.ts +1 -0
- package/Types/Cloud/CloudResourceHealth.js +4 -1
- package/Types/Cloud/CloudResourceMetricAggregation.d.mts +21 -0
- package/Types/Cloud/CloudResourceMetricAggregation.d.ts +21 -0
- package/Types/Cloud/CloudResourceMetricAggregation.js +140 -0
- package/Types/Cloud/CloudResourceMetricAggregation.mjs +4 -0
- package/Types/Cloud/CloudRightSizing.d.mts +140 -0
- package/Types/Cloud/CloudRightSizing.d.ts +140 -0
- package/Types/Cloud/CloudRightSizing.js +867 -0
- package/Types/Cloud/CloudRightSizing.mjs +53 -0
- package/Types/Cloud/CloudWatchLogSeverity.d.mts +7 -0
- package/Types/Cloud/CloudWatchLogSeverity.d.ts +7 -0
- package/Types/Cloud/CloudWatchLogSeverity.js +182 -0
- package/Types/Cloud/CloudWatchLogSeverity.mjs +4 -0
- package/Types/Cloud/RdsConnectionLimits.d.mts +53 -0
- package/Types/Cloud/RdsConnectionLimits.d.ts +53 -0
- package/Types/Cloud/RdsConnectionLimits.js +404 -0
- package/Types/Cloud/RdsConnectionLimits.mjs +24 -0
- package/Types/CloudConnection/AwsStackSets.d.mts +51 -0
- package/Types/CloudConnection/AwsStackSets.d.ts +51 -0
- package/Types/CloudConnection/AwsStackSets.js +188 -0
- package/Types/CloudConnection/AwsStackSets.mjs +15 -0
- package/Types/CloudConnection/CloudAiAgentKey.d.mts +65 -0
- package/Types/CloudConnection/CloudAiAgentKey.d.ts +65 -0
- package/Types/CloudConnection/CloudAiAgentKey.js +289 -0
- package/Types/CloudConnection/CloudAiAgentKey.mjs +18 -0
- package/Types/CloudConnection/CloudAiAgentSetupCommands.d.mts +38 -2
- package/Types/CloudConnection/CloudAiAgentSetupCommands.d.ts +38 -2
- package/Types/CloudConnection/CloudAiAgentSetupCommands.js +580 -94
- package/Types/CloudConnection/CloudAiAgentSetupCommands.mjs +20 -1
- package/Types/CloudConnection/CloudConnectionCatalog.d.mts +3 -0
- package/Types/CloudConnection/CloudConnectionCatalog.d.ts +3 -0
- package/Types/CloudConnection/CloudConnectionCatalog.js +31 -1
- package/Types/CloudConnection/CloudConnectionCatalog.mjs +2 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.js +24 -7
- package/Types/CloudConnection/CloudOrganizationAgents.d.mts +45 -0
- package/Types/CloudConnection/CloudOrganizationAgents.d.ts +45 -0
- package/Types/CloudConnection/CloudOrganizationAgents.js +182 -0
- package/Types/CloudConnection/CloudOrganizationAgents.mjs +12 -0
- package/Types/CloudConnection/CloudStream.d.mts +50 -1
- package/Types/CloudConnection/CloudStream.d.ts +50 -1
- package/Types/CloudConnection/CloudStream.js +333 -23
- package/Types/CloudConnection/CloudStream.mjs +35 -0
- package/Types/CloudConnection/CloudStreamAzure.d.mts +60 -0
- package/Types/CloudConnection/CloudStreamAzure.d.ts +60 -0
- package/Types/CloudConnection/CloudStreamAzure.js +418 -0
- package/Types/CloudConnection/CloudStreamAzure.mjs +35 -0
- package/Types/CloudConnection/CloudStreamGcp.d.mts +55 -0
- package/Types/CloudConnection/CloudStreamGcp.d.ts +55 -0
- package/Types/CloudConnection/CloudStreamGcp.js +247 -0
- package/Types/CloudConnection/CloudStreamGcp.mjs +25 -0
- package/Types/CloudConnection/CloudStreamOrganization.d.mts +17 -0
- package/Types/CloudConnection/CloudStreamOrganization.d.ts +17 -0
- package/Types/CloudConnection/CloudStreamOrganization.js +176 -0
- package/Types/CloudConnection/CloudStreamOrganization.mjs +9 -0
- package/Types/CloudConnection/CloudStreamTemplate.d.mts +5 -5
- package/Types/CloudConnection/CloudStreamTemplate.d.ts +5 -5
- package/Types/CloudConnection/CloudStreamTemplate.js +99 -26
- package/Types/CloudConnection/CloudStreamTemplate.mjs +2 -0
- package/Types/CodeRepository/CodeChangeProposedOnKey.d.mts +1 -0
- package/Types/CodeRepository/CodeChangeProposedOnKey.d.ts +1 -0
- package/Types/CodeRepository/CodeChangeProposedOnKey.js +12 -0
- package/Types/CodeRepository/CodeChangeProposedOnKey.mjs +2 -0
- package/Types/CodeRepository/CodeFileSeen.d.mts +106 -0
- package/Types/CodeRepository/CodeFileSeen.d.ts +106 -0
- package/Types/CodeRepository/CodeFileSeen.js +523 -0
- package/Types/CodeRepository/CodeFileSeen.mjs +17 -0
- package/Types/CodeRepository/CodeFileValuesHidden.d.mts +21 -0
- package/Types/CodeRepository/CodeFileValuesHidden.d.ts +21 -0
- package/Types/CodeRepository/CodeFileValuesHidden.js +135 -0
- package/Types/CodeRepository/CodeFileValuesHidden.mjs +6 -0
- package/Types/CodeRepository/CodeHost.d.mts +15 -0
- package/Types/CodeRepository/CodeHost.d.ts +15 -0
- package/Types/CodeRepository/CodeHost.js +195 -6
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.d.mts +1 -0
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.d.ts +1 -0
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.js +3 -0
- package/Types/Dashboard/DashboardComponentType.d.mts +2 -0
- package/Types/Dashboard/DashboardComponentType.d.ts +2 -0
- package/Types/Dashboard/DashboardComponentType.js +24 -1
- package/Types/Dashboard/DashboardComponentType.mjs +2 -0
- package/Types/Dashboard/DashboardLanguage.js +1 -0
- package/Types/Dashboard/PublicDashboardServedSettings.d.mts +19 -0
- package/Types/Dashboard/PublicDashboardServedSettings.d.ts +19 -0
- package/Types/Dashboard/PublicDashboardServedSettings.js +501 -0
- package/Types/Dashboard/PublicDashboardServedSettings.mjs +12 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.mts +17 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.ts +17 -0
- package/Types/DataObservability/DataObservabilityApiTypes.js +5 -1
- package/Types/DataObservability/DataObservabilityApiTypes.mjs +1 -0
- package/Types/DataObservability/DataObservabilityAttention.d.mts +78 -0
- package/Types/DataObservability/DataObservabilityAttention.d.ts +78 -0
- package/Types/DataObservability/DataObservabilityAttention.js +163 -0
- package/Types/DataObservability/DataObservabilityAttention.mjs +12 -0
- package/Types/Database/AccessControl/PermissionScopeNarrowing.js +4 -0
- package/Types/Database/EnableAuditLog.js +3 -0
- package/Types/Date.d.mts +9 -0
- package/Types/Date.d.ts +9 -0
- package/Types/Date.js +57 -8
- package/Types/DateLanguage.d.mts +3 -0
- package/Types/DateLanguage.d.ts +3 -0
- package/Types/DateLanguage.js +59 -10
- package/Types/DateLanguage.mjs +3 -0
- package/Types/Email/EmailServer.d.mts +7 -0
- package/Types/Email/EmailServer.d.ts +7 -0
- package/Types/Email/EmailTemplateType.d.mts +2 -0
- package/Types/Email/EmailTemplateType.d.ts +2 -0
- package/Types/Email/EmailTemplateType.js +3 -0
- package/Types/Email/MailTransportType.d.mts +29 -9
- package/Types/Email/MailTransportType.d.ts +29 -9
- package/Types/Email/MailTransportType.js +56 -8
- package/Types/Email/MailTransportType.mjs +4 -0
- package/Types/Email/MailgunDomain.d.mts +2 -0
- package/Types/Email/MailgunDomain.d.ts +2 -0
- package/Types/Email/MailgunDomain.js +57 -0
- package/Types/Email/MailgunDomain.mjs +3 -0
- package/Types/Email/MailgunRegion.d.mts +8 -0
- package/Types/Email/MailgunRegion.d.ts +8 -0
- package/Types/Email/MailgunRegion.js +32 -0
- package/Types/Email/MailgunRegion.mjs +5 -0
- package/Types/Exception/ConflictException.d.mts +6 -0
- package/Types/Exception/ConflictException.d.ts +6 -0
- package/Types/Exception/ConflictException.js +30 -0
- package/Types/Exception/ConflictException.mjs +2 -0
- package/Types/Exception/ExceptionCode.d.mts +1 -0
- package/Types/Exception/ExceptionCode.d.ts +1 -0
- package/Types/Exception/ExceptionCode.js +2 -0
- package/Types/InstallScripts/InstallScripts.js +1 -1
- package/Types/Kubernetes/KubernetesClusterAiAccess.d.mts +0 -1
- package/Types/Kubernetes/KubernetesClusterAiAccess.d.ts +0 -1
- package/Types/Kubernetes/KubernetesClusterAiAccess.js +7 -6
- package/Types/Kubernetes/KubernetesClusterAiAccess.mjs +0 -1
- package/Types/Kubernetes/KubernetesEvent.js +5 -4
- package/Types/LlmObservability/LlmConnectionCatalog.d.mts +5 -0
- package/Types/LlmObservability/LlmConnectionCatalog.d.ts +5 -0
- package/Types/LlmObservability/LlmConnectionCatalog.js +35 -0
- package/Types/LlmObservability/LlmConnectionProvider.d.mts +1 -0
- package/Types/LlmObservability/LlmConnectionProvider.d.ts +1 -0
- package/Types/LlmObservability/LlmConnectionProvider.js +4 -2
- package/Types/LlmObservability/LlmConnectionRecords.d.mts +7 -0
- package/Types/LlmObservability/LlmConnectionRecords.d.ts +7 -0
- package/Types/LlmObservability/LlmConnectionTest.d.mts +1 -0
- package/Types/LlmObservability/LlmConnectionTest.d.ts +1 -0
- package/Types/Log/LogEventName.d.mts +6 -0
- package/Types/Log/LogEventName.d.ts +6 -0
- package/Types/Log/LogEventName.js +59 -0
- package/Types/Log/LogEventName.mjs +4 -0
- package/Types/MessageQueue/MessageQueueCloudConnectionMetrics.d.mts +15 -0
- package/Types/MessageQueue/MessageQueueCloudConnectionMetrics.d.ts +15 -0
- package/Types/MessageQueue/MessageQueueCloudConnectionMetrics.js +51 -0
- package/Types/MessageQueue/MessageQueueCloudConnectionMetrics.mjs +4 -0
- package/Types/MessageQueue/MessageQueueMetricCatalog.d.mts +1 -1
- package/Types/MessageQueue/MessageQueueMetricCatalog.d.ts +1 -1
- package/Types/MessageQueue/MessageQueueMetricCatalog.js +64 -0
- package/Types/MessageQueue/MessageQueueSpanPopulation.d.mts +65 -0
- package/Types/MessageQueue/MessageQueueSpanPopulation.d.ts +65 -0
- package/Types/MessageQueue/MessageQueueSpanPopulation.js +326 -0
- package/Types/MessageQueue/MessageQueueSpanPopulation.mjs +22 -0
- package/Types/MessageQueue/MessageQueueTopology.d.mts +59 -0
- package/Types/MessageQueue/MessageQueueTopology.d.ts +59 -0
- package/Types/MessageQueue/MessageQueueTopology.js +211 -0
- package/Types/MessageQueue/MessageQueueTopology.mjs +8 -0
- package/Types/MessageQueue/MessagingSystem.js +6 -2
- package/Types/Metrics/MetricsQuery.d.mts +1 -0
- package/Types/Metrics/MetricsQuery.d.ts +1 -0
- package/Types/Monitor/CloudAlertTemplates.d.mts +122 -0
- package/Types/Monitor/CloudAlertTemplates.d.ts +122 -0
- package/Types/Monitor/CloudAlertTemplates.js +2003 -0
- package/Types/Monitor/CloudAlertTemplates.mjs +26 -0
- package/Types/Monitor/CloudAppAlertTemplates.d.mts +34 -0
- package/Types/Monitor/CloudAppAlertTemplates.d.ts +34 -0
- package/Types/Monitor/CloudAppAlertTemplates.js +331 -0
- package/Types/Monitor/CloudAppAlertTemplates.mjs +8 -0
- package/Types/Monitor/IncomingMonitor/IncomingMonitorRequest.d.mts +1 -0
- package/Types/Monitor/IncomingMonitor/IncomingMonitorRequest.d.ts +1 -0
- package/Types/Monitor/MessageQueueAlertTemplates.js +3 -0
- package/Types/Monitor/MetricMonitor/MetricMonitorResponse.d.mts +1 -0
- package/Types/Monitor/MetricMonitor/MetricMonitorResponse.d.ts +1 -0
- package/Types/Monitor/MonitorEvaluationDetails.d.mts +80 -0
- package/Types/Monitor/MonitorEvaluationDetails.d.ts +80 -0
- package/Types/Monitor/MonitorEvaluationDetails.js +41 -0
- package/Types/Monitor/MonitorEvaluationDetails.mjs +3 -0
- package/Types/Monitor/MonitorStepMetricMonitor.d.mts +2 -0
- package/Types/Monitor/MonitorStepMetricMonitor.d.ts +2 -0
- package/Types/Monitor/MonitorStepMetricMonitor.js +4 -0
- package/Types/Monitor/MonitorSummarySnapshot.d.mts +1 -0
- package/Types/Monitor/MonitorSummarySnapshot.d.ts +1 -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 +113 -13
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.mts +16 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.ts +16 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.js +18 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationUtil.d.mts +10 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationUtil.d.ts +10 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationUtil.js +54 -1
- package/Types/Monitor/TelemetryAlertRule.js +19 -1
- package/Types/NetFlow/NetworkTrafficUsage.d.mts +56 -0
- package/Types/NetFlow/NetworkTrafficUsage.d.ts +56 -0
- package/Types/NetFlow/NetworkTrafficUsage.js +171 -1
- package/Types/NetFlow/NetworkTrafficUsage.mjs +11 -0
- package/Types/NetworkController/NetworkControllerApplianceLink.d.mts +43 -0
- package/Types/NetworkController/NetworkControllerApplianceLink.d.ts +43 -0
- package/Types/NetworkController/NetworkControllerApplianceLink.js +107 -0
- package/Types/NetworkController/NetworkControllerApplianceLink.mjs +8 -0
- package/Types/NetworkDevice/DiscoveredDevice.d.mts +105 -0
- package/Types/NetworkDevice/DiscoveredDevice.d.ts +105 -0
- package/Types/NetworkDevice/DiscoveredDevice.js +407 -0
- package/Types/NetworkDevice/DiscoveredDevice.mjs +23 -0
- package/Types/NetworkDevice/DiscoveredDeviceRetention.d.mts +10 -0
- package/Types/NetworkDevice/DiscoveredDeviceRetention.d.ts +10 -0
- package/Types/NetworkDevice/DiscoveredDeviceRetention.js +93 -0
- package/Types/NetworkDevice/DiscoveredDeviceRetention.mjs +11 -0
- package/Types/NetworkDevice/DiscoveryImport.d.mts +12 -0
- package/Types/NetworkDevice/DiscoveryImport.d.ts +12 -0
- package/Types/NetworkDevice/DiscoveryImport.js +53 -1
- package/Types/NetworkDevice/DiscoveryImport.mjs +2 -0
- package/Types/NetworkDevice/NetworkDeviceTelemetryAttribute.d.mts +2 -0
- package/Types/NetworkDevice/NetworkDeviceTelemetryAttribute.d.ts +2 -0
- package/Types/NetworkDevice/NetworkDeviceTelemetryAttribute.js +19 -0
- package/Types/NetworkDevice/NetworkDeviceTelemetryAttribute.mjs +3 -0
- package/Types/NotificationSetting/NotificationEmailRollupCategory.js +8 -0
- package/Types/NotificationSetting/NotificationEmailRollupPolicy.js +7 -0
- package/Types/NotificationSetting/NotificationSettingEventType.d.mts +2 -0
- package/Types/NotificationSetting/NotificationSettingEventType.d.ts +2 -0
- package/Types/NotificationSetting/NotificationSettingEventType.js +9 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgementTimeout.d.mts +5 -3
- package/Types/OnCallDutyPolicy/OnCallAcknowledgementTimeout.d.ts +5 -3
- package/Types/OnCallDutyPolicy/OnCallAcknowledgementTimeout.js +98 -11
- package/Types/OnCallDutyPolicy/OnCallObserverPage.d.mts +61 -0
- package/Types/OnCallDutyPolicy/OnCallObserverPage.d.ts +61 -0
- package/Types/OnCallDutyPolicy/OnCallObserverPage.js +331 -0
- package/Types/OnCallDutyPolicy/OnCallObserverPage.mjs +24 -0
- package/Types/OnCallDutyPolicy/OnCallPageAs.d.mts +5 -0
- package/Types/OnCallDutyPolicy/OnCallPageAs.d.ts +5 -0
- package/Types/OnCallDutyPolicy/OnCallPageAs.js +21 -0
- package/Types/OnCallDutyPolicy/OnCallPageAs.mjs +2 -0
- package/Types/OnCallDutyPolicy/OnCallPagePassOn.d.mts +1 -0
- package/Types/OnCallDutyPolicy/OnCallPagePassOn.d.ts +1 -0
- package/Types/OnCallDutyPolicy/OnCallPageWords.d.mts +59 -0
- package/Types/OnCallDutyPolicy/OnCallPageWords.d.ts +59 -0
- package/Types/OnCallDutyPolicy/OnCallPageWords.js +388 -0
- package/Types/OnCallDutyPolicy/OnCallPageWords.mjs +24 -0
- package/Types/OnCallDutyPolicy/OnCallPersonPage.d.mts +10 -3
- package/Types/OnCallDutyPolicy/OnCallPersonPage.d.ts +10 -3
- package/Types/OnCallDutyPolicy/OnCallPersonPage.js +172 -37
- package/Types/OnCallDutyPolicy/OnCallPersonPage.mjs +2 -0
- package/Types/Permission.d.mts +28 -0
- package/Types/Permission.d.ts +28 -0
- package/Types/Permission.js +288 -0
- package/Types/ProviderLogo/AllProviderLogoMarks.js +2 -0
- package/Types/ProviderLogo/Marks/cursor.d.mts +3 -0
- package/Types/ProviderLogo/Marks/cursor.d.ts +3 -0
- package/Types/ProviderLogo/Marks/cursor.js +12 -0
- package/Types/ProviderLogo/Marks/cursor.mjs +2 -0
- package/Types/ProviderLogo/ProviderLogo.d.mts +1 -0
- package/Types/ProviderLogo/ProviderLogo.d.ts +1 -0
- package/Types/ProviderLogo/ProviderLogo.js +2 -0
- package/Types/ProviderLogo/ProviderLogoMarks.js +1 -0
- package/Types/PushNotification/PushNotificationCategory.d.mts +4 -0
- package/Types/PushNotification/PushNotificationCategory.d.ts +4 -0
- package/Types/PushNotification/PushNotificationCategory.js +36 -12
- package/Types/PushNotification/PushNotificationCategory.mjs +2 -0
- package/Types/ReadingDirection.js +2 -2
- package/Types/ResourceAiAgent/CloudAiAgentNames.d.mts +10 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.d.ts +10 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.js +42 -3
- package/Types/ResourceAiAgent/CloudAiAgentNames.mjs +7 -0
- package/Types/ResourceAiAgent/ResourceAiAccess.d.mts +4 -2
- package/Types/ResourceAiAgent/ResourceAiAccess.d.ts +4 -2
- package/Types/ResourceAiAgent/ResourceAiAccess.js +25 -7
- package/Types/ResourceAiAgent/ResourceAiAccess.mjs +3 -1
- package/Types/Rum/ProductAnalytics.d.mts +153 -0
- package/Types/Rum/ProductAnalytics.d.ts +153 -0
- package/Types/Rum/ProductAnalytics.js +204 -0
- package/Types/Rum/ProductAnalytics.mjs +36 -0
- package/Types/Rum/RumApplicationStatus.d.mts +30 -0
- package/Types/Rum/RumApplicationStatus.d.ts +30 -0
- package/Types/Rum/RumApplicationStatus.js +147 -0
- package/Types/Rum/RumApplicationStatus.mjs +14 -0
- package/Types/Rum/RumTelemetrySignal.d.mts +7 -0
- package/Types/Rum/RumTelemetrySignal.d.ts +7 -0
- package/Types/Rum/RumTelemetrySignal.js +30 -0
- package/Types/Rum/RumTelemetrySignal.mjs +3 -0
- package/Types/Rum/SessionReplay.d.mts +6 -0
- package/Types/Rum/SessionReplay.d.ts +6 -0
- package/Types/Rum/SessionReplayApi.d.mts +7 -0
- package/Types/Rum/SessionReplayApi.d.ts +7 -0
- package/Types/Rum/SessionReplayCustomEvents.d.mts +11 -0
- package/Types/Rum/SessionReplayCustomEvents.d.ts +11 -0
- package/Types/Rum/SessionReplayCustomEvents.js +11 -0
- package/Types/Rum/SessionReplayCustomEvents.mjs +1 -0
- package/Types/Rum/SessionReplayFrustrationSignals.d.mts +90 -0
- package/Types/Rum/SessionReplayFrustrationSignals.d.ts +90 -0
- package/Types/Rum/SessionReplayFrustrationSignals.js +349 -0
- package/Types/Rum/SessionReplayFrustrationSignals.mjs +22 -0
- package/Types/SecurityCase/SecurityCaseContext.d.mts +2 -1
- package/Types/SecurityCase/SecurityCaseContext.d.ts +2 -1
- package/Types/SecurityCase/SecurityConnection.d.mts +11 -1
- package/Types/SecurityCase/SecurityConnection.d.ts +11 -1
- package/Types/SecurityEvent/RealTimeDetection.d.mts +14 -5
- package/Types/SecurityEvent/RealTimeDetection.d.ts +14 -5
- package/Types/SecurityEvent/RealTimeDetection.js +75 -25
- package/Types/SecurityEvent/RealTimeDetection.mjs +3 -3
- package/Types/SecurityEvent/SecurityEventScope.d.mts +12 -0
- package/Types/SecurityEvent/SecurityEventScope.d.ts +12 -0
- package/Types/SecurityEvent/SecurityEventScope.js +109 -0
- package/Types/SecurityEvent/SecurityEventScope.mjs +8 -0
- package/Types/SecurityPlaybook/SecurityPlaybookAction.d.mts +4 -2
- package/Types/SecurityPlaybook/SecurityPlaybookAction.d.ts +4 -2
- package/Types/SecurityPlaybook/SecurityPlaybookAction.js +22 -3
- package/Types/SecurityPlaybook/SecurityPlaybookStep.d.mts +7 -2
- package/Types/SecurityPlaybook/SecurityPlaybookStep.d.ts +7 -2
- package/Types/SecurityPlaybook/SecurityPlaybookStep.js +96 -39
- package/Types/SecurityPlaybook/SecurityPlaybookStep.mjs +2 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.d.mts +17 -2
- package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.d.ts +17 -2
- package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.js +174 -33
- package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.mjs +7 -0
- package/Types/Serverless/ServerlessFunctionStatus.d.mts +30 -0
- package/Types/Serverless/ServerlessFunctionStatus.d.ts +30 -0
- package/Types/Serverless/ServerlessFunctionStatus.js +153 -0
- package/Types/Serverless/ServerlessFunctionStatus.mjs +14 -0
- package/Types/Service/ServiceTelemetryStatus.d.mts +32 -0
- package/Types/Service/ServiceTelemetryStatus.d.ts +32 -0
- package/Types/Service/ServiceTelemetryStatus.js +138 -0
- package/Types/Service/ServiceTelemetryStatus.mjs +15 -0
- package/Types/StatusPage/PublicNoteApproval.d.mts +146 -0
- package/Types/StatusPage/PublicNoteApproval.d.ts +146 -0
- package/Types/StatusPage/PublicNoteApproval.js +473 -0
- package/Types/StatusPage/PublicNoteApproval.mjs +8 -0
- package/Types/StatusPage/StateChangeSubscriberNotification.d.mts +9 -0
- package/Types/StatusPage/StateChangeSubscriberNotification.d.ts +9 -0
- package/Types/StatusPage/StateChangeSubscriberNotification.js +16 -0
- package/Types/StatusPage/StatusPageLanguage.js +1 -0
- package/Types/StatusPage/StatusPageReport.d.mts +3 -0
- package/Types/StatusPage/StatusPageReport.d.ts +3 -0
- package/Types/StatusPage/SubscriberNotificationResend.d.mts +1 -0
- package/Types/StatusPage/SubscriberNotificationResend.d.ts +1 -0
- package/Types/StatusPage/SubscriberNotificationResend.js +2 -0
- package/Types/Table/DefaultTableColumns.d.mts +22 -0
- package/Types/Table/DefaultTableColumns.d.ts +22 -0
- package/Types/Table/DefaultTableColumns.js +166 -0
- package/Types/Table/DefaultTableColumns.mjs +6 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleHeld.d.mts +15 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleHeld.d.ts +15 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleHeld.js +96 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleHeld.mjs +2 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleKinds.d.mts +12 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleKinds.d.ts +12 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleKinds.js +72 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleKinds.mjs +4 -0
- package/Types/Telemetry/LlmConventions.d.mts +5 -0
- package/Types/Telemetry/LlmConventions.d.ts +5 -0
- package/Types/Telemetry/LlmConventions.js +51 -3
- package/Types/Telemetry/LlmConventions.mjs +5 -0
- package/Types/Telemetry/LlmConversationApi.d.mts +7 -0
- package/Types/Telemetry/LlmConversationApi.d.ts +7 -0
- package/Types/Telemetry/LlmConversationApi.js +37 -1
- package/Types/Telemetry/LlmConversationApi.mjs +2 -0
- package/Types/Telemetry/LlmMetricConventions.d.mts +10 -0
- package/Types/Telemetry/LlmMetricConventions.d.ts +10 -0
- package/Types/Telemetry/LlmMetricConventions.js +84 -14
- package/Types/Telemetry/LlmMetricConventions.mjs +3 -0
- package/Types/Telemetry/LlmMetricUsageApi.d.mts +27 -0
- package/Types/Telemetry/LlmMetricUsageApi.d.ts +27 -0
- package/Types/Telemetry/LlmMetricUsageApi.js +73 -0
- package/Types/Telemetry/LlmMetricUsageApi.mjs +7 -0
- package/Types/Telemetry/LlmProviders.d.mts +23 -0
- package/Types/Telemetry/LlmProviders.d.ts +23 -0
- package/Types/Telemetry/LlmProviders.js +288 -0
- package/Types/Telemetry/LlmProviders.mjs +16 -0
- package/Types/Telemetry/LlmSetupCheckApi.d.mts +93 -0
- package/Types/Telemetry/LlmSetupCheckApi.d.ts +93 -0
- package/Types/Telemetry/LlmSetupCheckApi.js +269 -0
- package/Types/Telemetry/LlmSetupCheckApi.mjs +11 -0
- package/Types/Telemetry/LlmUsageApi.d.mts +49 -0
- package/Types/Telemetry/LlmUsageApi.d.ts +49 -0
- package/Types/Telemetry/LlmUsageApi.js +131 -0
- package/Types/Telemetry/LlmUsageApi.mjs +10 -0
- package/Types/Telemetry/ScrubRule.js +2 -1
- package/Types/Telemetry/TelemetryIngestRefusal.d.mts +23 -0
- package/Types/Telemetry/TelemetryIngestRefusal.d.ts +23 -0
- package/Types/Telemetry/TelemetryIngestRefusal.js +81 -0
- package/Types/Telemetry/TelemetryIngestRefusal.mjs +7 -0
- package/Types/Telemetry/TelemetryIngestionBudget.d.mts +160 -0
- package/Types/Telemetry/TelemetryIngestionBudget.d.ts +160 -0
- package/Types/Telemetry/TelemetryIngestionBudget.js +600 -0
- package/Types/Telemetry/TelemetryIngestionBudget.mjs +52 -0
- package/Types/Telemetry/TelemetryIngestionBudgetMetricType.d.mts +7 -0
- package/Types/Telemetry/TelemetryIngestionBudgetMetricType.d.ts +7 -0
- package/Types/Telemetry/TelemetryIngestionBudgetMetricType.js +50 -0
- package/Types/Telemetry/TelemetryIngestionBudgetMetricType.mjs +2 -0
- package/Types/Telemetry/TelemetryIngestionKeyPolicy.d.mts +2 -0
- package/Types/Telemetry/TelemetryIngestionKeyPolicy.d.ts +2 -0
- package/Types/Telemetry/TelemetryQuery.d.mts +3 -0
- package/Types/Telemetry/TelemetryQuery.d.ts +3 -0
- package/Types/Telemetry/TelemetryUsage.d.mts +79 -0
- package/Types/Telemetry/TelemetryUsage.d.ts +79 -0
- package/Types/Telemetry/TelemetryUsage.js +176 -0
- package/Types/Telemetry/TelemetryUsage.mjs +22 -0
- package/Types/Trace/TraceScrubPatternType.js +2 -1
- package/Types/Translator.d.mts +6 -0
- package/Types/Translator.d.ts +6 -0
- package/Types/Translator.js +113 -12
- package/Types/Translator.mjs +6 -0
- package/Types/UserLanguage.d.mts +7 -0
- package/Types/UserLanguage.d.ts +7 -0
- package/Types/UserLanguage.js +78 -0
- package/Types/UserLanguage.mjs +5 -0
- package/Types/Workflow/Components/OnCall.js +28 -1
- package/Types/Workflow/Components/OnCallPageSettings.d.mts +3 -0
- package/Types/Workflow/Components/OnCallPageSettings.d.ts +3 -0
- package/Types/Workflow/Components/OnCallPageSettings.js +25 -0
- package/Types/Workflow/Components/OnCallPageSettings.mjs +1 -0
- package/Types/Workflow/WorkflowDraft.d.mts +2 -0
- package/Types/Workflow/WorkflowDraft.d.ts +2 -0
- package/Types/Workflow/WorkflowDraft.js +32 -23
- package/Types/Workflow/WorkflowDraft.mjs +1 -0
- package/Types/Workflow/WorkflowDraftProposedOnKey.d.mts +1 -0
- package/Types/Workflow/WorkflowDraftProposedOnKey.d.ts +1 -0
- package/Types/Workflow/WorkflowDraftProposedOnKey.js +11 -0
- package/Types/Workflow/WorkflowDraftProposedOnKey.mjs +2 -0
- package/Types/Workflow/WorkflowDraftRebase.d.mts +74 -0
- package/Types/Workflow/WorkflowDraftRebase.d.ts +74 -0
- package/Types/Workflow/WorkflowDraftRebase.js +447 -0
- package/Types/Workflow/WorkflowDraftRebase.mjs +9 -0
- package/Types/Workflow/WorkflowDraftSeen.d.mts +39 -0
- package/Types/Workflow/WorkflowDraftSeen.d.ts +39 -0
- package/Types/Workflow/WorkflowDraftSeen.js +161 -0
- package/Types/Workflow/WorkflowDraftSeen.mjs +6 -0
- package/Types/Workflow/WorkflowGraphRevision.d.mts +2 -0
- package/Types/Workflow/WorkflowGraphRevision.d.ts +2 -0
- package/Types/Workflow/WorkflowGraphRevision.js +45 -0
- package/Types/Workflow/WorkflowGraphRevision.mjs +3 -0
- package/Types/Workflow/WorkflowVersion.d.mts +11 -0
- package/Types/Workflow/WorkflowVersion.d.ts +11 -0
- package/Types/Workflow/WorkflowVersion.js +63 -0
- package/Types/Workflow/WorkflowVersion.mjs +7 -0
- package/Utils/AI/InvestigationImpactNumbers.d.mts +33 -0
- package/Utils/AI/InvestigationImpactNumbers.d.ts +33 -0
- package/Utils/AI/InvestigationImpactNumbers.js +307 -0
- package/Utils/AI/InvestigationImpactNumbers.mjs +9 -0
- package/Utils/AI/InvestigationReport.d.mts +14 -0
- package/Utils/AI/InvestigationReport.d.ts +14 -0
- package/Utils/AI/InvestigationReport.js +136 -3
- package/Utils/AI/InvestigationReport.mjs +4 -0
- package/Utils/AiRemediation/CloudChangeWords.js +6 -0
- package/Utils/AiRemediation/DeclaredCodeChange.d.mts +106 -0
- package/Utils/AiRemediation/DeclaredCodeChange.d.ts +106 -0
- package/Utils/AiRemediation/DeclaredCodeChange.js +451 -0
- package/Utils/AiRemediation/DeclaredCodeChange.mjs +16 -0
- package/Utils/AiRemediation/Resource/CloudCommandPolicy.js +4 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.d.mts +1 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.d.ts +1 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.js +144 -11
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.mjs +1 -0
- package/Utils/AuditLog/AuditLogTypedValues.d.mts +23 -0
- package/Utils/AuditLog/AuditLogTypedValues.d.ts +23 -0
- package/Utils/AuditLog/AuditLogTypedValues.js +331 -0
- package/Utils/AuditLog/AuditLogTypedValues.mjs +8 -0
- package/Utils/AuditLog/AuditLogValues.d.mts +25 -0
- package/Utils/AuditLog/AuditLogValues.d.ts +25 -0
- package/Utils/AuditLog/AuditLogValues.js +398 -0
- package/Utils/AuditLog/AuditLogValues.mjs +15 -0
- package/Utils/CronScheduleText.js +2 -2
- package/Utils/Dashboard/DashboardWidgetIds.d.mts +9 -0
- package/Utils/Dashboard/DashboardWidgetIds.d.ts +9 -0
- package/Utils/Dashboard/DashboardWidgetIds.js +136 -0
- package/Utils/Dashboard/DashboardWidgetIds.mjs +4 -0
- package/Utils/Dashboard/DashboardWidgetSorts.js +7 -1
- package/Utils/Dashboard/LabelVariable.js +12 -2
- package/Utils/Dashboard/SloWidgetSource.d.mts +2 -2
- package/Utils/Dashboard/SloWidgetSource.d.ts +2 -2
- package/Utils/Dashboard/SloWidgetSource.js +14 -3
- package/Utils/Dashboard/StoredDashboardViewConfig.d.mts +7 -0
- package/Utils/Dashboard/StoredDashboardViewConfig.d.ts +7 -0
- package/Utils/Dashboard/StoredDashboardViewConfig.js +124 -22
- package/Utils/Episode/EpisodeOpeningThreshold.d.mts +9 -0
- package/Utils/Episode/EpisodeOpeningThreshold.d.ts +9 -0
- package/Utils/Episode/EpisodeOpeningThreshold.js +64 -0
- package/Utils/Episode/EpisodeOpeningThreshold.mjs +7 -0
- package/Utils/LLM/LlmProviderResponseTimeout.d.mts +4 -0
- package/Utils/LLM/LlmProviderResponseTimeout.d.ts +4 -0
- package/Utils/LLM/LlmProviderResponseTimeout.js +24 -0
- package/Utils/LLM/LlmProviderResponseTimeout.mjs +4 -0
- package/Utils/LinearRegExp/PatternWork.d.mts +1 -0
- package/Utils/LinearRegExp/PatternWork.d.ts +1 -0
- package/Utils/LinearRegExp/PatternWork.js +10 -4
- package/Utils/LinearRegExp/PatternWork.mjs +1 -0
- package/Utils/Markdown/Base64Data.d.mts +8 -0
- package/Utils/Markdown/Base64Data.d.ts +8 -0
- package/Utils/Markdown/Base64Data.js +130 -0
- package/Utils/Markdown/Base64Data.mjs +4 -0
- package/Utils/Metrics/MetricExplorerUrl.d.mts +1 -0
- package/Utils/Metrics/MetricExplorerUrl.d.ts +1 -0
- package/Utils/Metrics/MetricExplorerUrl.js +14 -3
- package/Utils/Metrics/MetricFormulaEvaluator.d.mts +18 -0
- package/Utils/Metrics/MetricFormulaEvaluator.d.ts +18 -0
- package/Utils/Metrics/MetricFormulaEvaluator.js +112 -0
- package/Utils/Metrics/MetricQueryCloudAggregation.d.mts +62 -0
- package/Utils/Metrics/MetricQueryCloudAggregation.d.ts +62 -0
- package/Utils/Metrics/MetricQueryCloudAggregation.js +335 -0
- package/Utils/Metrics/MetricQueryCloudAggregation.mjs +2 -0
- package/Utils/Metrics/MetricQueryServices.d.mts +14 -0
- package/Utils/Metrics/MetricQueryServices.d.ts +14 -0
- package/Utils/Metrics/MetricQueryServices.js +121 -0
- package/Utils/Metrics/MetricQueryServices.mjs +2 -0
- package/Utils/Metrics/MetricWholeWindow.d.mts +11 -0
- package/Utils/Metrics/MetricWholeWindow.d.ts +11 -0
- package/Utils/Metrics/MetricWholeWindow.js +50 -0
- package/Utils/Metrics/MetricWholeWindow.mjs +2 -0
- package/Utils/Monitor/MetricTelemetrySnapshot.d.mts +23 -0
- package/Utils/Monitor/MetricTelemetrySnapshot.d.ts +23 -0
- package/Utils/Monitor/MetricTelemetrySnapshot.js +154 -0
- package/Utils/Monitor/MetricTelemetrySnapshot.mjs +2 -0
- package/Utils/Monitor/MonitorAutoResolveTemplates.d.mts +13 -0
- package/Utils/Monitor/MonitorAutoResolveTemplates.d.ts +13 -0
- package/Utils/Monitor/MonitorAutoResolveTemplates.js +59 -0
- package/Utils/Monitor/MonitorAutoResolveTemplates.mjs +2 -0
- package/Utils/Monitor/MonitorEvaluationDetailsUtil.d.mts +8 -0
- package/Utils/Monitor/MonitorEvaluationDetailsUtil.d.ts +8 -0
- package/Utils/Monitor/MonitorEvaluationDetailsUtil.js +81 -0
- package/Utils/Monitor/MonitorEvaluationDetailsUtil.mjs +2 -0
- package/Utils/Monitor/MonitorGroupMonitoring.d.mts +25 -0
- package/Utils/Monitor/MonitorGroupMonitoring.d.ts +25 -0
- package/Utils/Monitor/MonitorGroupMonitoring.js +78 -0
- package/Utils/Monitor/MonitorGroupMonitoring.mjs +3 -0
- package/Utils/Monitor/MonitorOverviewFamily.d.mts +2 -1
- package/Utils/Monitor/MonitorOverviewFamily.d.ts +2 -1
- package/Utils/Monitor/MonitorOverviewFamily.js +35 -3
- package/Utils/Monitor/MonitorOverviewPresentationUtil.d.mts +1 -0
- package/Utils/Monitor/MonitorOverviewPresentationUtil.d.ts +1 -0
- package/Utils/Monitor/MonitorOverviewPresentationUtil.js +5 -0
- package/Utils/Monitor/MonitorStepMetricQueries.d.mts +61 -0
- package/Utils/Monitor/MonitorStepMetricQueries.d.ts +61 -0
- package/Utils/Monitor/MonitorStepMetricQueries.js +616 -0
- package/Utils/Monitor/MonitorStepMetricQueries.mjs +6 -0
- package/Utils/Monitor/MonitorStepMetricThresholds.d.mts +62 -0
- package/Utils/Monitor/MonitorStepMetricThresholds.d.ts +62 -0
- package/Utils/Monitor/MonitorStepMetricThresholds.js +415 -0
- package/Utils/Monitor/MonitorStepMetricThresholds.mjs +4 -0
- package/Utils/Monitor/NetworkTopologyUtil.d.mts +1 -0
- package/Utils/Monitor/NetworkTopologyUtil.d.ts +1 -0
- package/Utils/Monitor/NetworkTopologyUtil.js +27 -7
- package/Utils/Monitor/NetworkTopologyUtil.mjs +1 -0
- package/Utils/Monitor/NotOperationalMonitorQuery.d.mts +5 -0
- package/Utils/Monitor/NotOperationalMonitorQuery.d.ts +5 -0
- package/Utils/Monitor/NotOperationalMonitorQuery.js +37 -0
- package/Utils/Monitor/NotOperationalMonitorQuery.mjs +2 -0
- package/Utils/NameBreaks.js +44 -12
- package/Utils/NetworkDevice/DeviceNameLikeness.d.mts +33 -0
- package/Utils/NetworkDevice/DeviceNameLikeness.d.ts +33 -0
- package/Utils/NetworkDevice/DeviceNameLikeness.js +279 -0
- package/Utils/NetworkDevice/DeviceNameLikeness.mjs +14 -0
- package/Utils/NetworkDevice/DiscoveredDeviceIdentity.d.mts +13 -0
- package/Utils/NetworkDevice/DiscoveredDeviceIdentity.d.ts +13 -0
- package/Utils/NetworkDevice/DiscoveredDeviceIdentity.js +104 -0
- package/Utils/NetworkDevice/DiscoveredDeviceIdentity.mjs +6 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.d.mts +12 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.d.ts +12 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.js +92 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.mjs +3 -0
- package/Utils/Project/ProjectBilling.d.mts +1 -0
- package/Utils/Project/ProjectBilling.d.ts +1 -0
- package/Utils/Project/ProjectBilling.js +27 -3
- package/Utils/Project/ProjectBilling.mjs +1 -0
- package/Utils/Rum/SessionReplayFrustrationSettingsValidation.d.mts +9 -0
- package/Utils/Rum/SessionReplayFrustrationSettingsValidation.d.ts +9 -0
- package/Utils/Rum/SessionReplayFrustrationSettingsValidation.js +337 -0
- package/Utils/Rum/SessionReplayFrustrationSettingsValidation.mjs +5 -0
- package/Utils/Rum/UserFlow.js +6 -2
- package/Utils/Runbook/RunbookStepExecutionChanges.d.mts +32 -0
- package/Utils/Runbook/RunbookStepExecutionChanges.d.ts +32 -0
- package/Utils/Runbook/RunbookStepExecutionChanges.js +264 -0
- package/Utils/Runbook/RunbookStepExecutionChanges.mjs +11 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.d.mts +5 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.d.ts +5 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.js +10 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.mjs +1 -0
- package/Utils/SecurityCase/SecurityConnectionMatch.d.mts +1 -0
- package/Utils/SecurityCase/SecurityConnectionMatch.d.ts +1 -0
- package/Utils/SecurityCase/SecurityConnectionMatch.js +33 -0
- package/Utils/SecurityCase/SecurityConnectionMatch.mjs +1 -0
- package/Utils/SecurityEvent/LogParsers/DatabaseServerLogLine.d.mts +5 -0
- package/Utils/SecurityEvent/LogParsers/DatabaseServerLogLine.d.ts +5 -0
- package/Utils/SecurityEvent/LogParsers/DatabaseServerLogLine.js +458 -0
- package/Utils/SecurityEvent/LogParsers/DatabaseServerLogLine.mjs +6 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.mts +1 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.ts +1 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.js +30 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.mjs +1 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogParser.js +9 -0
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.d.mts +3 -0
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.d.ts +3 -0
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.js +223 -33
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.mjs +3 -0
- package/Utils/SecurityEvent/SecurityScanWords.d.mts +2 -0
- package/Utils/SecurityEvent/SecurityScanWords.d.ts +2 -0
- package/Utils/SecurityEvent/SecurityScanWords.js +122 -0
- package/Utils/SecurityEvent/SecurityScanWords.mjs +3 -0
- package/Utils/Slo/SloBulkRecommendedBurnRateRules.d.mts +42 -0
- package/Utils/Slo/SloBulkRecommendedBurnRateRules.d.ts +42 -0
- package/Utils/Slo/SloBulkRecommendedBurnRateRules.js +207 -0
- package/Utils/Slo/SloBulkRecommendedBurnRateRules.mjs +10 -0
- package/Utils/Slo/SloBurnRateTemplate.d.mts +23 -3
- package/Utils/Slo/SloBurnRateTemplate.d.ts +23 -3
- package/Utils/Slo/SloBurnRateTemplate.js +96 -17
- package/Utils/Slo/SloBurnRateTemplate.mjs +6 -0
- package/Utils/Slo/SloErrorBudgetPolicy.d.mts +99 -0
- package/Utils/Slo/SloErrorBudgetPolicy.d.ts +99 -0
- package/Utils/Slo/SloErrorBudgetPolicy.js +398 -0
- package/Utils/Slo/SloErrorBudgetPolicy.mjs +25 -0
- package/Utils/Slo/SloEvaluation.d.mts +22 -0
- package/Utils/Slo/SloEvaluation.d.ts +22 -0
- package/Utils/Slo/SloEvaluation.js +43 -1
- package/Utils/Slo/SloEvaluation.mjs +4 -0
- package/Utils/Slo/SloFeedMarkdown.d.mts +27 -0
- package/Utils/Slo/SloFeedMarkdown.d.ts +27 -0
- package/Utils/Slo/SloFeedMarkdown.js +118 -3
- package/Utils/Slo/SloFeedMarkdown.mjs +2 -0
- package/Utils/Slo/SloRecommendedBurnRateRules.d.mts +73 -0
- package/Utils/Slo/SloRecommendedBurnRateRules.d.ts +73 -0
- package/Utils/Slo/SloRecommendedBurnRateRules.js +348 -0
- package/Utils/Slo/SloRecommendedBurnRateRules.mjs +28 -0
- package/Utils/Slo/SloRecordOutputColumns.d.mts +25 -0
- package/Utils/Slo/SloRecordOutputColumns.d.ts +25 -0
- package/Utils/Slo/SloRecordOutputColumns.js +87 -0
- package/Utils/Slo/SloRecordOutputColumns.mjs +9 -0
- package/Utils/Slo/SloStatusColor.d.mts +6 -0
- package/Utils/Slo/SloStatusColor.d.ts +6 -0
- package/Utils/Slo/SloStatusColor.js +23 -1
- package/Utils/Slo/SloStatusColor.mjs +2 -0
- package/Utils/Slo/SloUtil.d.mts +4 -0
- package/Utils/Slo/SloUtil.d.ts +4 -0
- package/Utils/Slo/SloUtil.js +8 -2
- package/Utils/Sms/OnCallPageSms.d.mts +18 -0
- package/Utils/Sms/OnCallPageSms.d.ts +18 -0
- package/Utils/Sms/OnCallPageSms.js +88 -6
- package/Utils/StatusPage/Report.js +2 -0
- package/Utils/StatusPage/ReportPeriod.d.mts +4 -4
- package/Utils/StatusPage/ReportPeriod.d.ts +4 -4
- package/Utils/StatusPage/ReportPeriod.js +23 -47
- package/Utils/StatusPage/ReportText.d.mts +33 -0
- package/Utils/StatusPage/ReportText.d.ts +33 -0
- package/Utils/StatusPage/ReportText.js +266 -0
- package/Utils/StatusPage/ReportText.mjs +3 -0
- package/Utils/Telemetry/CloudChangeTitle.d.mts +37 -0
- package/Utils/Telemetry/CloudChangeTitle.d.ts +37 -0
- package/Utils/Telemetry/CloudChangeTitle.js +315 -3
- package/Utils/Telemetry/CloudChangeTitle.mjs +13 -0
- package/Utils/Telemetry/CloudHealthDescription.d.mts +53 -0
- package/Utils/Telemetry/CloudHealthDescription.d.ts +53 -0
- package/Utils/Telemetry/CloudHealthDescription.js +310 -0
- package/Utils/Telemetry/CloudHealthDescription.mjs +13 -0
- package/Utils/Telemetry/LlmCallCounting.d.mts +30 -0
- package/Utils/Telemetry/LlmCallCounting.d.ts +30 -0
- package/Utils/Telemetry/LlmCallCounting.js +109 -0
- package/Utils/Telemetry/LlmCallCounting.mjs +2 -0
- package/Utils/Telemetry/LlmConversationTranscript.js +12 -6
- package/Utils/Telemetry/LlmLogEvents.d.mts +45 -0
- package/Utils/Telemetry/LlmLogEvents.d.ts +45 -0
- package/Utils/Telemetry/LlmLogEvents.js +613 -0
- package/Utils/Telemetry/LlmLogEvents.mjs +4 -0
- package/Utils/Telemetry/LlmMessageParser.d.mts +1 -0
- package/Utils/Telemetry/LlmMessageParser.d.ts +1 -0
- package/Utils/Telemetry/LlmMessageParser.js +60 -2
- package/Utils/Telemetry/LlmMetricUsage.d.mts +27 -0
- package/Utils/Telemetry/LlmMetricUsage.d.ts +27 -0
- package/Utils/Telemetry/LlmMetricUsage.js +189 -0
- package/Utils/Telemetry/LlmMetricUsage.mjs +2 -0
- package/Utils/Telemetry/LlmUsage.d.mts +51 -0
- package/Utils/Telemetry/LlmUsage.d.ts +51 -0
- package/Utils/Telemetry/LlmUsage.js +266 -0
- package/Utils/Telemetry/LlmUsage.mjs +3 -0
- package/Utils/Telemetry/ScrubNestedValues.d.mts +14 -0
- package/Utils/Telemetry/ScrubNestedValues.d.ts +14 -0
- package/Utils/Telemetry/ScrubNestedValues.js +302 -0
- package/Utils/Telemetry/ScrubNestedValues.mjs +4 -0
- package/Utils/Telemetry/TelemetryIngestionBudgetMetricType.d.mts +18 -0
- package/Utils/Telemetry/TelemetryIngestionBudgetMetricType.d.ts +18 -0
- package/Utils/Telemetry/TelemetryIngestionBudgetMetricType.js +141 -0
- package/Utils/Telemetry/TelemetryIngestionBudgetMetricType.mjs +9 -0
- package/Utils/Workflow/WorkflowGraphChanges.d.mts +65 -0
- package/Utils/Workflow/WorkflowGraphChanges.d.ts +65 -0
- package/Utils/Workflow/WorkflowGraphChanges.js +530 -0
- package/Utils/Workflow/WorkflowGraphChanges.mjs +8 -0
- package/Utils/Workflow/WorkflowGraphSnapshot.d.mts +12 -0
- package/Utils/Workflow/WorkflowGraphSnapshot.d.ts +12 -0
- package/Utils/Workflow/WorkflowGraphSnapshot.js +214 -0
- package/Utils/Workflow/WorkflowGraphSnapshot.mjs +6 -0
- package/package.json +1 -1
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.MESSAGE_QUEUE_POLLED_RECEIVE_SYSTEMS = exports.MESSAGE_QUEUE_AWS_RPC_SYSTEMS = exports.MESSAGE_QUEUE_AWS_SEND_RPC_METHODS = exports.MESSAGE_QUEUE_RECEIVE_OPERATION = exports.MESSAGE_QUEUE_SEND_OPERATIONS = exports.MESSAGE_QUEUE_BATCH_MESSAGE_COUNT_ATTRIBUTE = exports.MESSAGE_QUEUE_RPC_METHOD_ATTRIBUTE = exports.MESSAGE_QUEUE_LEGACY_OPERATION_ATTRIBUTE = exports.MESSAGE_QUEUE_OPERATION_TYPE_ATTRIBUTE = exports.MESSAGE_QUEUE_MILLISECONDS_PER_NANOSECOND = exports.MESSAGE_QUEUE_SERVICE_LIMIT = exports.MESSAGE_QUEUE_CLIENT_SPAN_KIND = exports.MESSAGE_QUEUE_CONSUME_SPAN_KIND = exports.MESSAGE_QUEUE_PUBLISH_SPAN_KIND = void 0;
|
|
7
|
+
exports.isMessageQueuePolledReceiveSystem = isMessageQueuePolledReceiveSystem;
|
|
8
|
+
exports.isMessageQueueAwsRpcSystem = isMessageQueueAwsRpcSystem;
|
|
9
|
+
exports.getMessageQueueSpanPopulationFilter = getMessageQueueSpanPopulationFilter;
|
|
10
|
+
exports.emptyMessageQueueServiceSpanFigures = emptyMessageQueueServiceSpanFigures;
|
|
11
|
+
exports.combineMessageQueueProducerServices = combineMessageQueueProducerServices;
|
|
12
|
+
exports.combineMessageQueueConsumerServices = combineMessageQueueConsumerServices;
|
|
13
|
+
exports.isMessageQueueSpanPopulationRead = isMessageQueueSpanPopulationRead;
|
|
14
|
+
const Span_1 = require("../../Models/AnalyticsModels/Span");
|
|
15
|
+
const GreaterThan_1 = __importDefault(require("../BaseDatabase/GreaterThan"));
|
|
16
|
+
const Includes_1 = __importDefault(require("../BaseDatabase/Includes"));
|
|
17
|
+
const IncludesNone_1 = __importDefault(require("../BaseDatabase/IncludesNone"));
|
|
18
|
+
const MessagingSystem_1 = require("./MessagingSystem");
|
|
19
|
+
/*
|
|
20
|
+
* WHICH OF A QUEUE'S SPANS ARE PUBLISHES AND WHICH ARE CONSUMES, and how a
|
|
21
|
+
* service's spans of each kind make its row on either side of the queue.
|
|
22
|
+
*
|
|
23
|
+
* One definition for every reader of a queue's spans: the queue's Overview
|
|
24
|
+
* (Dashboard Components/MessageQueue/MessageQueueTelemetryQueries, which
|
|
25
|
+
* sends each group as an aggregate query) and the Queues topology
|
|
26
|
+
* (Server/Utils/Telemetry/MessageQueueTopology, which compiles the very same
|
|
27
|
+
* groups into one ClickHouse read over every queue of the project). Both
|
|
28
|
+
* compile these filters through the same query builder, so a queue's
|
|
29
|
+
* Producers and Consumers cards and its lines on the topology count exactly
|
|
30
|
+
* the same spans. Pure and isomorphic.
|
|
31
|
+
*
|
|
32
|
+
* Spans are told apart by kind AND by the operation they record: PRODUCER
|
|
33
|
+
* spans are publishes, and so are the CLIENT spans that record a send — the
|
|
34
|
+
* Azure SDKs time their sends there and make a zero-length PRODUCER span per
|
|
35
|
+
* message, and some AWS SDK instrumentations record publishes only that way;
|
|
36
|
+
* CONSUMER spans are deliveries and processing, less the receives that
|
|
37
|
+
* returned nothing and, on SQS, the receive calls, which time a long poll
|
|
38
|
+
* rather than any work. Every such filter is one conjunction on top of the
|
|
39
|
+
* queue's key, and every one reads an attribute the resolver's direction rule
|
|
40
|
+
* reads, or the batch size.
|
|
41
|
+
*/
|
|
42
|
+
// A publish, as most messaging instrumentations mark it.
|
|
43
|
+
exports.MESSAGE_QUEUE_PUBLISH_SPAN_KIND = Span_1.SpanKind.Producer;
|
|
44
|
+
// A delivery / processing of a message.
|
|
45
|
+
exports.MESSAGE_QUEUE_CONSUME_SPAN_KIND = Span_1.SpanKind.Consumer;
|
|
46
|
+
// The kind of a span that calls the broker: a send, a receive, a settlement.
|
|
47
|
+
exports.MESSAGE_QUEUE_CLIENT_SPAN_KIND = Span_1.SpanKind.Client;
|
|
48
|
+
// How many services each of the Producers / Consumers cards lists.
|
|
49
|
+
exports.MESSAGE_QUEUE_SERVICE_LIMIT = 10;
|
|
50
|
+
/*
|
|
51
|
+
* What a span duration (durationUnixNano) is multiplied by to read it in
|
|
52
|
+
* milliseconds. Every p95 of a queue's spans is scaled by it - the cards',
|
|
53
|
+
* the tiles' and the topology's - and always multiplied by it, never divided
|
|
54
|
+
* by a million: the two differ in the last bit for about a third of the
|
|
55
|
+
* values ClickHouse's interpolated quantile gives, and a line on the map
|
|
56
|
+
* says what its row on the card says to the last bit.
|
|
57
|
+
*/
|
|
58
|
+
exports.MESSAGE_QUEUE_MILLISECONDS_PER_NANOSECOND = 1 / 1000000;
|
|
59
|
+
// ---- which spans are which ---------------------------------------------------
|
|
60
|
+
/*
|
|
61
|
+
* The span attributes the Overview reads an operation from: the keys the
|
|
62
|
+
* resolver's direction rule reads (MESSAGING_DIRECTION_ATTRIBUTES:
|
|
63
|
+
* `messaging.operation.type` since semconv 1.26, the older
|
|
64
|
+
* `messaging.operation`, and for SQS / SNS the AWS SDK operation in
|
|
65
|
+
* `rpc.method`), and the number of messages a batch operation moved.
|
|
66
|
+
* Values are matched as instrumentations write them: semconv's operation
|
|
67
|
+
* types in lowercase, the AWS operations in the SDK's own spelling.
|
|
68
|
+
*/
|
|
69
|
+
exports.MESSAGE_QUEUE_OPERATION_TYPE_ATTRIBUTE = "messaging.operation.type";
|
|
70
|
+
exports.MESSAGE_QUEUE_LEGACY_OPERATION_ATTRIBUTE = "messaging.operation";
|
|
71
|
+
exports.MESSAGE_QUEUE_RPC_METHOD_ATTRIBUTE = "rpc.method";
|
|
72
|
+
exports.MESSAGE_QUEUE_BATCH_MESSAGE_COUNT_ATTRIBUTE = "messaging.batch.message_count";
|
|
73
|
+
/*
|
|
74
|
+
* The operations a client span records a publish with: "send" (semconv
|
|
75
|
+
* 1.28 and later) and "publish" (before, and still the Azure SDKs'
|
|
76
|
+
* `messaging.operation`). "" stands for the key being absent — ClickHouse
|
|
77
|
+
* reads a missing map key as "" — so either key may be the one set.
|
|
78
|
+
*/
|
|
79
|
+
exports.MESSAGE_QUEUE_SEND_OPERATIONS = [
|
|
80
|
+
"publish",
|
|
81
|
+
"send",
|
|
82
|
+
];
|
|
83
|
+
/*
|
|
84
|
+
* A receive: a consumer asking the broker for messages. What that span
|
|
85
|
+
* measures depends on who records it: SQS's is a ReceiveMessage call.
|
|
86
|
+
*/
|
|
87
|
+
exports.MESSAGE_QUEUE_RECEIVE_OPERATION = "receive";
|
|
88
|
+
/*
|
|
89
|
+
* The AWS SDK operations that publish, as `rpc.method` spells them: the
|
|
90
|
+
* Java agent and botocore write the operation, Go's otelaws prefixes it
|
|
91
|
+
* with the service. The resolver reads them (lowercased) only on SQS and
|
|
92
|
+
* SNS spans, and so does the Overview.
|
|
93
|
+
*/
|
|
94
|
+
exports.MESSAGE_QUEUE_AWS_SEND_RPC_METHODS = [
|
|
95
|
+
"SendMessage",
|
|
96
|
+
"SendMessageBatch",
|
|
97
|
+
"Publish",
|
|
98
|
+
"PublishBatch",
|
|
99
|
+
"SQS/SendMessage",
|
|
100
|
+
"SQS/SendMessageBatch",
|
|
101
|
+
"SNS/Publish",
|
|
102
|
+
"SNS/PublishBatch",
|
|
103
|
+
];
|
|
104
|
+
// The systems whose spans name a publish only by the AWS SDK operation.
|
|
105
|
+
exports.MESSAGE_QUEUE_AWS_RPC_SYSTEMS = [
|
|
106
|
+
"aws_sqs",
|
|
107
|
+
"aws.sns",
|
|
108
|
+
];
|
|
109
|
+
/*
|
|
110
|
+
* The systems whose consumer RECEIVE spans always wrap a call that asks the
|
|
111
|
+
* broker for messages — and so time the wait, not the work. Amazon SQS's
|
|
112
|
+
* ReceiveMessage long-polls for up to 20 seconds and may return nothing:
|
|
113
|
+
* boto3sqs and Node's instrumentation-aws-sdk before 0.58 record every call
|
|
114
|
+
* as a CONSUMER `receive` span, empty ones included, and a CONSUMER
|
|
115
|
+
* `process` span per message on top; the Java agent records the receive
|
|
116
|
+
* (when it returned messages) and a `process` span per message; Node's
|
|
117
|
+
* 0.58 and later record only the receive, with the number of messages it
|
|
118
|
+
* returned in messaging.batch.message_count. So on an SQS queue the
|
|
119
|
+
* `process` spans are the messages consumed and processed, and a receive
|
|
120
|
+
* counts only when it says it returned messages — once, as one batch.
|
|
121
|
+
* Elsewhere a CONSUMER `receive` span can be a delivery (pika and aio-pika
|
|
122
|
+
* record each pushed message that way) and stays in.
|
|
123
|
+
*/
|
|
124
|
+
exports.MESSAGE_QUEUE_POLLED_RECEIVE_SYSTEMS = [
|
|
125
|
+
"aws_sqs",
|
|
126
|
+
];
|
|
127
|
+
function canonicalSystemOf(system) {
|
|
128
|
+
var _a;
|
|
129
|
+
return ((_a = (0, MessagingSystem_1.getMessagingSystemDescriptor)(system)) === null || _a === void 0 ? void 0 : _a.system) || "";
|
|
130
|
+
}
|
|
131
|
+
/** Whether a system's receive spans are polls (see the list above). */
|
|
132
|
+
function isMessageQueuePolledReceiveSystem(system) {
|
|
133
|
+
return exports.MESSAGE_QUEUE_POLLED_RECEIVE_SYSTEMS.includes(canonicalSystemOf(system));
|
|
134
|
+
}
|
|
135
|
+
/** Whether a system's spans can name a publish by its AWS SDK operation. */
|
|
136
|
+
function isMessageQueueAwsRpcSystem(system) {
|
|
137
|
+
return exports.MESSAGE_QUEUE_AWS_RPC_SYSTEMS.includes(canonicalSystemOf(system));
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* The column and attribute filters of one group of a queue's spans, for the
|
|
141
|
+
* queue's SPECIFIC system (SQS reads its receive spans apart): a fragment of
|
|
142
|
+
* a Span query, put on top of the queue's key by whoever reads it. "all" is
|
|
143
|
+
* no filter at all.
|
|
144
|
+
*/
|
|
145
|
+
function getMessageQueueSpanPopulationFilter(population, system) {
|
|
146
|
+
const sendOrAbsent = [...exports.MESSAGE_QUEUE_SEND_OPERATIONS, ""];
|
|
147
|
+
switch (population) {
|
|
148
|
+
case "publish":
|
|
149
|
+
return { kind: exports.MESSAGE_QUEUE_PUBLISH_SPAN_KIND };
|
|
150
|
+
case "send":
|
|
151
|
+
return {
|
|
152
|
+
kind: exports.MESSAGE_QUEUE_CLIENT_SPAN_KIND,
|
|
153
|
+
attributes: {
|
|
154
|
+
[exports.MESSAGE_QUEUE_OPERATION_TYPE_ATTRIBUTE]: new Includes_1.default([
|
|
155
|
+
...sendOrAbsent,
|
|
156
|
+
]),
|
|
157
|
+
[exports.MESSAGE_QUEUE_LEGACY_OPERATION_ATTRIBUTE]: new Includes_1.default([
|
|
158
|
+
...sendOrAbsent,
|
|
159
|
+
]),
|
|
160
|
+
},
|
|
161
|
+
attributeKeys: new Includes_1.default([
|
|
162
|
+
exports.MESSAGE_QUEUE_OPERATION_TYPE_ATTRIBUTE,
|
|
163
|
+
exports.MESSAGE_QUEUE_LEGACY_OPERATION_ATTRIBUTE,
|
|
164
|
+
]),
|
|
165
|
+
};
|
|
166
|
+
case "awsSend":
|
|
167
|
+
return {
|
|
168
|
+
kind: exports.MESSAGE_QUEUE_CLIENT_SPAN_KIND,
|
|
169
|
+
attributes: {
|
|
170
|
+
[exports.MESSAGE_QUEUE_OPERATION_TYPE_ATTRIBUTE]: "",
|
|
171
|
+
[exports.MESSAGE_QUEUE_LEGACY_OPERATION_ATTRIBUTE]: "",
|
|
172
|
+
[exports.MESSAGE_QUEUE_RPC_METHOD_ATTRIBUTE]: new Includes_1.default([
|
|
173
|
+
...exports.MESSAGE_QUEUE_AWS_SEND_RPC_METHODS,
|
|
174
|
+
]),
|
|
175
|
+
},
|
|
176
|
+
};
|
|
177
|
+
case "consume": {
|
|
178
|
+
const attributes = {
|
|
179
|
+
[exports.MESSAGE_QUEUE_BATCH_MESSAGE_COUNT_ATTRIBUTE]: new IncludesNone_1.default(["0"]),
|
|
180
|
+
};
|
|
181
|
+
if (isMessageQueuePolledReceiveSystem(system)) {
|
|
182
|
+
attributes[exports.MESSAGE_QUEUE_OPERATION_TYPE_ATTRIBUTE] = new IncludesNone_1.default([
|
|
183
|
+
exports.MESSAGE_QUEUE_RECEIVE_OPERATION,
|
|
184
|
+
]);
|
|
185
|
+
attributes[exports.MESSAGE_QUEUE_LEGACY_OPERATION_ATTRIBUTE] = new IncludesNone_1.default([exports.MESSAGE_QUEUE_RECEIVE_OPERATION]);
|
|
186
|
+
}
|
|
187
|
+
return { kind: exports.MESSAGE_QUEUE_CONSUME_SPAN_KIND, attributes: attributes };
|
|
188
|
+
}
|
|
189
|
+
case "receivedBatch":
|
|
190
|
+
return {
|
|
191
|
+
kind: exports.MESSAGE_QUEUE_CONSUME_SPAN_KIND,
|
|
192
|
+
attributes: {
|
|
193
|
+
[exports.MESSAGE_QUEUE_OPERATION_TYPE_ATTRIBUTE]: exports.MESSAGE_QUEUE_RECEIVE_OPERATION,
|
|
194
|
+
[exports.MESSAGE_QUEUE_BATCH_MESSAGE_COUNT_ATTRIBUTE]: new GreaterThan_1.default(0),
|
|
195
|
+
},
|
|
196
|
+
};
|
|
197
|
+
default:
|
|
198
|
+
return {};
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
function emptyMessageQueueServiceSpanFigures() {
|
|
202
|
+
return { counts: new Map(), errors: new Map(), p95Ms: new Map() };
|
|
203
|
+
}
|
|
204
|
+
function sortedServiceRows(rows, limit) {
|
|
205
|
+
const busy = rows.filter((row) => {
|
|
206
|
+
return row.calls > 0;
|
|
207
|
+
});
|
|
208
|
+
busy.sort((a, b) => {
|
|
209
|
+
if (b.calls !== a.calls) {
|
|
210
|
+
return b.calls - a.calls;
|
|
211
|
+
}
|
|
212
|
+
return a.serviceId < b.serviceId ? -1 : a.serviceId > b.serviceId ? 1 : 0;
|
|
213
|
+
});
|
|
214
|
+
return { services: busy.slice(0, limit), total: busy.length };
|
|
215
|
+
}
|
|
216
|
+
function finiteOrNull(value) {
|
|
217
|
+
return typeof value === "number" && Number.isFinite(value) ? value : null;
|
|
218
|
+
}
|
|
219
|
+
/*
|
|
220
|
+
* The cards' limit: a positive limit, whole; anything else the cards'
|
|
221
|
+
* default. The topology asks for every service (Number.POSITIVE_INFINITY,
|
|
222
|
+
* which Math.floor keeps).
|
|
223
|
+
*/
|
|
224
|
+
function limitOf(limit) {
|
|
225
|
+
return typeof limit === "number" && limit > 0
|
|
226
|
+
? Math.floor(limit)
|
|
227
|
+
: exports.MESSAGE_QUEUE_SERVICE_LIMIT;
|
|
228
|
+
}
|
|
229
|
+
function combineMessageQueueProducerServices(data) {
|
|
230
|
+
const ids = new Set(data.producer.counts.keys());
|
|
231
|
+
for (const figures of data.sends) {
|
|
232
|
+
for (const id of figures.counts.keys()) {
|
|
233
|
+
ids.add(id);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
const rows = [];
|
|
237
|
+
const clientOnly = [];
|
|
238
|
+
for (const id of ids) {
|
|
239
|
+
const produced = data.producer.counts.get(id) || 0;
|
|
240
|
+
let sendCount = 0;
|
|
241
|
+
let sendErrors = 0;
|
|
242
|
+
let busiestSends = 0;
|
|
243
|
+
let sendP95 = null;
|
|
244
|
+
for (const figures of data.sends) {
|
|
245
|
+
const count = figures.counts.get(id) || 0;
|
|
246
|
+
if (count <= 0) {
|
|
247
|
+
continue;
|
|
248
|
+
}
|
|
249
|
+
sendCount += count;
|
|
250
|
+
sendErrors += Math.min(figures.errors.get(id) || 0, count);
|
|
251
|
+
if (count > busiestSends) {
|
|
252
|
+
busiestSends = count;
|
|
253
|
+
sendP95 = finiteOrNull(figures.p95Ms.get(id));
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
if (produced <= 0 && sendCount <= 0) {
|
|
257
|
+
continue;
|
|
258
|
+
}
|
|
259
|
+
if (produced <= 0) {
|
|
260
|
+
clientOnly.push({ id: id, sends: sendCount });
|
|
261
|
+
}
|
|
262
|
+
const errors = sendCount > 0
|
|
263
|
+
? sendErrors
|
|
264
|
+
: Math.min(data.producer.errors.get(id) || 0, produced);
|
|
265
|
+
const attempts = sendCount > 0 ? sendCount : produced;
|
|
266
|
+
rows.push({
|
|
267
|
+
serviceId: id,
|
|
268
|
+
calls: produced > 0 ? produced : sendCount,
|
|
269
|
+
errors: errors,
|
|
270
|
+
errorRatePercent: attempts > 0 ? (errors / attempts) * 100 : null,
|
|
271
|
+
p95DurationMs: sendCount > 0 ? sendP95 : finiteOrNull(data.producer.p95Ms.get(id)),
|
|
272
|
+
});
|
|
273
|
+
}
|
|
274
|
+
clientOnly.sort((a, b) => {
|
|
275
|
+
return b.sends - a.sends || (a.id < b.id ? -1 : a.id > b.id ? 1 : 0);
|
|
276
|
+
});
|
|
277
|
+
return Object.assign(Object.assign({}, sortedServiceRows(rows, limitOf(data.limit))), { clientOnlyServiceIds: clientOnly.map((entry) => {
|
|
278
|
+
return entry.id;
|
|
279
|
+
}), clientOnlyPublished: clientOnly.reduce((total, entry) => {
|
|
280
|
+
return total + entry.sends;
|
|
281
|
+
}, 0) });
|
|
282
|
+
}
|
|
283
|
+
/*
|
|
284
|
+
* The Consumers card: a service's messages are its "consume" spans plus,
|
|
285
|
+
* on SQS, its receives that returned messages (one per batch); its
|
|
286
|
+
* failures and p95 processing time are those of its "consume" spans alone
|
|
287
|
+
* — a receive's time is the poll's, and a receive that failed returned no
|
|
288
|
+
* message, so it is in neither group.
|
|
289
|
+
*/
|
|
290
|
+
function combineMessageQueueConsumerServices(data) {
|
|
291
|
+
const batches = data.receivedBatches || emptyMessageQueueServiceSpanFigures();
|
|
292
|
+
const ids = new Set([
|
|
293
|
+
...data.consume.counts.keys(),
|
|
294
|
+
...batches.counts.keys(),
|
|
295
|
+
]);
|
|
296
|
+
const rows = [];
|
|
297
|
+
for (const id of ids) {
|
|
298
|
+
const handled = data.consume.counts.get(id) || 0;
|
|
299
|
+
const received = batches.counts.get(id) || 0;
|
|
300
|
+
const consumed = handled + received;
|
|
301
|
+
const errors = Math.min(data.consume.errors.get(id) || 0, handled);
|
|
302
|
+
rows.push({
|
|
303
|
+
serviceId: id,
|
|
304
|
+
calls: consumed,
|
|
305
|
+
errors: errors,
|
|
306
|
+
errorRatePercent: consumed > 0 ? (errors / consumed) * 100 : null,
|
|
307
|
+
p95DurationMs: handled > 0 ? finiteOrNull(data.consume.p95Ms.get(id)) : null,
|
|
308
|
+
});
|
|
309
|
+
}
|
|
310
|
+
return sortedServiceRows(rows, limitOf(data.limit));
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* Whether a queue of this system reads a group at all: AWS's send
|
|
314
|
+
* operations only on SQS and SNS ("awsSend"), the received batches only
|
|
315
|
+
* where receives are polls ("receivedBatch"), every other group always —
|
|
316
|
+
* what the Overview reads for a queue, and what the topology keeps of it.
|
|
317
|
+
*/
|
|
318
|
+
function isMessageQueueSpanPopulationRead(population, system) {
|
|
319
|
+
if (population === "awsSend") {
|
|
320
|
+
return isMessageQueueAwsRpcSystem(system);
|
|
321
|
+
}
|
|
322
|
+
if (population === "receivedBatch") {
|
|
323
|
+
return isMessageQueuePolledReceiveSystem(system);
|
|
324
|
+
}
|
|
325
|
+
return true;
|
|
326
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import commonJsModule from "./MessageQueueSpanPopulation.js";
|
|
2
|
+
export const MESSAGE_QUEUE_AWS_RPC_SYSTEMS = commonJsModule.MESSAGE_QUEUE_AWS_RPC_SYSTEMS;
|
|
3
|
+
export const MESSAGE_QUEUE_AWS_SEND_RPC_METHODS = commonJsModule.MESSAGE_QUEUE_AWS_SEND_RPC_METHODS;
|
|
4
|
+
export const MESSAGE_QUEUE_BATCH_MESSAGE_COUNT_ATTRIBUTE = commonJsModule.MESSAGE_QUEUE_BATCH_MESSAGE_COUNT_ATTRIBUTE;
|
|
5
|
+
export const MESSAGE_QUEUE_CLIENT_SPAN_KIND = commonJsModule.MESSAGE_QUEUE_CLIENT_SPAN_KIND;
|
|
6
|
+
export const MESSAGE_QUEUE_CONSUME_SPAN_KIND = commonJsModule.MESSAGE_QUEUE_CONSUME_SPAN_KIND;
|
|
7
|
+
export const MESSAGE_QUEUE_LEGACY_OPERATION_ATTRIBUTE = commonJsModule.MESSAGE_QUEUE_LEGACY_OPERATION_ATTRIBUTE;
|
|
8
|
+
export const MESSAGE_QUEUE_MILLISECONDS_PER_NANOSECOND = commonJsModule.MESSAGE_QUEUE_MILLISECONDS_PER_NANOSECOND;
|
|
9
|
+
export const MESSAGE_QUEUE_OPERATION_TYPE_ATTRIBUTE = commonJsModule.MESSAGE_QUEUE_OPERATION_TYPE_ATTRIBUTE;
|
|
10
|
+
export const MESSAGE_QUEUE_POLLED_RECEIVE_SYSTEMS = commonJsModule.MESSAGE_QUEUE_POLLED_RECEIVE_SYSTEMS;
|
|
11
|
+
export const MESSAGE_QUEUE_PUBLISH_SPAN_KIND = commonJsModule.MESSAGE_QUEUE_PUBLISH_SPAN_KIND;
|
|
12
|
+
export const MESSAGE_QUEUE_RECEIVE_OPERATION = commonJsModule.MESSAGE_QUEUE_RECEIVE_OPERATION;
|
|
13
|
+
export const MESSAGE_QUEUE_RPC_METHOD_ATTRIBUTE = commonJsModule.MESSAGE_QUEUE_RPC_METHOD_ATTRIBUTE;
|
|
14
|
+
export const MESSAGE_QUEUE_SEND_OPERATIONS = commonJsModule.MESSAGE_QUEUE_SEND_OPERATIONS;
|
|
15
|
+
export const MESSAGE_QUEUE_SERVICE_LIMIT = commonJsModule.MESSAGE_QUEUE_SERVICE_LIMIT;
|
|
16
|
+
export const combineMessageQueueConsumerServices = commonJsModule.combineMessageQueueConsumerServices;
|
|
17
|
+
export const combineMessageQueueProducerServices = commonJsModule.combineMessageQueueProducerServices;
|
|
18
|
+
export const emptyMessageQueueServiceSpanFigures = commonJsModule.emptyMessageQueueServiceSpanFigures;
|
|
19
|
+
export const getMessageQueueSpanPopulationFilter = commonJsModule.getMessageQueueSpanPopulationFilter;
|
|
20
|
+
export const isMessageQueueAwsRpcSystem = commonJsModule.isMessageQueueAwsRpcSystem;
|
|
21
|
+
export const isMessageQueuePolledReceiveSystem = commonJsModule.isMessageQueuePolledReceiveSystem;
|
|
22
|
+
export const isMessageQueueSpanPopulationRead = commonJsModule.isMessageQueueSpanPopulationRead;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export declare const MESSAGE_QUEUE_TOPOLOGY_API_PATH: string;
|
|
2
|
+
export declare const MESSAGE_QUEUE_TOPOLOGY_MAX_RANGE_MS: number;
|
|
3
|
+
export declare const MESSAGE_QUEUE_TOPOLOGY_MAX_QUEUES: number;
|
|
4
|
+
export declare const MESSAGE_QUEUE_TOPOLOGY_MAX_PAIRS: number;
|
|
5
|
+
export type MessageQueueFlowDirection = "publish" | "consume";
|
|
6
|
+
export interface MessageQueueTopologyQueue {
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
messagingSystem: string;
|
|
10
|
+
destinationName: string;
|
|
11
|
+
brokerScope: string;
|
|
12
|
+
brokerAddress: string;
|
|
13
|
+
queueIdentifier: string;
|
|
14
|
+
discoverySource: string;
|
|
15
|
+
lastSeenAt: string | null;
|
|
16
|
+
brokerMetricsLastSeenAt: string | null;
|
|
17
|
+
spans: number;
|
|
18
|
+
errors: number;
|
|
19
|
+
published: number;
|
|
20
|
+
consumed: number;
|
|
21
|
+
}
|
|
22
|
+
export interface MessageQueueTopologyService {
|
|
23
|
+
id: string;
|
|
24
|
+
name: string;
|
|
25
|
+
}
|
|
26
|
+
export interface MessageQueueTopologyFlow {
|
|
27
|
+
queueId: string;
|
|
28
|
+
serviceId: string;
|
|
29
|
+
direction: MessageQueueFlowDirection;
|
|
30
|
+
messages: number;
|
|
31
|
+
errors: number;
|
|
32
|
+
errorRatePercent: number | null;
|
|
33
|
+
p95DurationMs: number | null;
|
|
34
|
+
}
|
|
35
|
+
export interface MessageQueueTopologyTruncation {
|
|
36
|
+
queues: boolean;
|
|
37
|
+
flows: boolean;
|
|
38
|
+
}
|
|
39
|
+
export interface MessageQueueTopologyResponse {
|
|
40
|
+
startTime: string;
|
|
41
|
+
endTime: string;
|
|
42
|
+
queues: Array<MessageQueueTopologyQueue>;
|
|
43
|
+
services: Array<MessageQueueTopologyService>;
|
|
44
|
+
flows: Array<MessageQueueTopologyFlow>;
|
|
45
|
+
truncation: MessageQueueTopologyTruncation;
|
|
46
|
+
}
|
|
47
|
+
export declare const EMPTY_MESSAGE_QUEUE_TOPOLOGY_TRUNCATION: MessageQueueTopologyTruncation;
|
|
48
|
+
/**
|
|
49
|
+
* The topology an answer holds, read defensively: a queue, service or flow
|
|
50
|
+
* that is not one is left out, a count that is not a number of at least 0
|
|
51
|
+
* reads 0, a queue's failed spans never exceed its spans, an error rate is
|
|
52
|
+
* held to 0-100, and a flow whose queue the answer does not hold is left
|
|
53
|
+
* out (a service it names without listing is added, unnamed). A queue or
|
|
54
|
+
* service listed twice is kept once (the first), and so is a flow. Never
|
|
55
|
+
* throws.
|
|
56
|
+
*/
|
|
57
|
+
export declare function readMessageQueueTopologyResponse(value: unknown): MessageQueueTopologyResponse;
|
|
58
|
+
/** One flow's identity: its service, its queue and its direction. */
|
|
59
|
+
export declare function getMessageQueueTopologyFlowKey(flow: Pick<MessageQueueTopologyFlow, "queueId" | "serviceId" | "direction">): string;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export declare const MESSAGE_QUEUE_TOPOLOGY_API_PATH: string;
|
|
2
|
+
export declare const MESSAGE_QUEUE_TOPOLOGY_MAX_RANGE_MS: number;
|
|
3
|
+
export declare const MESSAGE_QUEUE_TOPOLOGY_MAX_QUEUES: number;
|
|
4
|
+
export declare const MESSAGE_QUEUE_TOPOLOGY_MAX_PAIRS: number;
|
|
5
|
+
export type MessageQueueFlowDirection = "publish" | "consume";
|
|
6
|
+
export interface MessageQueueTopologyQueue {
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
messagingSystem: string;
|
|
10
|
+
destinationName: string;
|
|
11
|
+
brokerScope: string;
|
|
12
|
+
brokerAddress: string;
|
|
13
|
+
queueIdentifier: string;
|
|
14
|
+
discoverySource: string;
|
|
15
|
+
lastSeenAt: string | null;
|
|
16
|
+
brokerMetricsLastSeenAt: string | null;
|
|
17
|
+
spans: number;
|
|
18
|
+
errors: number;
|
|
19
|
+
published: number;
|
|
20
|
+
consumed: number;
|
|
21
|
+
}
|
|
22
|
+
export interface MessageQueueTopologyService {
|
|
23
|
+
id: string;
|
|
24
|
+
name: string;
|
|
25
|
+
}
|
|
26
|
+
export interface MessageQueueTopologyFlow {
|
|
27
|
+
queueId: string;
|
|
28
|
+
serviceId: string;
|
|
29
|
+
direction: MessageQueueFlowDirection;
|
|
30
|
+
messages: number;
|
|
31
|
+
errors: number;
|
|
32
|
+
errorRatePercent: number | null;
|
|
33
|
+
p95DurationMs: number | null;
|
|
34
|
+
}
|
|
35
|
+
export interface MessageQueueTopologyTruncation {
|
|
36
|
+
queues: boolean;
|
|
37
|
+
flows: boolean;
|
|
38
|
+
}
|
|
39
|
+
export interface MessageQueueTopologyResponse {
|
|
40
|
+
startTime: string;
|
|
41
|
+
endTime: string;
|
|
42
|
+
queues: Array<MessageQueueTopologyQueue>;
|
|
43
|
+
services: Array<MessageQueueTopologyService>;
|
|
44
|
+
flows: Array<MessageQueueTopologyFlow>;
|
|
45
|
+
truncation: MessageQueueTopologyTruncation;
|
|
46
|
+
}
|
|
47
|
+
export declare const EMPTY_MESSAGE_QUEUE_TOPOLOGY_TRUNCATION: MessageQueueTopologyTruncation;
|
|
48
|
+
/**
|
|
49
|
+
* The topology an answer holds, read defensively: a queue, service or flow
|
|
50
|
+
* that is not one is left out, a count that is not a number of at least 0
|
|
51
|
+
* reads 0, a queue's failed spans never exceed its spans, an error rate is
|
|
52
|
+
* held to 0-100, and a flow whose queue the answer does not hold is left
|
|
53
|
+
* out (a service it names without listing is added, unnamed). A queue or
|
|
54
|
+
* service listed twice is kept once (the first), and so is a flow. Never
|
|
55
|
+
* throws.
|
|
56
|
+
*/
|
|
57
|
+
export declare function readMessageQueueTopologyResponse(value: unknown): MessageQueueTopologyResponse;
|
|
58
|
+
/** One flow's identity: its service, its queue and its direction. */
|
|
59
|
+
export declare function getMessageQueueTopologyFlowKey(flow: Pick<MessageQueueTopologyFlow, "queueId" | "serviceId" | "direction">): string;
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* THE QUEUES TOPOLOGY'S CONTRACT (POST /api/telemetry/message-queues/topology):
|
|
4
|
+
* how messages flow between a project's services and its queues over a time
|
|
5
|
+
* range — which services publish to each queue, which consume from it, and
|
|
6
|
+
* how many messages each of them moved and how many failed.
|
|
7
|
+
*
|
|
8
|
+
* The server reads it in one pass over the spans that carry a queue's key
|
|
9
|
+
* (Server/Utils/Telemetry/MessageQueueTopology), and counts a service's
|
|
10
|
+
* messages exactly as the queue's Producers and Consumers cards do
|
|
11
|
+
* (Types/MessageQueue/MessageQueueSpanPopulation), so a line on the map and
|
|
12
|
+
* the queue's Overview never disagree. The Dashboard draws it
|
|
13
|
+
* (Components/MessageQueue/Topology). Pure and isomorphic: the decoder
|
|
14
|
+
* below is how the Dashboard reads an answer, and it never throws.
|
|
15
|
+
*/
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.EMPTY_MESSAGE_QUEUE_TOPOLOGY_TRUNCATION = exports.MESSAGE_QUEUE_TOPOLOGY_MAX_PAIRS = exports.MESSAGE_QUEUE_TOPOLOGY_MAX_QUEUES = exports.MESSAGE_QUEUE_TOPOLOGY_MAX_RANGE_MS = exports.MESSAGE_QUEUE_TOPOLOGY_API_PATH = void 0;
|
|
18
|
+
exports.readMessageQueueTopologyResponse = readMessageQueueTopologyResponse;
|
|
19
|
+
exports.getMessageQueueTopologyFlowKey = getMessageQueueTopologyFlowKey;
|
|
20
|
+
exports.MESSAGE_QUEUE_TOPOLOGY_API_PATH = "/telemetry/message-queues/topology";
|
|
21
|
+
/*
|
|
22
|
+
* The widest range the topology reads: the longest a project keeps traces
|
|
23
|
+
* for. A wider one is refused rather than cut, so the map never says less
|
|
24
|
+
* than the range it shows.
|
|
25
|
+
*/
|
|
26
|
+
exports.MESSAGE_QUEUE_TOPOLOGY_MAX_RANGE_MS = 93 * 24 * 60 * 60 * 1000;
|
|
27
|
+
/*
|
|
28
|
+
* The most queues the topology reads: a project's live queues, oldest
|
|
29
|
+
* first beyond this are left out and the answer says so. The Queues list
|
|
30
|
+
* reads pages of the same rows.
|
|
31
|
+
*/
|
|
32
|
+
exports.MESSAGE_QUEUE_TOPOLOGY_MAX_QUEUES = 10000;
|
|
33
|
+
/*
|
|
34
|
+
* The most (queue, service) pairs the one read returns, busiest first. A
|
|
35
|
+
* pair is a service on one queue, so this is far beyond any map a person
|
|
36
|
+
* reads; the answer says when it was reached.
|
|
37
|
+
*/
|
|
38
|
+
exports.MESSAGE_QUEUE_TOPOLOGY_MAX_PAIRS = 50000;
|
|
39
|
+
exports.EMPTY_MESSAGE_QUEUE_TOPOLOGY_TRUNCATION = { queues: false, flows: false };
|
|
40
|
+
// ---- reading an answer ---------------------------------------------------
|
|
41
|
+
function isRecord(value) {
|
|
42
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
43
|
+
}
|
|
44
|
+
function textOf(value) {
|
|
45
|
+
if (typeof value === "string") {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
if (typeof value === "number" && Number.isFinite(value)) {
|
|
49
|
+
return String(value);
|
|
50
|
+
}
|
|
51
|
+
return "";
|
|
52
|
+
}
|
|
53
|
+
// A count: a finite number of at least 0, whole; anything else 0.
|
|
54
|
+
function countOf(value) {
|
|
55
|
+
const number = typeof value === "number"
|
|
56
|
+
? value
|
|
57
|
+
: typeof value === "string" && value.trim()
|
|
58
|
+
? Number(value)
|
|
59
|
+
: Number.NaN;
|
|
60
|
+
return Number.isFinite(number) && number > 0 ? Math.floor(number) : 0;
|
|
61
|
+
}
|
|
62
|
+
// A measurement that may be missing: a finite number of at least 0, or null.
|
|
63
|
+
function measureOf(value) {
|
|
64
|
+
const number = typeof value === "number"
|
|
65
|
+
? value
|
|
66
|
+
: typeof value === "string" && value.trim()
|
|
67
|
+
? Number(value)
|
|
68
|
+
: Number.NaN;
|
|
69
|
+
return Number.isFinite(number) && number >= 0 ? number : null;
|
|
70
|
+
}
|
|
71
|
+
// An ISO date that parses, or null.
|
|
72
|
+
function dateTextOf(value) {
|
|
73
|
+
const text = textOf(value).trim();
|
|
74
|
+
if (!text || !Number.isFinite(Date.parse(text))) {
|
|
75
|
+
return null;
|
|
76
|
+
}
|
|
77
|
+
return text;
|
|
78
|
+
}
|
|
79
|
+
function arrayOf(value) {
|
|
80
|
+
return Array.isArray(value) ? value : [];
|
|
81
|
+
}
|
|
82
|
+
function readQueue(value) {
|
|
83
|
+
if (!isRecord(value)) {
|
|
84
|
+
return null;
|
|
85
|
+
}
|
|
86
|
+
const id = textOf(value["id"]).trim();
|
|
87
|
+
if (!id) {
|
|
88
|
+
return null;
|
|
89
|
+
}
|
|
90
|
+
const spans = countOf(value["spans"]);
|
|
91
|
+
return {
|
|
92
|
+
id: id,
|
|
93
|
+
name: textOf(value["name"]),
|
|
94
|
+
messagingSystem: textOf(value["messagingSystem"]),
|
|
95
|
+
destinationName: textOf(value["destinationName"]),
|
|
96
|
+
brokerScope: textOf(value["brokerScope"]),
|
|
97
|
+
brokerAddress: textOf(value["brokerAddress"]),
|
|
98
|
+
queueIdentifier: textOf(value["queueIdentifier"]),
|
|
99
|
+
discoverySource: textOf(value["discoverySource"]),
|
|
100
|
+
lastSeenAt: dateTextOf(value["lastSeenAt"]),
|
|
101
|
+
brokerMetricsLastSeenAt: dateTextOf(value["brokerMetricsLastSeenAt"]),
|
|
102
|
+
spans: spans,
|
|
103
|
+
// The failed spans are some of the spans.
|
|
104
|
+
errors: Math.min(countOf(value["errors"]), spans),
|
|
105
|
+
published: countOf(value["published"]),
|
|
106
|
+
consumed: countOf(value["consumed"]),
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
function readService(value) {
|
|
110
|
+
if (!isRecord(value)) {
|
|
111
|
+
return null;
|
|
112
|
+
}
|
|
113
|
+
const id = textOf(value["id"]).trim();
|
|
114
|
+
if (!id) {
|
|
115
|
+
return null;
|
|
116
|
+
}
|
|
117
|
+
return { id: id, name: textOf(value["name"]) };
|
|
118
|
+
}
|
|
119
|
+
function readFlow(value) {
|
|
120
|
+
if (!isRecord(value)) {
|
|
121
|
+
return null;
|
|
122
|
+
}
|
|
123
|
+
const queueId = textOf(value["queueId"]).trim();
|
|
124
|
+
const serviceId = textOf(value["serviceId"]).trim();
|
|
125
|
+
const direction = value["direction"];
|
|
126
|
+
if (!queueId ||
|
|
127
|
+
!serviceId ||
|
|
128
|
+
(direction !== "publish" && direction !== "consume")) {
|
|
129
|
+
return null;
|
|
130
|
+
}
|
|
131
|
+
const messages = countOf(value["messages"]);
|
|
132
|
+
if (messages <= 0) {
|
|
133
|
+
return null;
|
|
134
|
+
}
|
|
135
|
+
const rate = measureOf(value["errorRatePercent"]);
|
|
136
|
+
return {
|
|
137
|
+
queueId: queueId,
|
|
138
|
+
serviceId: serviceId,
|
|
139
|
+
direction: direction,
|
|
140
|
+
messages: messages,
|
|
141
|
+
errors: countOf(value["errors"]),
|
|
142
|
+
errorRatePercent: rate === null ? null : Math.min(rate, 100),
|
|
143
|
+
p95DurationMs: measureOf(value["p95DurationMs"]),
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* The topology an answer holds, read defensively: a queue, service or flow
|
|
148
|
+
* that is not one is left out, a count that is not a number of at least 0
|
|
149
|
+
* reads 0, a queue's failed spans never exceed its spans, an error rate is
|
|
150
|
+
* held to 0-100, and a flow whose queue the answer does not hold is left
|
|
151
|
+
* out (a service it names without listing is added, unnamed). A queue or
|
|
152
|
+
* service listed twice is kept once (the first), and so is a flow. Never
|
|
153
|
+
* throws.
|
|
154
|
+
*/
|
|
155
|
+
function readMessageQueueTopologyResponse(value) {
|
|
156
|
+
const body = isRecord(value) ? value : {};
|
|
157
|
+
const queues = [];
|
|
158
|
+
const queueIds = new Set();
|
|
159
|
+
for (const entry of arrayOf(body["queues"])) {
|
|
160
|
+
const queue = readQueue(entry);
|
|
161
|
+
if (queue && !queueIds.has(queue.id)) {
|
|
162
|
+
queueIds.add(queue.id);
|
|
163
|
+
queues.push(queue);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
const services = [];
|
|
167
|
+
const serviceIds = new Set();
|
|
168
|
+
for (const entry of arrayOf(body["services"])) {
|
|
169
|
+
const service = readService(entry);
|
|
170
|
+
if (service && !serviceIds.has(service.id)) {
|
|
171
|
+
serviceIds.add(service.id);
|
|
172
|
+
services.push(service);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
const flows = [];
|
|
176
|
+
const flowKeys = new Set();
|
|
177
|
+
for (const entry of arrayOf(body["flows"])) {
|
|
178
|
+
const flow = readFlow(entry);
|
|
179
|
+
if (!flow || !queueIds.has(flow.queueId)) {
|
|
180
|
+
continue;
|
|
181
|
+
}
|
|
182
|
+
const key = getMessageQueueTopologyFlowKey(flow);
|
|
183
|
+
if (flowKeys.has(key)) {
|
|
184
|
+
continue;
|
|
185
|
+
}
|
|
186
|
+
flowKeys.add(key);
|
|
187
|
+
if (!serviceIds.has(flow.serviceId)) {
|
|
188
|
+
serviceIds.add(flow.serviceId);
|
|
189
|
+
services.push({ id: flow.serviceId, name: "" });
|
|
190
|
+
}
|
|
191
|
+
flows.push(flow);
|
|
192
|
+
}
|
|
193
|
+
const truncation = isRecord(body["truncation"])
|
|
194
|
+
? body["truncation"]
|
|
195
|
+
: {};
|
|
196
|
+
return {
|
|
197
|
+
startTime: dateTextOf(body["startTime"]) || "",
|
|
198
|
+
endTime: dateTextOf(body["endTime"]) || "",
|
|
199
|
+
queues: queues,
|
|
200
|
+
services: services,
|
|
201
|
+
flows: flows,
|
|
202
|
+
truncation: {
|
|
203
|
+
queues: truncation["queues"] === true,
|
|
204
|
+
flows: truncation["flows"] === true,
|
|
205
|
+
},
|
|
206
|
+
};
|
|
207
|
+
}
|
|
208
|
+
/** One flow's identity: its service, its queue and its direction. */
|
|
209
|
+
function getMessageQueueTopologyFlowKey(flow) {
|
|
210
|
+
return `${flow.direction}|${flow.serviceId}|${flow.queueId}`;
|
|
211
|
+
}
|