@oneuptime/common 14.0.105 → 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 +1 -0
- package/Models/DatabaseModels/CloudAccount.d.ts +1 -0
- package/Models/DatabaseModels/CloudAccount.js +27 -0
- 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/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/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/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 +22 -0
- package/Types/Cloud/CloudCost.d.ts +22 -0
- package/Types/Cloud/CloudCost.js +126 -1
- package/Types/Cloud/CloudCost.mjs +7 -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 +27 -1
- package/Types/Cloud/CloudLogGroups.d.ts +27 -1
- package/Types/Cloud/CloudLogGroups.js +191 -10
- package/Types/Cloud/CloudLogGroups.mjs +11 -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/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/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/CloudAiAgentSetupCommands.d.mts +33 -0
- package/Types/CloudConnection/CloudAiAgentSetupCommands.d.ts +33 -0
- package/Types/CloudConnection/CloudAiAgentSetupCommands.js +468 -53
- package/Types/CloudConnection/CloudAiAgentSetupCommands.mjs +16 -0
- 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 +46 -1
- package/Types/CloudConnection/CloudStream.d.ts +46 -1
- package/Types/CloudConnection/CloudStream.js +316 -23
- package/Types/CloudConnection/CloudStream.mjs +31 -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 +3 -5
- package/Types/CloudConnection/CloudStreamTemplate.d.ts +3 -5
- package/Types/CloudConnection/CloudStreamTemplate.js +11 -21
- 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/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 +4 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.d.ts +4 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.js +32 -3
- package/Types/ResourceAiAgent/CloudAiAgentNames.mjs +4 -0
- package/Types/ResourceAiAgent/ResourceAiAccess.d.mts +1 -1
- package/Types/ResourceAiAgent/ResourceAiAccess.d.ts +1 -1
- package/Types/ResourceAiAgent/ResourceAiAccess.js +13 -6
- package/Types/ResourceAiAgent/ResourceAiAccess.mjs +1 -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/SecurityConnection.d.mts +9 -0
- package/Types/SecurityCase/SecurityConnection.d.ts +9 -0
- 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/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/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/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
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SecurityEntity } from "./SecurityEntity.mjs";
|
|
2
|
+
import type { SecurityEventScope } from "../SecurityEvent/SecurityEventScope.mjs";
|
|
2
3
|
import type { CloudChangeTitleFacts, CloudHealthTitleFacts } from "../../Utils/Telemetry/CloudChangeTitle.mjs";
|
|
3
4
|
export declare enum SecurityConnectionKind {
|
|
4
5
|
Host = "Host",
|
|
@@ -45,6 +46,14 @@ export declare const SECURITY_CONNECTION_MAX_RESOURCES: number;
|
|
|
45
46
|
export declare const SECURITY_CONNECTION_MAX_LISTED: number;
|
|
46
47
|
export declare const RESOURCE_SECURITY_WINDOW_IN_DAYS: number;
|
|
47
48
|
export declare const RESOURCE_SECURITY_MAX_CASES: number;
|
|
49
|
+
export interface ResourceSecurityScopeJson {
|
|
50
|
+
kind: SecurityConnectionKind;
|
|
51
|
+
id: string;
|
|
52
|
+
name: string;
|
|
53
|
+
values: Array<string>;
|
|
54
|
+
isSearchedByLogs: boolean;
|
|
55
|
+
scope: SecurityEventScope;
|
|
56
|
+
}
|
|
48
57
|
export declare const SECURITY_LOG_RESOURCE_ID_ATTRIBUTE: string;
|
|
49
58
|
export declare const SECURITY_LOG_RESOURCE_TYPE_ATTRIBUTE: string;
|
|
50
59
|
export interface SecurityConnectionMatch {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SecurityEntity } from "./SecurityEntity";
|
|
2
|
+
import type { SecurityEventScope } from "../SecurityEvent/SecurityEventScope";
|
|
2
3
|
import type { CloudChangeTitleFacts, CloudHealthTitleFacts } from "../../Utils/Telemetry/CloudChangeTitle";
|
|
3
4
|
export declare enum SecurityConnectionKind {
|
|
4
5
|
Host = "Host",
|
|
@@ -45,6 +46,14 @@ export declare const SECURITY_CONNECTION_MAX_RESOURCES: number;
|
|
|
45
46
|
export declare const SECURITY_CONNECTION_MAX_LISTED: number;
|
|
46
47
|
export declare const RESOURCE_SECURITY_WINDOW_IN_DAYS: number;
|
|
47
48
|
export declare const RESOURCE_SECURITY_MAX_CASES: number;
|
|
49
|
+
export interface ResourceSecurityScopeJson {
|
|
50
|
+
kind: SecurityConnectionKind;
|
|
51
|
+
id: string;
|
|
52
|
+
name: string;
|
|
53
|
+
values: Array<string>;
|
|
54
|
+
isSearchedByLogs: boolean;
|
|
55
|
+
scope: SecurityEventScope;
|
|
56
|
+
}
|
|
48
57
|
export declare const SECURITY_LOG_RESOURCE_ID_ATTRIBUTE: string;
|
|
49
58
|
export declare const SECURITY_LOG_RESOURCE_TYPE_ATTRIBUTE: string;
|
|
50
59
|
export interface SecurityConnectionMatch {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const SECURITY_EVENT_SCOPE_QUERY_KEY: string;
|
|
2
|
+
export declare const SECURITY_EVENT_SCOPE_MAX_OBSERVABLES: number;
|
|
3
|
+
export declare const SECURITY_EVENT_SCOPE_MAX_ATTRIBUTE_VALUES: number;
|
|
4
|
+
export declare const SECURITY_EVENT_SCOPE_MAX_VALUE_LENGTH: number;
|
|
5
|
+
export declare const SECURITY_EVENT_SCOPE_MAX_ATTRIBUTE_KEY_LENGTH: number;
|
|
6
|
+
export interface SecurityEventScope {
|
|
7
|
+
observables: Array<string>;
|
|
8
|
+
attributeKey?: string | undefined;
|
|
9
|
+
attributeValues?: Array<string> | undefined;
|
|
10
|
+
}
|
|
11
|
+
export declare function readSecurityEventScope(value: unknown): SecurityEventScope | null;
|
|
12
|
+
export declare function hasSecurityEventScopeMatch(scope: SecurityEventScope | null | undefined): boolean;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const SECURITY_EVENT_SCOPE_QUERY_KEY: string;
|
|
2
|
+
export declare const SECURITY_EVENT_SCOPE_MAX_OBSERVABLES: number;
|
|
3
|
+
export declare const SECURITY_EVENT_SCOPE_MAX_ATTRIBUTE_VALUES: number;
|
|
4
|
+
export declare const SECURITY_EVENT_SCOPE_MAX_VALUE_LENGTH: number;
|
|
5
|
+
export declare const SECURITY_EVENT_SCOPE_MAX_ATTRIBUTE_KEY_LENGTH: number;
|
|
6
|
+
export interface SecurityEventScope {
|
|
7
|
+
observables: Array<string>;
|
|
8
|
+
attributeKey?: string | undefined;
|
|
9
|
+
attributeValues?: Array<string> | undefined;
|
|
10
|
+
}
|
|
11
|
+
export declare function readSecurityEventScope(value: unknown): SecurityEventScope | null;
|
|
12
|
+
export declare function hasSecurityEventScopeMatch(scope: SecurityEventScope | null | undefined): boolean;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* THE SECURITY EVENTS ABOUT ONE RECORD: what a record's own Security Events
|
|
4
|
+
* page - a network device's (issue #5769) - reads every list, count, chart
|
|
5
|
+
* and facet under.
|
|
6
|
+
*
|
|
7
|
+
* An event is about the record when either is true:
|
|
8
|
+
*
|
|
9
|
+
* - it names one of the record's exact identities: its observables hold
|
|
10
|
+
* one of them. These are the identities the record's Security card
|
|
11
|
+
* counts by (Server/Utils/SecurityEvent/Connections/ResourceSecurity) -
|
|
12
|
+
* a device's name, DNS name and hostname, and the public addresses no
|
|
13
|
+
* other host or device holds - so the card and the page agree;
|
|
14
|
+
* - or it was read from the record's own logs: it carries the attribute
|
|
15
|
+
* that names the record, `networkDevice.id` for a device, which ingest
|
|
16
|
+
* sets on every syslog line it matched to one and the log scan carries
|
|
17
|
+
* onto every security event read from such a line. A firewall's denied
|
|
18
|
+
* connections name the hosts on either side of it, never the firewall,
|
|
19
|
+
* and are still the firewall's.
|
|
20
|
+
*
|
|
21
|
+
* The search bar ANDs every filter it is given, so this OR cannot be typed
|
|
22
|
+
* there. The page puts it on its query under its own synthetic key, which
|
|
23
|
+
* the statement generator compiles to
|
|
24
|
+
*
|
|
25
|
+
* (hasAny(observables, [...]) OR (has(attributeKeys, 'k') AND attributes['k'] IN (...)))
|
|
26
|
+
*
|
|
27
|
+
* It only ever narrows a read: authorization still runs on the query's own
|
|
28
|
+
* project and sources. A scope with nothing left to match matches nothing,
|
|
29
|
+
* never everything, so a record's page can never widen to every event.
|
|
30
|
+
*
|
|
31
|
+
* Pure: the page that builds a scope, the server that answers it and the
|
|
32
|
+
* generator that compiles it agree on every word of this.
|
|
33
|
+
*/
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.SECURITY_EVENT_SCOPE_MAX_ATTRIBUTE_KEY_LENGTH = exports.SECURITY_EVENT_SCOPE_MAX_VALUE_LENGTH = exports.SECURITY_EVENT_SCOPE_MAX_ATTRIBUTE_VALUES = exports.SECURITY_EVENT_SCOPE_MAX_OBSERVABLES = exports.SECURITY_EVENT_SCOPE_QUERY_KEY = void 0;
|
|
36
|
+
exports.readSecurityEventScope = readSecurityEventScope;
|
|
37
|
+
exports.hasSecurityEventScopeMatch = hasSecurityEventScopeMatch;
|
|
38
|
+
// The synthetic query key a scoped read carries the scope under.
|
|
39
|
+
exports.SECURITY_EVENT_SCOPE_QUERY_KEY = "securityEventScope";
|
|
40
|
+
/*
|
|
41
|
+
* The most spellings of a record's identities one scope searches for: the
|
|
42
|
+
* Security card's own bound (SECURITY_CONNECTION_MAX_ENTITIES spellings),
|
|
43
|
+
* with room to spare.
|
|
44
|
+
*/
|
|
45
|
+
exports.SECURITY_EVENT_SCOPE_MAX_OBSERVABLES = 100;
|
|
46
|
+
// The most values the record's attribute may take in one scope.
|
|
47
|
+
exports.SECURITY_EVENT_SCOPE_MAX_ATTRIBUTE_VALUES = 10;
|
|
48
|
+
/*
|
|
49
|
+
* The longest value read: a cloud resource's own ID, the longest identity a
|
|
50
|
+
* record has, fits. Anything longer is dropped, never cut: a cut value
|
|
51
|
+
* would match a different one.
|
|
52
|
+
*/
|
|
53
|
+
exports.SECURITY_EVENT_SCOPE_MAX_VALUE_LENGTH = 2048;
|
|
54
|
+
// The longest attribute key read.
|
|
55
|
+
exports.SECURITY_EVENT_SCOPE_MAX_ATTRIBUTE_KEY_LENGTH = 256;
|
|
56
|
+
// The distinct, trimmed, bounded strings of an untrusted list.
|
|
57
|
+
function readValues(value, limit) {
|
|
58
|
+
if (!Array.isArray(value)) {
|
|
59
|
+
return [];
|
|
60
|
+
}
|
|
61
|
+
const values = [];
|
|
62
|
+
for (const entry of value) {
|
|
63
|
+
if (values.length >= limit) {
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
if (typeof entry !== "string") {
|
|
67
|
+
continue;
|
|
68
|
+
}
|
|
69
|
+
const trimmed = entry.trim();
|
|
70
|
+
if (trimmed.length > 0 &&
|
|
71
|
+
trimmed.length <= exports.SECURITY_EVENT_SCOPE_MAX_VALUE_LENGTH &&
|
|
72
|
+
!values.includes(trimmed)) {
|
|
73
|
+
values.push(trimmed);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
return values;
|
|
77
|
+
}
|
|
78
|
+
/*
|
|
79
|
+
* A scope read from an untrusted query: every list bounded, every value a
|
|
80
|
+
* string, the attribute's values kept only with a key to read them under.
|
|
81
|
+
* Null when it is not an object at all.
|
|
82
|
+
*/
|
|
83
|
+
function readSecurityEventScope(value) {
|
|
84
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) {
|
|
85
|
+
return null;
|
|
86
|
+
}
|
|
87
|
+
const raw = value;
|
|
88
|
+
const scope = {
|
|
89
|
+
observables: readValues(raw["observables"], exports.SECURITY_EVENT_SCOPE_MAX_OBSERVABLES),
|
|
90
|
+
};
|
|
91
|
+
const attributeKey = typeof raw["attributeKey"] === "string" ? raw["attributeKey"].trim() : "";
|
|
92
|
+
if (attributeKey.length > 0 &&
|
|
93
|
+
attributeKey.length <= exports.SECURITY_EVENT_SCOPE_MAX_ATTRIBUTE_KEY_LENGTH) {
|
|
94
|
+
const attributeValues = readValues(raw["attributeValues"], exports.SECURITY_EVENT_SCOPE_MAX_ATTRIBUTE_VALUES);
|
|
95
|
+
if (attributeValues.length > 0) {
|
|
96
|
+
scope.attributeKey = attributeKey;
|
|
97
|
+
scope.attributeValues = attributeValues;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
return scope;
|
|
101
|
+
}
|
|
102
|
+
// Whether a scope can match anything: an identity to name, or an attribute to carry.
|
|
103
|
+
function hasSecurityEventScopeMatch(scope) {
|
|
104
|
+
return Boolean(scope &&
|
|
105
|
+
(scope.observables.length > 0 ||
|
|
106
|
+
(scope.attributeKey &&
|
|
107
|
+
scope.attributeValues &&
|
|
108
|
+
scope.attributeValues.length > 0)));
|
|
109
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import commonJsModule from "./SecurityEventScope.js";
|
|
2
|
+
export const SECURITY_EVENT_SCOPE_MAX_ATTRIBUTE_KEY_LENGTH = commonJsModule.SECURITY_EVENT_SCOPE_MAX_ATTRIBUTE_KEY_LENGTH;
|
|
3
|
+
export const SECURITY_EVENT_SCOPE_MAX_ATTRIBUTE_VALUES = commonJsModule.SECURITY_EVENT_SCOPE_MAX_ATTRIBUTE_VALUES;
|
|
4
|
+
export const SECURITY_EVENT_SCOPE_MAX_OBSERVABLES = commonJsModule.SECURITY_EVENT_SCOPE_MAX_OBSERVABLES;
|
|
5
|
+
export const SECURITY_EVENT_SCOPE_MAX_VALUE_LENGTH = commonJsModule.SECURITY_EVENT_SCOPE_MAX_VALUE_LENGTH;
|
|
6
|
+
export const SECURITY_EVENT_SCOPE_QUERY_KEY = commonJsModule.SECURITY_EVENT_SCOPE_QUERY_KEY;
|
|
7
|
+
export const hasSecurityEventScopeMatch = commonJsModule.hasSecurityEventScopeMatch;
|
|
8
|
+
export const readSecurityEventScope = commonJsModule.readSecurityEventScope;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const SERVERLESS_FUNCTION_NO_RECENT_INVOCATIONS_AFTER_MINUTES: number;
|
|
2
|
+
export declare enum ServerlessFunctionStatus {
|
|
3
|
+
ReceivingData = "receiving-data",
|
|
4
|
+
NoRecentInvocations = "no-recent-invocations",
|
|
5
|
+
WaitingForData = "waiting-for-data"
|
|
6
|
+
}
|
|
7
|
+
export type ServerlessFunctionStatusTone = "positive" | "neutral";
|
|
8
|
+
export interface ServerlessFunctionStatusWords {
|
|
9
|
+
label: string;
|
|
10
|
+
description: string;
|
|
11
|
+
tone: ServerlessFunctionStatusTone;
|
|
12
|
+
}
|
|
13
|
+
export interface ServerlessFunctionStatusInput {
|
|
14
|
+
otelCollectorStatus: string | null | undefined;
|
|
15
|
+
lastSeenAt: Date | string | null | undefined;
|
|
16
|
+
}
|
|
17
|
+
export declare const SERVERLESS_FUNCTION_RECEIVING_DATA_LABEL: string;
|
|
18
|
+
export declare const SERVERLESS_FUNCTION_NO_RECENT_INVOCATIONS_LABEL: string;
|
|
19
|
+
export declare const SERVERLESS_FUNCTION_WAITING_FOR_DATA_LABEL: string;
|
|
20
|
+
export declare const SERVERLESS_FUNCTION_RECEIVING_DATA_DESCRIPTION: string;
|
|
21
|
+
export declare const SERVERLESS_FUNCTION_NO_RECENT_INVOCATIONS_DESCRIPTION: string;
|
|
22
|
+
export declare const SERVERLESS_FUNCTION_WAITING_FOR_DATA_DESCRIPTION: string;
|
|
23
|
+
export declare const isServerlessFunctionStatusReceiving: (otelCollectorStatus: string | null | undefined) => boolean;
|
|
24
|
+
export declare const getServerlessFunctionLastDataAt: (lastSeenAt: Date | string | null | undefined) => Date | null;
|
|
25
|
+
export declare const getServerlessFunctionStatus: (input: ServerlessFunctionStatusInput) => ServerlessFunctionStatus;
|
|
26
|
+
export declare const getServerlessFunctionStatusWords: (status: ServerlessFunctionStatus) => ServerlessFunctionStatusWords;
|
|
27
|
+
export interface ServerlessFunctionStatusDescription extends ServerlessFunctionStatusWords {
|
|
28
|
+
status: ServerlessFunctionStatus;
|
|
29
|
+
}
|
|
30
|
+
export declare const describeServerlessFunctionStatus: (input: ServerlessFunctionStatusInput) => ServerlessFunctionStatusDescription;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const SERVERLESS_FUNCTION_NO_RECENT_INVOCATIONS_AFTER_MINUTES: number;
|
|
2
|
+
export declare enum ServerlessFunctionStatus {
|
|
3
|
+
ReceivingData = "receiving-data",
|
|
4
|
+
NoRecentInvocations = "no-recent-invocations",
|
|
5
|
+
WaitingForData = "waiting-for-data"
|
|
6
|
+
}
|
|
7
|
+
export type ServerlessFunctionStatusTone = "positive" | "neutral";
|
|
8
|
+
export interface ServerlessFunctionStatusWords {
|
|
9
|
+
label: string;
|
|
10
|
+
description: string;
|
|
11
|
+
tone: ServerlessFunctionStatusTone;
|
|
12
|
+
}
|
|
13
|
+
export interface ServerlessFunctionStatusInput {
|
|
14
|
+
otelCollectorStatus: string | null | undefined;
|
|
15
|
+
lastSeenAt: Date | string | null | undefined;
|
|
16
|
+
}
|
|
17
|
+
export declare const SERVERLESS_FUNCTION_RECEIVING_DATA_LABEL: string;
|
|
18
|
+
export declare const SERVERLESS_FUNCTION_NO_RECENT_INVOCATIONS_LABEL: string;
|
|
19
|
+
export declare const SERVERLESS_FUNCTION_WAITING_FOR_DATA_LABEL: string;
|
|
20
|
+
export declare const SERVERLESS_FUNCTION_RECEIVING_DATA_DESCRIPTION: string;
|
|
21
|
+
export declare const SERVERLESS_FUNCTION_NO_RECENT_INVOCATIONS_DESCRIPTION: string;
|
|
22
|
+
export declare const SERVERLESS_FUNCTION_WAITING_FOR_DATA_DESCRIPTION: string;
|
|
23
|
+
export declare const isServerlessFunctionStatusReceiving: (otelCollectorStatus: string | null | undefined) => boolean;
|
|
24
|
+
export declare const getServerlessFunctionLastDataAt: (lastSeenAt: Date | string | null | undefined) => Date | null;
|
|
25
|
+
export declare const getServerlessFunctionStatus: (input: ServerlessFunctionStatusInput) => ServerlessFunctionStatus;
|
|
26
|
+
export declare const getServerlessFunctionStatusWords: (status: ServerlessFunctionStatus) => ServerlessFunctionStatusWords;
|
|
27
|
+
export interface ServerlessFunctionStatusDescription extends ServerlessFunctionStatusWords {
|
|
28
|
+
status: ServerlessFunctionStatus;
|
|
29
|
+
}
|
|
30
|
+
export declare const describeServerlessFunctionStatus: (input: ServerlessFunctionStatusInput) => ServerlessFunctionStatusDescription;
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* WHAT A SERVERLESS FUNCTION'S STATUS SAYS (issue #6269).
|
|
4
|
+
*
|
|
5
|
+
* A serverless function sends its telemetry only while it runs: the
|
|
6
|
+
* platform freezes or stops it between invocations, and nothing is
|
|
7
|
+
* exported then. A nightly job, a webhook handler on a quiet day and a
|
|
8
|
+
* staging function all go silent for hours, and that is the function
|
|
9
|
+
* working as it should. The status used to say "Disconnected" then, in
|
|
10
|
+
* red, which reads as "the link between your function and OneUptime is
|
|
11
|
+
* broken" and sent people looking for a fault that was not there. So it
|
|
12
|
+
* says what is actually true instead:
|
|
13
|
+
*
|
|
14
|
+
* Receiving data - data arrived in the last 15 minutes. Green.
|
|
15
|
+
* No recent invocations - data arrived before, and nothing has for 15
|
|
16
|
+
* minutes: nothing has invoked the function in
|
|
17
|
+
* that time. Grey, never red: it is normal.
|
|
18
|
+
* Waiting for data - nothing has ever arrived: the function was
|
|
19
|
+
* added through the API and has not run with
|
|
20
|
+
* the OpenTelemetry SDK yet. Grey; its Overview
|
|
21
|
+
* shows how to set it up.
|
|
22
|
+
*
|
|
23
|
+
* There is no warning state, on purpose. OneUptime has no signal that a
|
|
24
|
+
* function's export is broken: a revoked or mistyped ingestion key is
|
|
25
|
+
* refused by the ingest middleware before the request is read, so before
|
|
26
|
+
* it names a function, and a function that cannot reach OneUptime sends
|
|
27
|
+
* nothing at all. A state saying "something is wrong" would be a guess.
|
|
28
|
+
* The tooltip and the Overview say what to check when the function should
|
|
29
|
+
* be running.
|
|
30
|
+
*
|
|
31
|
+
* Every place that says it reads it from here: the Serverless Functions
|
|
32
|
+
* list (its Status column), a function's Overview (the pill in its hero
|
|
33
|
+
* and the connection card under it) and OneUptime AI's
|
|
34
|
+
* query_telemetry_resources tool. The record keeps the values it always
|
|
35
|
+
* had - otelCollectorStatus "connected" / "disconnected", written by
|
|
36
|
+
* ingest and by the sweep (ServerlessFunctionService.
|
|
37
|
+
* markDisconnectedFunctions), which the API returns and filters on - so
|
|
38
|
+
* only the words and the colours changed.
|
|
39
|
+
*
|
|
40
|
+
* The status is read exactly as an overview's connection card reads any
|
|
41
|
+
* resource (ResourceConnectionState in the Dashboard): "connected" or
|
|
42
|
+
* "active" is receiving, otherwise a lastSeenAt that is a real date is no
|
|
43
|
+
* recent invocations, otherwise it is waiting. So the pill and the card
|
|
44
|
+
* under it can never disagree. The sweep decides when "connected" turns
|
|
45
|
+
* to "disconnected"; the clock is not read here.
|
|
46
|
+
*
|
|
47
|
+
* The words are English, marked as keys of the Dashboard's locales and
|
|
48
|
+
* looked up where they are drawn (the Dashboard's extractor reads this
|
|
49
|
+
* file as a "keys" root). React-free and server-safe: the sweep, the AI
|
|
50
|
+
* toolbox and the tests read it.
|
|
51
|
+
*/
|
|
52
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
53
|
+
exports.describeServerlessFunctionStatus = exports.getServerlessFunctionStatusWords = exports.getServerlessFunctionStatus = exports.getServerlessFunctionLastDataAt = exports.isServerlessFunctionStatusReceiving = exports.SERVERLESS_FUNCTION_WAITING_FOR_DATA_DESCRIPTION = exports.SERVERLESS_FUNCTION_NO_RECENT_INVOCATIONS_DESCRIPTION = exports.SERVERLESS_FUNCTION_RECEIVING_DATA_DESCRIPTION = exports.SERVERLESS_FUNCTION_WAITING_FOR_DATA_LABEL = exports.SERVERLESS_FUNCTION_NO_RECENT_INVOCATIONS_LABEL = exports.SERVERLESS_FUNCTION_RECEIVING_DATA_LABEL = exports.ServerlessFunctionStatus = exports.SERVERLESS_FUNCTION_NO_RECENT_INVOCATIONS_AFTER_MINUTES = void 0;
|
|
54
|
+
/*
|
|
55
|
+
* Marks an English text as a key of the Dashboard's locales - the same
|
|
56
|
+
* marker as Common/UI/Utils/TranslateTemplate's translationKey, kept here
|
|
57
|
+
* so this file stays free of the UI. It returns the text unchanged.
|
|
58
|
+
*/
|
|
59
|
+
const translationKey = (text) => {
|
|
60
|
+
return text;
|
|
61
|
+
};
|
|
62
|
+
/*
|
|
63
|
+
* How long a function may send nothing before it shows "No recent
|
|
64
|
+
* invocations": the sweep's silence (markDisconnectedFunctions reads this
|
|
65
|
+
* constant), counted only while OneUptime was receiving
|
|
66
|
+
* (ReceivingCoverage). It stays well above the five minutes lastSeenAt can
|
|
67
|
+
* trail live traffic by (the OpenTelemetry ingest's maintenance fence), so
|
|
68
|
+
* a function in use never flaps. The words below say this number.
|
|
69
|
+
*/
|
|
70
|
+
exports.SERVERLESS_FUNCTION_NO_RECENT_INVOCATIONS_AFTER_MINUTES = 15;
|
|
71
|
+
var ServerlessFunctionStatus;
|
|
72
|
+
(function (ServerlessFunctionStatus) {
|
|
73
|
+
ServerlessFunctionStatus["ReceivingData"] = "receiving-data";
|
|
74
|
+
ServerlessFunctionStatus["NoRecentInvocations"] = "no-recent-invocations";
|
|
75
|
+
ServerlessFunctionStatus["WaitingForData"] = "waiting-for-data";
|
|
76
|
+
})(ServerlessFunctionStatus || (exports.ServerlessFunctionStatus = ServerlessFunctionStatus = {}));
|
|
77
|
+
/*
|
|
78
|
+
* "Receiving data" and "Waiting for data" are the words a RUM
|
|
79
|
+
* application's status uses (RumApplicationStatus): the same keys, so the
|
|
80
|
+
* same words in every language. Only the quiet state says what is quiet -
|
|
81
|
+
* a function's invocations, an application's traffic.
|
|
82
|
+
*/
|
|
83
|
+
exports.SERVERLESS_FUNCTION_RECEIVING_DATA_LABEL = translationKey("Receiving data");
|
|
84
|
+
exports.SERVERLESS_FUNCTION_NO_RECENT_INVOCATIONS_LABEL = translationKey("No recent invocations");
|
|
85
|
+
exports.SERVERLESS_FUNCTION_WAITING_FOR_DATA_LABEL = translationKey("Waiting for data");
|
|
86
|
+
exports.SERVERLESS_FUNCTION_RECEIVING_DATA_DESCRIPTION = translationKey("Data has arrived from this function in the last 15 minutes.");
|
|
87
|
+
exports.SERVERLESS_FUNCTION_NO_RECENT_INVOCATIONS_DESCRIPTION = translationKey("Nothing has arrived in the last 15 minutes. A function sends data only while it runs, so this is normal when nothing has invoked it, for example between scheduled runs. If it should be running, its Overview lists what to check.");
|
|
88
|
+
exports.SERVERLESS_FUNCTION_WAITING_FOR_DATA_DESCRIPTION = translationKey("Nothing has arrived from this function yet. Add the OpenTelemetry SDK to it and invoke it once; its Documentation tab shows how.");
|
|
89
|
+
const SERVERLESS_FUNCTION_STATUS_WORDS = {
|
|
90
|
+
[ServerlessFunctionStatus.ReceivingData]: {
|
|
91
|
+
label: exports.SERVERLESS_FUNCTION_RECEIVING_DATA_LABEL,
|
|
92
|
+
description: exports.SERVERLESS_FUNCTION_RECEIVING_DATA_DESCRIPTION,
|
|
93
|
+
tone: "positive",
|
|
94
|
+
},
|
|
95
|
+
[ServerlessFunctionStatus.NoRecentInvocations]: {
|
|
96
|
+
label: exports.SERVERLESS_FUNCTION_NO_RECENT_INVOCATIONS_LABEL,
|
|
97
|
+
description: exports.SERVERLESS_FUNCTION_NO_RECENT_INVOCATIONS_DESCRIPTION,
|
|
98
|
+
tone: "neutral",
|
|
99
|
+
},
|
|
100
|
+
[ServerlessFunctionStatus.WaitingForData]: {
|
|
101
|
+
label: exports.SERVERLESS_FUNCTION_WAITING_FOR_DATA_LABEL,
|
|
102
|
+
description: exports.SERVERLESS_FUNCTION_WAITING_FOR_DATA_DESCRIPTION,
|
|
103
|
+
tone: "neutral",
|
|
104
|
+
},
|
|
105
|
+
};
|
|
106
|
+
/*
|
|
107
|
+
* "connected" and "active" are receiving, whatever their case - and nothing
|
|
108
|
+
* else is, not even with spaces around it: the card under the pill reads the
|
|
109
|
+
* value exactly so (isResourceStatusConnected), and the two must agree.
|
|
110
|
+
*/
|
|
111
|
+
const isServerlessFunctionStatusReceiving = (otelCollectorStatus) => {
|
|
112
|
+
const normalized = (otelCollectorStatus || "").toLowerCase();
|
|
113
|
+
return normalized === "connected" || normalized === "active";
|
|
114
|
+
};
|
|
115
|
+
exports.isServerlessFunctionStatusReceiving = isServerlessFunctionStatusReceiving;
|
|
116
|
+
/*
|
|
117
|
+
* When data last arrived, or null when it never has. A value that does not
|
|
118
|
+
* parse to a real date is treated as never: "last seen Invalid Date ago"
|
|
119
|
+
* helps nobody.
|
|
120
|
+
*/
|
|
121
|
+
const getServerlessFunctionLastDataAt = (lastSeenAt) => {
|
|
122
|
+
if (!lastSeenAt) {
|
|
123
|
+
return null;
|
|
124
|
+
}
|
|
125
|
+
const date = lastSeenAt instanceof Date ? lastSeenAt : new Date(lastSeenAt);
|
|
126
|
+
return isNaN(date.getTime()) ? null : date;
|
|
127
|
+
};
|
|
128
|
+
exports.getServerlessFunctionLastDataAt = getServerlessFunctionLastDataAt;
|
|
129
|
+
const getServerlessFunctionStatus = (input) => {
|
|
130
|
+
if ((0, exports.isServerlessFunctionStatusReceiving)(input.otelCollectorStatus)) {
|
|
131
|
+
return ServerlessFunctionStatus.ReceivingData;
|
|
132
|
+
}
|
|
133
|
+
return (0, exports.getServerlessFunctionLastDataAt)(input.lastSeenAt)
|
|
134
|
+
? ServerlessFunctionStatus.NoRecentInvocations
|
|
135
|
+
: ServerlessFunctionStatus.WaitingForData;
|
|
136
|
+
};
|
|
137
|
+
exports.getServerlessFunctionStatus = getServerlessFunctionStatus;
|
|
138
|
+
/*
|
|
139
|
+
* The words and colour for a status. Anything that is not one of the three
|
|
140
|
+
* (a value from an older client, say) reads as waiting, the state that
|
|
141
|
+
* claims the least.
|
|
142
|
+
*/
|
|
143
|
+
const getServerlessFunctionStatusWords = (status) => {
|
|
144
|
+
return (SERVERLESS_FUNCTION_STATUS_WORDS[status] ||
|
|
145
|
+
SERVERLESS_FUNCTION_STATUS_WORDS[ServerlessFunctionStatus.WaitingForData]);
|
|
146
|
+
};
|
|
147
|
+
exports.getServerlessFunctionStatusWords = getServerlessFunctionStatusWords;
|
|
148
|
+
// The status and its words, from what the function's record holds.
|
|
149
|
+
const describeServerlessFunctionStatus = (input) => {
|
|
150
|
+
const status = (0, exports.getServerlessFunctionStatus)(input);
|
|
151
|
+
return Object.assign({ status }, (0, exports.getServerlessFunctionStatusWords)(status));
|
|
152
|
+
};
|
|
153
|
+
exports.describeServerlessFunctionStatus = describeServerlessFunctionStatus;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import commonJsModule from "./ServerlessFunctionStatus.js";
|
|
2
|
+
export const SERVERLESS_FUNCTION_NO_RECENT_INVOCATIONS_AFTER_MINUTES = commonJsModule.SERVERLESS_FUNCTION_NO_RECENT_INVOCATIONS_AFTER_MINUTES;
|
|
3
|
+
export const SERVERLESS_FUNCTION_NO_RECENT_INVOCATIONS_DESCRIPTION = commonJsModule.SERVERLESS_FUNCTION_NO_RECENT_INVOCATIONS_DESCRIPTION;
|
|
4
|
+
export const SERVERLESS_FUNCTION_NO_RECENT_INVOCATIONS_LABEL = commonJsModule.SERVERLESS_FUNCTION_NO_RECENT_INVOCATIONS_LABEL;
|
|
5
|
+
export const SERVERLESS_FUNCTION_RECEIVING_DATA_DESCRIPTION = commonJsModule.SERVERLESS_FUNCTION_RECEIVING_DATA_DESCRIPTION;
|
|
6
|
+
export const SERVERLESS_FUNCTION_RECEIVING_DATA_LABEL = commonJsModule.SERVERLESS_FUNCTION_RECEIVING_DATA_LABEL;
|
|
7
|
+
export const SERVERLESS_FUNCTION_WAITING_FOR_DATA_DESCRIPTION = commonJsModule.SERVERLESS_FUNCTION_WAITING_FOR_DATA_DESCRIPTION;
|
|
8
|
+
export const SERVERLESS_FUNCTION_WAITING_FOR_DATA_LABEL = commonJsModule.SERVERLESS_FUNCTION_WAITING_FOR_DATA_LABEL;
|
|
9
|
+
export const ServerlessFunctionStatus = commonJsModule.ServerlessFunctionStatus;
|
|
10
|
+
export const describeServerlessFunctionStatus = commonJsModule.describeServerlessFunctionStatus;
|
|
11
|
+
export const getServerlessFunctionLastDataAt = commonJsModule.getServerlessFunctionLastDataAt;
|
|
12
|
+
export const getServerlessFunctionStatus = commonJsModule.getServerlessFunctionStatus;
|
|
13
|
+
export const getServerlessFunctionStatusWords = commonJsModule.getServerlessFunctionStatusWords;
|
|
14
|
+
export const isServerlessFunctionStatusReceiving = commonJsModule.isServerlessFunctionStatusReceiving;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare const SERVICE_NO_RECENT_DATA_AFTER_MINUTES: number;
|
|
2
|
+
export declare const SERVICE_NO_RECENT_DATA_AFTER_MS: number;
|
|
3
|
+
export declare enum ServiceTelemetryStatus {
|
|
4
|
+
ReceivingData = "receiving-data",
|
|
5
|
+
NoRecentData = "no-recent-data",
|
|
6
|
+
WaitingForData = "waiting-for-data"
|
|
7
|
+
}
|
|
8
|
+
export type ServiceTelemetryStatusTone = "positive" | "neutral";
|
|
9
|
+
export interface ServiceTelemetryStatusWords {
|
|
10
|
+
label: string;
|
|
11
|
+
description: string;
|
|
12
|
+
tone: ServiceTelemetryStatusTone;
|
|
13
|
+
}
|
|
14
|
+
export interface ServiceTelemetryStatusInput {
|
|
15
|
+
lastSeenAt: Date | string | null | undefined;
|
|
16
|
+
now: Date;
|
|
17
|
+
}
|
|
18
|
+
export declare const SERVICE_RECEIVING_DATA_LABEL: string;
|
|
19
|
+
export declare const SERVICE_NO_RECENT_DATA_LABEL: string;
|
|
20
|
+
export declare const SERVICE_WAITING_FOR_DATA_LABEL: string;
|
|
21
|
+
export declare const SERVICE_RECEIVING_DATA_DESCRIPTION: string;
|
|
22
|
+
export declare const SERVICE_NO_RECENT_DATA_DESCRIPTION: string;
|
|
23
|
+
export declare const SERVICE_WAITING_FOR_DATA_DESCRIPTION: string;
|
|
24
|
+
export declare const getServiceLastDataAt: (lastSeenAt: Date | string | null | undefined) => Date | null;
|
|
25
|
+
export declare const isServiceDataRecent: (lastDataAt: Date, now: Date) => boolean;
|
|
26
|
+
export declare const getServiceTelemetryStatus: (input: ServiceTelemetryStatusInput) => ServiceTelemetryStatus;
|
|
27
|
+
export declare const getServiceTelemetryStatusWords: (status: ServiceTelemetryStatus) => ServiceTelemetryStatusWords;
|
|
28
|
+
export interface ServiceTelemetryStatusDescription extends ServiceTelemetryStatusWords {
|
|
29
|
+
status: ServiceTelemetryStatus;
|
|
30
|
+
lastDataAt: Date | null;
|
|
31
|
+
}
|
|
32
|
+
export declare const describeServiceTelemetryStatus: (input: ServiceTelemetryStatusInput) => ServiceTelemetryStatusDescription;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare const SERVICE_NO_RECENT_DATA_AFTER_MINUTES: number;
|
|
2
|
+
export declare const SERVICE_NO_RECENT_DATA_AFTER_MS: number;
|
|
3
|
+
export declare enum ServiceTelemetryStatus {
|
|
4
|
+
ReceivingData = "receiving-data",
|
|
5
|
+
NoRecentData = "no-recent-data",
|
|
6
|
+
WaitingForData = "waiting-for-data"
|
|
7
|
+
}
|
|
8
|
+
export type ServiceTelemetryStatusTone = "positive" | "neutral";
|
|
9
|
+
export interface ServiceTelemetryStatusWords {
|
|
10
|
+
label: string;
|
|
11
|
+
description: string;
|
|
12
|
+
tone: ServiceTelemetryStatusTone;
|
|
13
|
+
}
|
|
14
|
+
export interface ServiceTelemetryStatusInput {
|
|
15
|
+
lastSeenAt: Date | string | null | undefined;
|
|
16
|
+
now: Date;
|
|
17
|
+
}
|
|
18
|
+
export declare const SERVICE_RECEIVING_DATA_LABEL: string;
|
|
19
|
+
export declare const SERVICE_NO_RECENT_DATA_LABEL: string;
|
|
20
|
+
export declare const SERVICE_WAITING_FOR_DATA_LABEL: string;
|
|
21
|
+
export declare const SERVICE_RECEIVING_DATA_DESCRIPTION: string;
|
|
22
|
+
export declare const SERVICE_NO_RECENT_DATA_DESCRIPTION: string;
|
|
23
|
+
export declare const SERVICE_WAITING_FOR_DATA_DESCRIPTION: string;
|
|
24
|
+
export declare const getServiceLastDataAt: (lastSeenAt: Date | string | null | undefined) => Date | null;
|
|
25
|
+
export declare const isServiceDataRecent: (lastDataAt: Date, now: Date) => boolean;
|
|
26
|
+
export declare const getServiceTelemetryStatus: (input: ServiceTelemetryStatusInput) => ServiceTelemetryStatus;
|
|
27
|
+
export declare const getServiceTelemetryStatusWords: (status: ServiceTelemetryStatus) => ServiceTelemetryStatusWords;
|
|
28
|
+
export interface ServiceTelemetryStatusDescription extends ServiceTelemetryStatusWords {
|
|
29
|
+
status: ServiceTelemetryStatus;
|
|
30
|
+
lastDataAt: Date | null;
|
|
31
|
+
}
|
|
32
|
+
export declare const describeServiceTelemetryStatus: (input: ServiceTelemetryStatusInput) => ServiceTelemetryStatusDescription;
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* WHAT A SERVICE'S STATUS SAYS (issue #6270).
|
|
4
|
+
*
|
|
5
|
+
* A service has no stored connection status: its Overview works one out
|
|
6
|
+
* from lastSeenAt, when telemetry last arrived for it. It used to say
|
|
7
|
+
* "Connected" for 30 minutes after that and "Disconnected" (amber) from
|
|
8
|
+
* then on - so a staging service, an internal API used in office hours or
|
|
9
|
+
* a worker that runs every hour read as if its link to OneUptime were
|
|
10
|
+
* broken whenever nobody had called it for half an hour.
|
|
11
|
+
*
|
|
12
|
+
* Unlike a RUM application or a serverless function, a service may also
|
|
13
|
+
* send runtime metrics all the time, so its silence is less clearly idle:
|
|
14
|
+
* it can be quiet because nobody calls it, or because it stopped. So the
|
|
15
|
+
* words claim only what OneUptime knows - whether data is arriving - and
|
|
16
|
+
* the tooltip says what each reading can mean:
|
|
17
|
+
*
|
|
18
|
+
* Receiving data - something arrived in the last 30 minutes. Green.
|
|
19
|
+
* No recent data - something arrived before, and nothing has for 30
|
|
20
|
+
* minutes. Grey: often idle, sometimes stopped, and
|
|
21
|
+
* OneUptime cannot tell which.
|
|
22
|
+
* Waiting for data - nothing has ever arrived: the service was created
|
|
23
|
+
* by hand before its telemetry. Grey.
|
|
24
|
+
*
|
|
25
|
+
* "Receiving data" and "Waiting for data" are the words a RUM application
|
|
26
|
+
* and a serverless function use (RumApplicationStatus,
|
|
27
|
+
* ServerlessFunctionStatus): the same keys, so the same words in every
|
|
28
|
+
* language.
|
|
29
|
+
*
|
|
30
|
+
* Read from lastSeenAt and the reader's clock, with the window inclusive
|
|
31
|
+
* at its end: data that arrived exactly 30 minutes ago is still receiving,
|
|
32
|
+
* as the silence sweeps of the other resources count it
|
|
33
|
+
* (lastSeenAt < cutoff is what turns one quiet). A lastSeenAt ahead of the
|
|
34
|
+
* reader's clock - the server's clock, which writes it, running ahead of
|
|
35
|
+
* the browser's - is receiving: it arrived as recently as can be. A value
|
|
36
|
+
* that is not a real date is never seen, not "last seen Invalid Date ago".
|
|
37
|
+
*
|
|
38
|
+
* The words are English, marked as keys of the Dashboard's locales and
|
|
39
|
+
* looked up where they are drawn (the Dashboard's extractor reads this
|
|
40
|
+
* file as a "keys" root). React-free and server-safe.
|
|
41
|
+
*/
|
|
42
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43
|
+
exports.describeServiceTelemetryStatus = exports.getServiceTelemetryStatusWords = exports.getServiceTelemetryStatus = exports.isServiceDataRecent = exports.getServiceLastDataAt = exports.SERVICE_WAITING_FOR_DATA_DESCRIPTION = exports.SERVICE_NO_RECENT_DATA_DESCRIPTION = exports.SERVICE_RECEIVING_DATA_DESCRIPTION = exports.SERVICE_WAITING_FOR_DATA_LABEL = exports.SERVICE_NO_RECENT_DATA_LABEL = exports.SERVICE_RECEIVING_DATA_LABEL = exports.ServiceTelemetryStatus = exports.SERVICE_NO_RECENT_DATA_AFTER_MS = exports.SERVICE_NO_RECENT_DATA_AFTER_MINUTES = void 0;
|
|
44
|
+
/*
|
|
45
|
+
* Marks an English text as a key of the Dashboard's locales - the same
|
|
46
|
+
* marker as Common/UI/Utils/TranslateTemplate's translationKey, kept here
|
|
47
|
+
* so this file stays free of the UI. It returns the text unchanged.
|
|
48
|
+
*/
|
|
49
|
+
const translationKey = (text) => {
|
|
50
|
+
return text;
|
|
51
|
+
};
|
|
52
|
+
/*
|
|
53
|
+
* How long a service may send nothing before it shows "No recent data".
|
|
54
|
+
* Well above the minute lastSeenAt is throttled to (ServiceService's
|
|
55
|
+
* LAST_SEEN_THROTTLE_SECONDS) and the five minutes it can trail live
|
|
56
|
+
* traffic by (the OpenTelemetry ingest's maintenance fence), so a busy
|
|
57
|
+
* service never flaps. The words below say this number.
|
|
58
|
+
*/
|
|
59
|
+
exports.SERVICE_NO_RECENT_DATA_AFTER_MINUTES = 30;
|
|
60
|
+
exports.SERVICE_NO_RECENT_DATA_AFTER_MS = exports.SERVICE_NO_RECENT_DATA_AFTER_MINUTES * 60 * 1000;
|
|
61
|
+
var ServiceTelemetryStatus;
|
|
62
|
+
(function (ServiceTelemetryStatus) {
|
|
63
|
+
ServiceTelemetryStatus["ReceivingData"] = "receiving-data";
|
|
64
|
+
ServiceTelemetryStatus["NoRecentData"] = "no-recent-data";
|
|
65
|
+
ServiceTelemetryStatus["WaitingForData"] = "waiting-for-data";
|
|
66
|
+
})(ServiceTelemetryStatus || (exports.ServiceTelemetryStatus = ServiceTelemetryStatus = {}));
|
|
67
|
+
exports.SERVICE_RECEIVING_DATA_LABEL = translationKey("Receiving data");
|
|
68
|
+
exports.SERVICE_NO_RECENT_DATA_LABEL = translationKey("No recent data");
|
|
69
|
+
exports.SERVICE_WAITING_FOR_DATA_LABEL = translationKey("Waiting for data");
|
|
70
|
+
exports.SERVICE_RECEIVING_DATA_DESCRIPTION = translationKey("Data has arrived from this service in the last 30 minutes.");
|
|
71
|
+
exports.SERVICE_NO_RECENT_DATA_DESCRIPTION = translationKey("Nothing has arrived in the last 30 minutes. A service that sends data only while it handles requests is quiet when nobody calls it. If it should be busy, check that it is running and still sends its telemetry to OneUptime with this service.name.");
|
|
72
|
+
exports.SERVICE_WAITING_FOR_DATA_DESCRIPTION = translationKey("Nothing has arrived from this service yet. Send its OpenTelemetry data with service.name set to exactly this service's name.");
|
|
73
|
+
const SERVICE_TELEMETRY_STATUS_WORDS = {
|
|
74
|
+
[ServiceTelemetryStatus.ReceivingData]: {
|
|
75
|
+
label: exports.SERVICE_RECEIVING_DATA_LABEL,
|
|
76
|
+
description: exports.SERVICE_RECEIVING_DATA_DESCRIPTION,
|
|
77
|
+
tone: "positive",
|
|
78
|
+
},
|
|
79
|
+
[ServiceTelemetryStatus.NoRecentData]: {
|
|
80
|
+
label: exports.SERVICE_NO_RECENT_DATA_LABEL,
|
|
81
|
+
description: exports.SERVICE_NO_RECENT_DATA_DESCRIPTION,
|
|
82
|
+
tone: "neutral",
|
|
83
|
+
},
|
|
84
|
+
[ServiceTelemetryStatus.WaitingForData]: {
|
|
85
|
+
label: exports.SERVICE_WAITING_FOR_DATA_LABEL,
|
|
86
|
+
description: exports.SERVICE_WAITING_FOR_DATA_DESCRIPTION,
|
|
87
|
+
tone: "neutral",
|
|
88
|
+
},
|
|
89
|
+
};
|
|
90
|
+
/*
|
|
91
|
+
* When telemetry last arrived, or null when it never has. A value that
|
|
92
|
+
* does not parse to a real date is treated as never: "last seen Invalid
|
|
93
|
+
* Date ago" helps nobody.
|
|
94
|
+
*/
|
|
95
|
+
const getServiceLastDataAt = (lastSeenAt) => {
|
|
96
|
+
if (!lastSeenAt) {
|
|
97
|
+
return null;
|
|
98
|
+
}
|
|
99
|
+
const date = lastSeenAt instanceof Date ? lastSeenAt : new Date(lastSeenAt);
|
|
100
|
+
return isNaN(date.getTime()) ? null : date;
|
|
101
|
+
};
|
|
102
|
+
exports.getServiceLastDataAt = getServiceLastDataAt;
|
|
103
|
+
/*
|
|
104
|
+
* Whether data that arrived at `lastDataAt` still counts as arriving at
|
|
105
|
+
* `now`: at most SERVICE_NO_RECENT_DATA_AFTER_MINUTES ago, or ahead of the
|
|
106
|
+
* reader's clock. A `now` that is not a real date counts nothing as
|
|
107
|
+
* recent: the age is then not a number, which no window holds.
|
|
108
|
+
*/
|
|
109
|
+
const isServiceDataRecent = (lastDataAt, now) => {
|
|
110
|
+
const age = now.getTime() - lastDataAt.getTime();
|
|
111
|
+
return age <= exports.SERVICE_NO_RECENT_DATA_AFTER_MS;
|
|
112
|
+
};
|
|
113
|
+
exports.isServiceDataRecent = isServiceDataRecent;
|
|
114
|
+
const getServiceTelemetryStatus = (input) => {
|
|
115
|
+
const lastDataAt = (0, exports.getServiceLastDataAt)(input.lastSeenAt);
|
|
116
|
+
if (!lastDataAt) {
|
|
117
|
+
return ServiceTelemetryStatus.WaitingForData;
|
|
118
|
+
}
|
|
119
|
+
return (0, exports.isServiceDataRecent)(lastDataAt, input.now)
|
|
120
|
+
? ServiceTelemetryStatus.ReceivingData
|
|
121
|
+
: ServiceTelemetryStatus.NoRecentData;
|
|
122
|
+
};
|
|
123
|
+
exports.getServiceTelemetryStatus = getServiceTelemetryStatus;
|
|
124
|
+
/*
|
|
125
|
+
* The words and colour for a status. Anything that is not one of the three
|
|
126
|
+
* reads as waiting, the state that claims the least.
|
|
127
|
+
*/
|
|
128
|
+
const getServiceTelemetryStatusWords = (status) => {
|
|
129
|
+
return (SERVICE_TELEMETRY_STATUS_WORDS[status] ||
|
|
130
|
+
SERVICE_TELEMETRY_STATUS_WORDS[ServiceTelemetryStatus.WaitingForData]);
|
|
131
|
+
};
|
|
132
|
+
exports.getServiceTelemetryStatusWords = getServiceTelemetryStatusWords;
|
|
133
|
+
// The status, its words and when data last arrived, from the record.
|
|
134
|
+
const describeServiceTelemetryStatus = (input) => {
|
|
135
|
+
const status = (0, exports.getServiceTelemetryStatus)(input);
|
|
136
|
+
return Object.assign(Object.assign({ status }, (0, exports.getServiceTelemetryStatusWords)(status)), { lastDataAt: (0, exports.getServiceLastDataAt)(input.lastSeenAt) });
|
|
137
|
+
};
|
|
138
|
+
exports.describeServiceTelemetryStatus = describeServiceTelemetryStatus;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import commonJsModule from "./ServiceTelemetryStatus.js";
|
|
2
|
+
export const SERVICE_NO_RECENT_DATA_AFTER_MINUTES = commonJsModule.SERVICE_NO_RECENT_DATA_AFTER_MINUTES;
|
|
3
|
+
export const SERVICE_NO_RECENT_DATA_AFTER_MS = commonJsModule.SERVICE_NO_RECENT_DATA_AFTER_MS;
|
|
4
|
+
export const SERVICE_NO_RECENT_DATA_DESCRIPTION = commonJsModule.SERVICE_NO_RECENT_DATA_DESCRIPTION;
|
|
5
|
+
export const SERVICE_NO_RECENT_DATA_LABEL = commonJsModule.SERVICE_NO_RECENT_DATA_LABEL;
|
|
6
|
+
export const SERVICE_RECEIVING_DATA_DESCRIPTION = commonJsModule.SERVICE_RECEIVING_DATA_DESCRIPTION;
|
|
7
|
+
export const SERVICE_RECEIVING_DATA_LABEL = commonJsModule.SERVICE_RECEIVING_DATA_LABEL;
|
|
8
|
+
export const SERVICE_WAITING_FOR_DATA_DESCRIPTION = commonJsModule.SERVICE_WAITING_FOR_DATA_DESCRIPTION;
|
|
9
|
+
export const SERVICE_WAITING_FOR_DATA_LABEL = commonJsModule.SERVICE_WAITING_FOR_DATA_LABEL;
|
|
10
|
+
export const ServiceTelemetryStatus = commonJsModule.ServiceTelemetryStatus;
|
|
11
|
+
export const describeServiceTelemetryStatus = commonJsModule.describeServiceTelemetryStatus;
|
|
12
|
+
export const getServiceLastDataAt = commonJsModule.getServiceLastDataAt;
|
|
13
|
+
export const getServiceTelemetryStatus = commonJsModule.getServiceTelemetryStatus;
|
|
14
|
+
export const getServiceTelemetryStatusWords = commonJsModule.getServiceTelemetryStatusWords;
|
|
15
|
+
export const isServiceDataRecent = commonJsModule.isServiceDataRecent;
|