@oneuptime/common 14.0.104 → 14.0.106
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Models/AnalyticsModels/CloudCost.d.mts +2 -0
- package/Models/AnalyticsModels/CloudCost.d.ts +2 -0
- package/Models/AnalyticsModels/CloudCost.js +27 -0
- package/Models/AnalyticsModels/Index.js +8 -0
- package/Models/AnalyticsModels/RumProductAnalyticsSession.d.mts +14 -0
- package/Models/AnalyticsModels/RumProductAnalyticsSession.d.ts +14 -0
- package/Models/AnalyticsModels/RumProductAnalyticsSession.js +410 -0
- package/Models/AnalyticsModels/RumProductAnalyticsSession.mjs +11 -0
- package/Models/AnalyticsModels/RumProductAnalyticsUser.d.mts +4 -0
- package/Models/AnalyticsModels/RumProductAnalyticsUser.d.ts +4 -0
- package/Models/AnalyticsModels/RumProductAnalyticsUser.js +210 -0
- package/Models/AnalyticsModels/RumProductAnalyticsUser.mjs +2 -0
- package/Models/AnalyticsModels/RumSession.js +66 -12
- package/Models/AnalyticsModels/RumSessionChunk.js +30 -2
- package/Models/DatabaseModels/AIAgentTaskPullRequest.js +24 -9
- package/Models/DatabaseModels/AIRun.d.mts +4 -0
- package/Models/DatabaseModels/AIRun.d.ts +4 -0
- package/Models/DatabaseModels/AIRun.js +107 -0
- package/Models/DatabaseModels/Alert.d.mts +2 -0
- package/Models/DatabaseModels/Alert.d.ts +2 -0
- package/Models/DatabaseModels/Alert.js +70 -0
- package/Models/DatabaseModels/AlertEpisodeOnCallRuleOwningTeam.d.mts +18 -0
- package/Models/DatabaseModels/AlertEpisodeOnCallRuleOwningTeam.d.ts +18 -0
- package/Models/DatabaseModels/AlertEpisodeOnCallRuleOwningTeam.js +456 -0
- package/Models/DatabaseModels/AlertEpisodeOnCallRuleOwningTeam.mjs +2 -0
- package/Models/DatabaseModels/AlertGroupingRule.d.mts +2 -0
- package/Models/DatabaseModels/AlertGroupingRule.d.ts +2 -0
- package/Models/DatabaseModels/AlertGroupingRule.js +85 -0
- package/Models/DatabaseModels/AlertOnCallRuleOwningTeam.d.mts +18 -0
- package/Models/DatabaseModels/AlertOnCallRuleOwningTeam.d.ts +18 -0
- package/Models/DatabaseModels/AlertOnCallRuleOwningTeam.js +456 -0
- package/Models/DatabaseModels/AlertOnCallRuleOwningTeam.mjs +2 -0
- package/Models/DatabaseModels/AuditLogExport.d.mts +1 -0
- package/Models/DatabaseModels/AuditLogExport.d.ts +1 -0
- package/Models/DatabaseModels/AuditLogExport.js +32 -0
- package/Models/DatabaseModels/AutoRemediationSuggestion.d.mts +4 -0
- package/Models/DatabaseModels/AutoRemediationSuggestion.d.ts +4 -0
- package/Models/DatabaseModels/AutoRemediationSuggestion.js +109 -0
- package/Models/DatabaseModels/CephCluster.d.mts +1 -0
- package/Models/DatabaseModels/CephCluster.d.ts +1 -0
- package/Models/DatabaseModels/CephCluster.js +36 -0
- package/Models/DatabaseModels/CloudAccount.d.mts +2 -0
- package/Models/DatabaseModels/CloudAccount.d.ts +2 -0
- package/Models/DatabaseModels/CloudAccount.js +48 -0
- package/Models/DatabaseModels/CloudBudget.d.mts +1 -0
- package/Models/DatabaseModels/CloudBudget.d.ts +1 -0
- package/Models/DatabaseModels/CloudBudget.js +38 -3
- package/Models/DatabaseModels/CloudConnection.d.mts +1 -0
- package/Models/DatabaseModels/CloudConnection.d.ts +1 -0
- package/Models/DatabaseModels/CloudConnection.js +27 -6
- package/Models/DatabaseModels/CloudCostRecommendation.d.mts +2 -0
- package/Models/DatabaseModels/CloudCostRecommendation.d.ts +2 -0
- package/Models/DatabaseModels/CloudCostRecommendation.js +30 -2
- package/Models/DatabaseModels/CodeRepository.js +23 -6
- package/Models/DatabaseModels/DataStoreFinding.js +8 -2
- package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.d.mts +2 -1
- package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.d.ts +2 -1
- package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.js +21 -0
- package/Models/DatabaseModels/DatabaseBaseModel/OnCallRuleBaseModel.d.mts +2 -0
- package/Models/DatabaseModels/DatabaseBaseModel/OnCallRuleBaseModel.d.ts +2 -0
- package/Models/DatabaseModels/DatabaseBaseModel/OnCallRuleBaseModel.js +35 -1
- package/Models/DatabaseModels/DatabaseServer.d.mts +1 -0
- package/Models/DatabaseModels/DatabaseServer.d.ts +1 -0
- package/Models/DatabaseModels/DatabaseServer.js +36 -0
- package/Models/DatabaseModels/DetectionRule.js +8 -7
- package/Models/DatabaseModels/DockerHost.d.mts +1 -0
- package/Models/DatabaseModels/DockerHost.d.ts +1 -0
- package/Models/DatabaseModels/DockerHost.js +36 -0
- package/Models/DatabaseModels/DockerSwarmCluster.d.mts +1 -0
- package/Models/DatabaseModels/DockerSwarmCluster.d.ts +1 -0
- package/Models/DatabaseModels/DockerSwarmCluster.js +36 -0
- package/Models/DatabaseModels/GlobalConfig.d.mts +36 -1
- package/Models/DatabaseModels/GlobalConfig.d.ts +36 -1
- package/Models/DatabaseModels/GlobalConfig.js +635 -2
- package/Models/DatabaseModels/Host.d.mts +1 -0
- package/Models/DatabaseModels/Host.d.ts +1 -0
- package/Models/DatabaseModels/Host.js +36 -0
- package/Models/DatabaseModels/Incident.d.mts +2 -0
- package/Models/DatabaseModels/Incident.d.ts +2 -0
- package/Models/DatabaseModels/Incident.js +70 -0
- package/Models/DatabaseModels/IncidentEpisodeFeed.d.mts +2 -1
- package/Models/DatabaseModels/IncidentEpisodeFeed.d.ts +2 -1
- package/Models/DatabaseModels/IncidentEpisodeFeed.js +7 -0
- package/Models/DatabaseModels/IncidentEpisodeOnCallRuleOwningTeam.d.mts +18 -0
- package/Models/DatabaseModels/IncidentEpisodeOnCallRuleOwningTeam.d.ts +18 -0
- package/Models/DatabaseModels/IncidentEpisodeOnCallRuleOwningTeam.js +456 -0
- package/Models/DatabaseModels/IncidentEpisodeOnCallRuleOwningTeam.mjs +2 -0
- package/Models/DatabaseModels/IncidentEpisodePublicNote.d.mts +5 -0
- package/Models/DatabaseModels/IncidentEpisodePublicNote.d.ts +5 -0
- package/Models/DatabaseModels/IncidentEpisodePublicNote.js +185 -0
- package/Models/DatabaseModels/IncidentFeed.d.mts +2 -1
- package/Models/DatabaseModels/IncidentFeed.d.ts +2 -1
- package/Models/DatabaseModels/IncidentFeed.js +7 -0
- package/Models/DatabaseModels/IncidentGroupingRule.d.mts +2 -0
- package/Models/DatabaseModels/IncidentGroupingRule.d.ts +2 -0
- package/Models/DatabaseModels/IncidentGroupingRule.js +85 -0
- package/Models/DatabaseModels/IncidentOnCallRuleOwningTeam.d.mts +18 -0
- package/Models/DatabaseModels/IncidentOnCallRuleOwningTeam.d.ts +18 -0
- package/Models/DatabaseModels/IncidentOnCallRuleOwningTeam.js +456 -0
- package/Models/DatabaseModels/IncidentOnCallRuleOwningTeam.mjs +2 -0
- package/Models/DatabaseModels/IncidentOwnerRuleOwningTeam.d.mts +18 -0
- package/Models/DatabaseModels/IncidentOwnerRuleOwningTeam.d.ts +18 -0
- package/Models/DatabaseModels/IncidentOwnerRuleOwningTeam.js +456 -0
- package/Models/DatabaseModels/IncidentOwnerRuleOwningTeam.mjs +2 -0
- package/Models/DatabaseModels/IncidentPublicNote.d.mts +5 -0
- package/Models/DatabaseModels/IncidentPublicNote.d.ts +5 -0
- package/Models/DatabaseModels/IncidentPublicNote.js +185 -0
- package/Models/DatabaseModels/Index.js +24 -0
- package/Models/DatabaseModels/KubernetesCluster.d.mts +1 -0
- package/Models/DatabaseModels/KubernetesCluster.d.ts +1 -0
- package/Models/DatabaseModels/KubernetesCluster.js +36 -0
- package/Models/DatabaseModels/LlmProvider.d.mts +1 -0
- package/Models/DatabaseModels/LlmProvider.d.ts +1 -0
- package/Models/DatabaseModels/LlmProvider.js +39 -0
- package/Models/DatabaseModels/Monitor.d.mts +2 -0
- package/Models/DatabaseModels/Monitor.d.ts +2 -0
- package/Models/DatabaseModels/Monitor.js +98 -2
- package/Models/DatabaseModels/NetworkDeviceDiscoveryImport.js +11 -6
- package/Models/DatabaseModels/NetworkEndpoint.d.mts +1 -0
- package/Models/DatabaseModels/NetworkEndpoint.d.ts +1 -0
- package/Models/DatabaseModels/NetworkEndpoint.js +48 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.mts +1 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.ts +1 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +54 -0
- package/Models/DatabaseModels/OpenStackCloud.d.mts +1 -0
- package/Models/DatabaseModels/OpenStackCloud.d.ts +1 -0
- package/Models/DatabaseModels/OpenStackCloud.js +27 -0
- package/Models/DatabaseModels/PacketCapture.js +3 -1
- package/Models/DatabaseModels/PodmanHost.d.mts +1 -0
- package/Models/DatabaseModels/PodmanHost.d.ts +1 -0
- package/Models/DatabaseModels/PodmanHost.js +36 -0
- package/Models/DatabaseModels/Project.d.mts +19 -0
- package/Models/DatabaseModels/Project.d.ts +19 -0
- package/Models/DatabaseModels/Project.js +541 -0
- package/Models/DatabaseModels/ProjectSmtpConfig.d.mts +10 -0
- package/Models/DatabaseModels/ProjectSmtpConfig.d.ts +10 -0
- package/Models/DatabaseModels/ProjectSmtpConfig.js +335 -1
- package/Models/DatabaseModels/ProxmoxCluster.d.mts +1 -0
- package/Models/DatabaseModels/ProxmoxCluster.d.ts +1 -0
- package/Models/DatabaseModels/ProxmoxCluster.js +36 -0
- package/Models/DatabaseModels/PublicNoteApprovalRequest.d.mts +29 -0
- package/Models/DatabaseModels/PublicNoteApprovalRequest.d.ts +29 -0
- package/Models/DatabaseModels/PublicNoteApprovalRequest.js +460 -0
- package/Models/DatabaseModels/PublicNoteApprovalRequest.mjs +3 -0
- package/Models/DatabaseModels/PublicNoteApprovalStep.d.mts +19 -0
- package/Models/DatabaseModels/PublicNoteApprovalStep.d.ts +19 -0
- package/Models/DatabaseModels/PublicNoteApprovalStep.js +363 -0
- package/Models/DatabaseModels/PublicNoteApprovalStep.mjs +2 -0
- package/Models/DatabaseModels/RumApplication.d.mts +6 -0
- package/Models/DatabaseModels/RumApplication.d.ts +6 -0
- package/Models/DatabaseModels/RumApplication.js +202 -2
- package/Models/DatabaseModels/ScheduledMaintenance.d.mts +2 -0
- package/Models/DatabaseModels/ScheduledMaintenance.d.ts +2 -0
- package/Models/DatabaseModels/ScheduledMaintenance.js +63 -0
- package/Models/DatabaseModels/ScheduledMaintenanceFeed.d.mts +2 -1
- package/Models/DatabaseModels/ScheduledMaintenanceFeed.d.ts +2 -1
- package/Models/DatabaseModels/ScheduledMaintenanceFeed.js +7 -0
- package/Models/DatabaseModels/ScheduledMaintenancePublicNote.d.mts +5 -0
- package/Models/DatabaseModels/ScheduledMaintenancePublicNote.d.ts +5 -0
- package/Models/DatabaseModels/ScheduledMaintenancePublicNote.js +185 -0
- package/Models/DatabaseModels/ServerlessFunction.js +10 -2
- package/Models/DatabaseModels/ServiceLevelObjective.d.mts +5 -0
- package/Models/DatabaseModels/ServiceLevelObjective.d.ts +5 -0
- package/Models/DatabaseModels/ServiceLevelObjective.js +174 -3
- package/Models/DatabaseModels/ServiceLevelObjectiveBurnRateRule.js +1 -1
- package/Models/DatabaseModels/ServiceLevelObjectiveErrorBudgetPolicyTier.d.mts +54 -0
- package/Models/DatabaseModels/ServiceLevelObjectiveErrorBudgetPolicyTier.d.ts +54 -0
- package/Models/DatabaseModels/ServiceLevelObjectiveErrorBudgetPolicyTier.js +1674 -0
- package/Models/DatabaseModels/ServiceLevelObjectiveErrorBudgetPolicyTier.mjs +2 -0
- package/Models/DatabaseModels/ServiceLevelObjectiveFeed.d.mts +8 -1
- package/Models/DatabaseModels/ServiceLevelObjectiveFeed.d.ts +8 -1
- package/Models/DatabaseModels/ServiceLevelObjectiveFeed.js +14 -0
- package/Models/DatabaseModels/TelemetryIngestionKey.d.mts +10 -0
- package/Models/DatabaseModels/TelemetryIngestionKey.d.ts +10 -0
- package/Models/DatabaseModels/TelemetryIngestionKey.js +199 -0
- package/Models/DatabaseModels/TelemetryIngestionKeyRefusal.d.mts +19 -0
- package/Models/DatabaseModels/TelemetryIngestionKeyRefusal.d.ts +19 -0
- package/Models/DatabaseModels/TelemetryIngestionKeyRefusal.js +297 -0
- package/Models/DatabaseModels/TelemetryIngestionKeyRefusal.mjs +2 -0
- package/Models/DatabaseModels/TelemetryUsageBilling.js +35 -122
- package/Models/DatabaseModels/User.d.mts +1 -0
- package/Models/DatabaseModels/User.d.ts +1 -0
- package/Models/DatabaseModels/User.js +29 -0
- package/Models/DatabaseModels/UserSession.js +10 -4
- package/Models/DatabaseModels/VMwareVCenter.d.mts +1 -0
- package/Models/DatabaseModels/VMwareVCenter.d.ts +1 -0
- package/Models/DatabaseModels/VMwareVCenter.js +36 -0
- package/Models/DatabaseModels/Workflow.d.mts +1 -0
- package/Models/DatabaseModels/Workflow.d.ts +1 -0
- package/Models/DatabaseModels/Workflow.js +45 -0
- package/Models/DatabaseModels/WorkflowVersion.d.mts +24 -0
- package/Models/DatabaseModels/WorkflowVersion.d.ts +24 -0
- package/Models/DatabaseModels/WorkflowVersion.js +529 -0
- package/Models/DatabaseModels/WorkflowVersion.mjs +2 -0
- package/Models/DatabaseModels/WorkspaceNotificationRuleOwningTeam.d.mts +18 -0
- package/Models/DatabaseModels/WorkspaceNotificationRuleOwningTeam.d.ts +18 -0
- package/Models/DatabaseModels/WorkspaceNotificationRuleOwningTeam.js +499 -0
- package/Models/DatabaseModels/WorkspaceNotificationRuleOwningTeam.mjs +2 -0
- package/Models/DatabaseModels/WorkspacePublicNoteApprovalMessage.d.mts +31 -0
- package/Models/DatabaseModels/WorkspacePublicNoteApprovalMessage.d.ts +31 -0
- package/Models/DatabaseModels/WorkspacePublicNoteApprovalMessage.js +537 -0
- package/Models/DatabaseModels/WorkspacePublicNoteApprovalMessage.mjs +2 -0
- package/Server/Services/DatabaseService.d.mts +4 -0
- package/Server/Services/DatabaseService.d.ts +4 -0
- package/Server/Types/Database/UpdateByID.d.mts +1 -0
- package/Server/Types/Database/UpdateByID.d.ts +1 -0
- package/Server/Types/Database/UpdateOneBy.d.mts +1 -0
- package/Server/Types/Database/UpdateOneBy.d.ts +1 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.mts +7 -1
- package/Server/Utils/Workspace/WorkspaceBase.d.ts +7 -1
- package/Types/AI/AIActionWords.d.mts +16 -0
- package/Types/AI/AIActionWords.d.ts +16 -0
- package/Types/AI/AIActionWords.js +105 -1
- package/Types/AI/AIActionWords.mjs +3 -0
- package/Types/AI/AIAgentRunLimits.d.mts +76 -13
- package/Types/AI/AIAgentRunLimits.d.ts +76 -13
- package/Types/AI/AIAgentRunLimits.js +434 -51
- package/Types/AI/AIAgentRunLimits.mjs +10 -2
- package/Types/AI/AIChatRecordSeen.d.mts +49 -0
- package/Types/AI/AIChatRecordSeen.d.ts +49 -0
- package/Types/AI/AIChatRecordSeen.js +337 -0
- package/Types/AI/AIChatRecordSeen.mjs +12 -0
- package/Types/AI/AIChatTypes.d.mts +7 -0
- package/Types/AI/AIChatTypes.d.ts +7 -0
- package/Types/AI/AIChatTypes.js +15 -1
- package/Types/AI/AIChatTypes.mjs +1 -0
- package/Types/AI/AIRunAttempt.d.mts +30 -0
- package/Types/AI/AIRunAttempt.d.ts +30 -0
- package/Types/AI/AIRunAttempt.js +175 -0
- package/Types/AI/AIRunAttempt.mjs +5 -0
- package/Types/AI/AIRunEventType.d.mts +3 -0
- package/Types/AI/AIRunEventType.d.ts +3 -0
- package/Types/AI/AIRunEventType.js +28 -0
- package/Types/AI/AIRunStatus.d.mts +2 -0
- package/Types/AI/AIRunStatus.d.ts +2 -0
- package/Types/AI/AIRunStatus.js +12 -0
- package/Types/AI/AgentLoopDetector.d.mts +29 -0
- package/Types/AI/AgentLoopDetector.d.ts +29 -0
- package/Types/AI/AgentLoopDetector.js +196 -0
- package/Types/AI/AgentLoopDetector.mjs +9 -0
- package/Types/AI/CodeAgentRunLimits.d.mts +28 -0
- package/Types/AI/CodeAgentRunLimits.d.ts +28 -0
- package/Types/AI/CodeAgentRunLimits.js +163 -0
- package/Types/AI/CodeAgentRunLimits.mjs +2 -0
- package/Types/AI/CodeFixTaskContext.d.mts +2 -0
- package/Types/AI/CodeFixTaskContext.d.ts +2 -0
- package/Types/AI/CodeTask.d.mts +20 -0
- package/Types/AI/CodeTask.d.ts +20 -0
- package/Types/AI/CodeTask.js +23 -1
- package/Types/AI/CodeTask.mjs +4 -0
- package/Types/AI/CodeTaskRetry.d.mts +21 -0
- package/Types/AI/CodeTaskRetry.d.ts +21 -0
- package/Types/AI/CodeTaskRetry.js +61 -0
- package/Types/AI/CodeTaskRetry.mjs +4 -0
- package/Types/AI/CodeTaskStage.d.mts +19 -0
- package/Types/AI/CodeTaskStage.d.ts +19 -0
- package/Types/AI/CodeTaskStage.js +78 -0
- package/Types/AI/CodeTaskStage.mjs +3 -0
- package/Types/AI/ExternalMcpServer/ExternalMcpServerLimits.d.mts +0 -1
- package/Types/AI/ExternalMcpServer/ExternalMcpServerLimits.d.ts +0 -1
- package/Types/AI/ExternalMcpServer/ExternalMcpServerLimits.js +6 -4
- package/Types/AI/ExternalMcpServer/ExternalMcpServerLimits.mjs +0 -1
- package/Types/AI/ProjectAiRunLimits.d.mts +24 -0
- package/Types/AI/ProjectAiRunLimits.d.ts +24 -0
- package/Types/AI/ProjectAiRunLimits.js +137 -0
- package/Types/AI/ProjectAiRunLimits.mjs +9 -0
- package/Types/AI/ResourceAiAccessApi.d.mts +1 -0
- package/Types/AI/ResourceAiAccessApi.d.ts +1 -0
- package/Types/AI/ResourceAiAccessApi.js +6 -1
- package/Types/AI/ResourceAiAccessApi.mjs +1 -0
- package/Types/AI/ResourceAiAccessPermissions.d.mts +2 -0
- package/Types/AI/ResourceAiAccessPermissions.d.ts +2 -0
- package/Types/AI/ResourceAiAccessPermissions.js +13 -0
- package/Types/AI/ResourceAiAccessPermissions.mjs +2 -0
- package/Types/AI/TransientAIFailure.d.mts +16 -0
- package/Types/AI/TransientAIFailure.d.ts +16 -0
- package/Types/AI/TransientAIFailure.js +228 -0
- package/Types/AI/TransientAIFailure.mjs +4 -0
- package/Types/Accounts/AccountsLanguage.js +1 -0
- package/Types/AdminDashboard/AdminDashboardLanguage.js +1 -0
- package/Types/AnalyticsDatabase/AnalyticsTableName.d.mts +3 -1
- package/Types/AnalyticsDatabase/AnalyticsTableName.d.ts +3 -1
- package/Types/AnalyticsDatabase/AnalyticsTableName.js +16 -0
- package/Types/AuditLog/AuditLogCoverage.d.mts +40 -0
- package/Types/AuditLog/AuditLogCoverage.d.ts +40 -0
- package/Types/AuditLog/AuditLogCoverage.js +804 -0
- package/Types/AuditLog/AuditLogCoverage.mjs +17 -0
- package/Types/AuditLog/Export/AuditLogExportDestinationCatalog.d.mts +13 -1
- package/Types/AuditLog/Export/AuditLogExportDestinationCatalog.d.ts +13 -1
- package/Types/AuditLog/Export/AuditLogExportDestinationCatalog.js +92 -8
- package/Types/AuditLog/Export/AuditLogExportDestinationCatalog.mjs +5 -0
- package/Types/AuditLog/Export/AuditLogExportRecord.d.mts +14 -4
- package/Types/AuditLog/Export/AuditLogExportRecord.d.ts +14 -4
- package/Types/AuditLog/Export/AuditLogExportRecord.js +86 -29
- package/Types/AuditLog/Export/AuditLogExportRecord.mjs +7 -0
- package/Types/AutoRemediation/RemediationApprovals.d.mts +16 -0
- package/Types/AutoRemediation/RemediationApprovals.d.ts +16 -0
- package/Types/AutoRemediation/RemediationApprovals.js +92 -0
- package/Types/AutoRemediation/RemediationApprovals.mjs +7 -0
- package/Types/AutoRemediation/RemediationRound.d.mts +56 -0
- package/Types/AutoRemediation/RemediationRound.d.ts +56 -0
- package/Types/AutoRemediation/RemediationRound.js +242 -0
- package/Types/AutoRemediation/RemediationRound.mjs +22 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.mts +2 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.ts +2 -0
- package/Types/BaseDatabase/EnableAuditLogOn.d.mts +1 -0
- package/Types/BaseDatabase/EnableAuditLogOn.d.ts +1 -0
- package/Types/BaseDatabase/WriteSource.d.mts +6 -0
- package/Types/BaseDatabase/WriteSource.d.ts +6 -0
- package/Types/BaseDatabase/WriteSource.js +25 -0
- package/Types/BaseDatabase/WriteSource.mjs +4 -0
- package/Types/Cloud/CloudCommitments.d.mts +74 -0
- package/Types/Cloud/CloudCommitments.d.ts +74 -0
- package/Types/Cloud/CloudCommitments.js +294 -0
- package/Types/Cloud/CloudCommitments.mjs +17 -0
- package/Types/Cloud/CloudConnectionTelemetry.d.mts +3 -0
- package/Types/Cloud/CloudConnectionTelemetry.d.ts +3 -0
- package/Types/Cloud/CloudConnectionTelemetry.js +28 -0
- package/Types/Cloud/CloudConnectionTelemetry.mjs +3 -0
- package/Types/Cloud/CloudCost.d.mts +30 -0
- package/Types/Cloud/CloudCost.d.ts +30 -0
- package/Types/Cloud/CloudCost.js +163 -1
- package/Types/Cloud/CloudCost.mjs +8 -0
- package/Types/Cloud/CloudCostAnomaly.d.mts +34 -0
- package/Types/Cloud/CloudCostAnomaly.d.ts +34 -0
- package/Types/Cloud/CloudCostAnomaly.js +236 -0
- package/Types/Cloud/CloudCostAnomaly.mjs +18 -0
- package/Types/Cloud/CloudKeyMetrics.d.mts +13 -0
- package/Types/Cloud/CloudKeyMetrics.d.ts +13 -0
- package/Types/Cloud/CloudKeyMetrics.js +174 -1
- package/Types/Cloud/CloudKeyMetrics.mjs +10 -0
- package/Types/Cloud/CloudLogGroups.d.mts +33 -2
- package/Types/Cloud/CloudLogGroups.d.ts +33 -2
- package/Types/Cloud/CloudLogGroups.js +245 -8
- package/Types/Cloud/CloudLogGroups.mjs +12 -0
- package/Types/Cloud/CloudMonitoredResource.d.mts +1 -0
- package/Types/Cloud/CloudMonitoredResource.d.ts +1 -0
- package/Types/Cloud/CloudMonitoredResource.js +23 -0
- package/Types/Cloud/CloudMonitoredResource.mjs +1 -0
- package/Types/Cloud/CloudPlatform.js +9 -8
- package/Types/Cloud/CloudPlatformCosts.d.mts +54 -0
- package/Types/Cloud/CloudPlatformCosts.d.ts +54 -0
- package/Types/Cloud/CloudPlatformCosts.js +249 -0
- package/Types/Cloud/CloudPlatformCosts.mjs +7 -0
- package/Types/Cloud/CloudResourceCatalog.js +10 -0
- package/Types/Cloud/CloudResourceHealth.d.mts +1 -0
- package/Types/Cloud/CloudResourceHealth.d.ts +1 -0
- package/Types/Cloud/CloudResourceHealth.js +4 -1
- package/Types/Cloud/CloudResourceMetricAggregation.d.mts +21 -0
- package/Types/Cloud/CloudResourceMetricAggregation.d.ts +21 -0
- package/Types/Cloud/CloudResourceMetricAggregation.js +140 -0
- package/Types/Cloud/CloudResourceMetricAggregation.mjs +4 -0
- package/Types/Cloud/CloudRightSizing.d.mts +140 -0
- package/Types/Cloud/CloudRightSizing.d.ts +140 -0
- package/Types/Cloud/CloudRightSizing.js +867 -0
- package/Types/Cloud/CloudRightSizing.mjs +53 -0
- package/Types/Cloud/CloudWatchLogSeverity.d.mts +7 -0
- package/Types/Cloud/CloudWatchLogSeverity.d.ts +7 -0
- package/Types/Cloud/CloudWatchLogSeverity.js +182 -0
- package/Types/Cloud/CloudWatchLogSeverity.mjs +4 -0
- package/Types/Cloud/RdsConnectionLimits.d.mts +53 -0
- package/Types/Cloud/RdsConnectionLimits.d.ts +53 -0
- package/Types/Cloud/RdsConnectionLimits.js +404 -0
- package/Types/Cloud/RdsConnectionLimits.mjs +24 -0
- package/Types/CloudConnection/AwsStackSets.d.mts +51 -0
- package/Types/CloudConnection/AwsStackSets.d.ts +51 -0
- package/Types/CloudConnection/AwsStackSets.js +188 -0
- package/Types/CloudConnection/AwsStackSets.mjs +15 -0
- package/Types/CloudConnection/CloudAiAgentKey.d.mts +65 -0
- package/Types/CloudConnection/CloudAiAgentKey.d.ts +65 -0
- package/Types/CloudConnection/CloudAiAgentKey.js +289 -0
- package/Types/CloudConnection/CloudAiAgentKey.mjs +18 -0
- package/Types/CloudConnection/CloudAiAgentSetupCommands.d.mts +38 -2
- package/Types/CloudConnection/CloudAiAgentSetupCommands.d.ts +38 -2
- package/Types/CloudConnection/CloudAiAgentSetupCommands.js +580 -94
- package/Types/CloudConnection/CloudAiAgentSetupCommands.mjs +20 -1
- package/Types/CloudConnection/CloudConnectionCatalog.d.mts +3 -0
- package/Types/CloudConnection/CloudConnectionCatalog.d.ts +3 -0
- package/Types/CloudConnection/CloudConnectionCatalog.js +31 -1
- package/Types/CloudConnection/CloudConnectionCatalog.mjs +2 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.js +24 -7
- package/Types/CloudConnection/CloudOrganizationAgents.d.mts +45 -0
- package/Types/CloudConnection/CloudOrganizationAgents.d.ts +45 -0
- package/Types/CloudConnection/CloudOrganizationAgents.js +182 -0
- package/Types/CloudConnection/CloudOrganizationAgents.mjs +12 -0
- package/Types/CloudConnection/CloudStream.d.mts +50 -1
- package/Types/CloudConnection/CloudStream.d.ts +50 -1
- package/Types/CloudConnection/CloudStream.js +333 -23
- package/Types/CloudConnection/CloudStream.mjs +35 -0
- package/Types/CloudConnection/CloudStreamAzure.d.mts +60 -0
- package/Types/CloudConnection/CloudStreamAzure.d.ts +60 -0
- package/Types/CloudConnection/CloudStreamAzure.js +418 -0
- package/Types/CloudConnection/CloudStreamAzure.mjs +35 -0
- package/Types/CloudConnection/CloudStreamGcp.d.mts +55 -0
- package/Types/CloudConnection/CloudStreamGcp.d.ts +55 -0
- package/Types/CloudConnection/CloudStreamGcp.js +247 -0
- package/Types/CloudConnection/CloudStreamGcp.mjs +25 -0
- package/Types/CloudConnection/CloudStreamOrganization.d.mts +17 -0
- package/Types/CloudConnection/CloudStreamOrganization.d.ts +17 -0
- package/Types/CloudConnection/CloudStreamOrganization.js +176 -0
- package/Types/CloudConnection/CloudStreamOrganization.mjs +9 -0
- package/Types/CloudConnection/CloudStreamTemplate.d.mts +5 -5
- package/Types/CloudConnection/CloudStreamTemplate.d.ts +5 -5
- package/Types/CloudConnection/CloudStreamTemplate.js +99 -26
- package/Types/CloudConnection/CloudStreamTemplate.mjs +2 -0
- package/Types/CodeRepository/CodeChangeProposedOnKey.d.mts +1 -0
- package/Types/CodeRepository/CodeChangeProposedOnKey.d.ts +1 -0
- package/Types/CodeRepository/CodeChangeProposedOnKey.js +12 -0
- package/Types/CodeRepository/CodeChangeProposedOnKey.mjs +2 -0
- package/Types/CodeRepository/CodeFileSeen.d.mts +106 -0
- package/Types/CodeRepository/CodeFileSeen.d.ts +106 -0
- package/Types/CodeRepository/CodeFileSeen.js +523 -0
- package/Types/CodeRepository/CodeFileSeen.mjs +17 -0
- package/Types/CodeRepository/CodeFileValuesHidden.d.mts +21 -0
- package/Types/CodeRepository/CodeFileValuesHidden.d.ts +21 -0
- package/Types/CodeRepository/CodeFileValuesHidden.js +135 -0
- package/Types/CodeRepository/CodeFileValuesHidden.mjs +6 -0
- package/Types/CodeRepository/CodeHost.d.mts +15 -0
- package/Types/CodeRepository/CodeHost.d.ts +15 -0
- package/Types/CodeRepository/CodeHost.js +195 -6
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.d.mts +1 -0
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.d.ts +1 -0
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.js +3 -0
- package/Types/Dashboard/DashboardComponentType.d.mts +2 -0
- package/Types/Dashboard/DashboardComponentType.d.ts +2 -0
- package/Types/Dashboard/DashboardComponentType.js +24 -1
- package/Types/Dashboard/DashboardComponentType.mjs +2 -0
- package/Types/Dashboard/DashboardLanguage.js +1 -0
- package/Types/Dashboard/PublicDashboardServedSettings.d.mts +19 -0
- package/Types/Dashboard/PublicDashboardServedSettings.d.ts +19 -0
- package/Types/Dashboard/PublicDashboardServedSettings.js +501 -0
- package/Types/Dashboard/PublicDashboardServedSettings.mjs +12 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.mts +17 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.ts +17 -0
- package/Types/DataObservability/DataObservabilityApiTypes.js +5 -1
- package/Types/DataObservability/DataObservabilityApiTypes.mjs +1 -0
- package/Types/DataObservability/DataObservabilityAttention.d.mts +78 -0
- package/Types/DataObservability/DataObservabilityAttention.d.ts +78 -0
- package/Types/DataObservability/DataObservabilityAttention.js +163 -0
- package/Types/DataObservability/DataObservabilityAttention.mjs +12 -0
- package/Types/Database/AccessControl/PermissionScopeNarrowing.js +4 -0
- package/Types/Database/EnableAuditLog.js +3 -0
- package/Types/Date.d.mts +9 -0
- package/Types/Date.d.ts +9 -0
- package/Types/Date.js +57 -8
- package/Types/DateLanguage.d.mts +3 -0
- package/Types/DateLanguage.d.ts +3 -0
- package/Types/DateLanguage.js +59 -10
- package/Types/DateLanguage.mjs +3 -0
- package/Types/Email/EmailServer.d.mts +7 -0
- package/Types/Email/EmailServer.d.ts +7 -0
- package/Types/Email/EmailTemplateType.d.mts +2 -0
- package/Types/Email/EmailTemplateType.d.ts +2 -0
- package/Types/Email/EmailTemplateType.js +3 -0
- package/Types/Email/MailTransportType.d.mts +29 -9
- package/Types/Email/MailTransportType.d.ts +29 -9
- package/Types/Email/MailTransportType.js +56 -8
- package/Types/Email/MailTransportType.mjs +4 -0
- package/Types/Email/MailgunDomain.d.mts +2 -0
- package/Types/Email/MailgunDomain.d.ts +2 -0
- package/Types/Email/MailgunDomain.js +57 -0
- package/Types/Email/MailgunDomain.mjs +3 -0
- package/Types/Email/MailgunRegion.d.mts +8 -0
- package/Types/Email/MailgunRegion.d.ts +8 -0
- package/Types/Email/MailgunRegion.js +32 -0
- package/Types/Email/MailgunRegion.mjs +5 -0
- package/Types/Exception/ConflictException.d.mts +6 -0
- package/Types/Exception/ConflictException.d.ts +6 -0
- package/Types/Exception/ConflictException.js +30 -0
- package/Types/Exception/ConflictException.mjs +2 -0
- package/Types/Exception/ExceptionCode.d.mts +1 -0
- package/Types/Exception/ExceptionCode.d.ts +1 -0
- package/Types/Exception/ExceptionCode.js +2 -0
- package/Types/InstallScripts/InstallScripts.js +1 -1
- package/Types/Kubernetes/KubernetesClusterAiAccess.d.mts +0 -1
- package/Types/Kubernetes/KubernetesClusterAiAccess.d.ts +0 -1
- package/Types/Kubernetes/KubernetesClusterAiAccess.js +7 -6
- package/Types/Kubernetes/KubernetesClusterAiAccess.mjs +0 -1
- package/Types/Kubernetes/KubernetesEvent.js +5 -4
- package/Types/LlmObservability/LlmConnectionCatalog.d.mts +5 -0
- package/Types/LlmObservability/LlmConnectionCatalog.d.ts +5 -0
- package/Types/LlmObservability/LlmConnectionCatalog.js +35 -0
- package/Types/LlmObservability/LlmConnectionProvider.d.mts +1 -0
- package/Types/LlmObservability/LlmConnectionProvider.d.ts +1 -0
- package/Types/LlmObservability/LlmConnectionProvider.js +4 -2
- package/Types/LlmObservability/LlmConnectionRecords.d.mts +7 -0
- package/Types/LlmObservability/LlmConnectionRecords.d.ts +7 -0
- package/Types/LlmObservability/LlmConnectionTest.d.mts +1 -0
- package/Types/LlmObservability/LlmConnectionTest.d.ts +1 -0
- package/Types/Log/LogEventName.d.mts +6 -0
- package/Types/Log/LogEventName.d.ts +6 -0
- package/Types/Log/LogEventName.js +59 -0
- package/Types/Log/LogEventName.mjs +4 -0
- package/Types/MessageQueue/MessageQueueCloudConnectionMetrics.d.mts +15 -0
- package/Types/MessageQueue/MessageQueueCloudConnectionMetrics.d.ts +15 -0
- package/Types/MessageQueue/MessageQueueCloudConnectionMetrics.js +51 -0
- package/Types/MessageQueue/MessageQueueCloudConnectionMetrics.mjs +4 -0
- package/Types/MessageQueue/MessageQueueMetricCatalog.d.mts +1 -1
- package/Types/MessageQueue/MessageQueueMetricCatalog.d.ts +1 -1
- package/Types/MessageQueue/MessageQueueMetricCatalog.js +64 -0
- package/Types/MessageQueue/MessageQueueSpanPopulation.d.mts +65 -0
- package/Types/MessageQueue/MessageQueueSpanPopulation.d.ts +65 -0
- package/Types/MessageQueue/MessageQueueSpanPopulation.js +326 -0
- package/Types/MessageQueue/MessageQueueSpanPopulation.mjs +22 -0
- package/Types/MessageQueue/MessageQueueTopology.d.mts +59 -0
- package/Types/MessageQueue/MessageQueueTopology.d.ts +59 -0
- package/Types/MessageQueue/MessageQueueTopology.js +211 -0
- package/Types/MessageQueue/MessageQueueTopology.mjs +8 -0
- package/Types/MessageQueue/MessagingSystem.js +6 -2
- package/Types/Metrics/MetricsQuery.d.mts +1 -0
- package/Types/Metrics/MetricsQuery.d.ts +1 -0
- package/Types/Monitor/CloudAlertTemplates.d.mts +122 -0
- package/Types/Monitor/CloudAlertTemplates.d.ts +122 -0
- package/Types/Monitor/CloudAlertTemplates.js +2003 -0
- package/Types/Monitor/CloudAlertTemplates.mjs +26 -0
- package/Types/Monitor/CloudAppAlertTemplates.d.mts +34 -0
- package/Types/Monitor/CloudAppAlertTemplates.d.ts +34 -0
- package/Types/Monitor/CloudAppAlertTemplates.js +331 -0
- package/Types/Monitor/CloudAppAlertTemplates.mjs +8 -0
- package/Types/Monitor/IncomingMonitor/IncomingMonitorRequest.d.mts +1 -0
- package/Types/Monitor/IncomingMonitor/IncomingMonitorRequest.d.ts +1 -0
- package/Types/Monitor/MessageQueueAlertTemplates.js +3 -0
- package/Types/Monitor/MetricMonitor/MetricMonitorResponse.d.mts +1 -0
- package/Types/Monitor/MetricMonitor/MetricMonitorResponse.d.ts +1 -0
- package/Types/Monitor/MonitorEvaluationDetails.d.mts +80 -0
- package/Types/Monitor/MonitorEvaluationDetails.d.ts +80 -0
- package/Types/Monitor/MonitorEvaluationDetails.js +41 -0
- package/Types/Monitor/MonitorEvaluationDetails.mjs +3 -0
- package/Types/Monitor/MonitorStepMetricMonitor.d.mts +2 -0
- package/Types/Monitor/MonitorStepMetricMonitor.d.ts +2 -0
- package/Types/Monitor/MonitorStepMetricMonitor.js +4 -0
- package/Types/Monitor/MonitorSummarySnapshot.d.mts +1 -0
- package/Types/Monitor/MonitorSummarySnapshot.d.ts +1 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.mts +1 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.ts +1 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.js +113 -13
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.mts +16 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.ts +16 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.js +18 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationUtil.d.mts +10 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationUtil.d.ts +10 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationUtil.js +54 -1
- package/Types/Monitor/TelemetryAlertRule.js +19 -1
- package/Types/NetFlow/NetworkTrafficUsage.d.mts +56 -0
- package/Types/NetFlow/NetworkTrafficUsage.d.ts +56 -0
- package/Types/NetFlow/NetworkTrafficUsage.js +171 -1
- package/Types/NetFlow/NetworkTrafficUsage.mjs +11 -0
- package/Types/NetworkController/NetworkControllerApplianceLink.d.mts +43 -0
- package/Types/NetworkController/NetworkControllerApplianceLink.d.ts +43 -0
- package/Types/NetworkController/NetworkControllerApplianceLink.js +107 -0
- package/Types/NetworkController/NetworkControllerApplianceLink.mjs +8 -0
- package/Types/NetworkDevice/DiscoveredDevice.d.mts +105 -0
- package/Types/NetworkDevice/DiscoveredDevice.d.ts +105 -0
- package/Types/NetworkDevice/DiscoveredDevice.js +407 -0
- package/Types/NetworkDevice/DiscoveredDevice.mjs +23 -0
- package/Types/NetworkDevice/DiscoveredDeviceRetention.d.mts +10 -0
- package/Types/NetworkDevice/DiscoveredDeviceRetention.d.ts +10 -0
- package/Types/NetworkDevice/DiscoveredDeviceRetention.js +93 -0
- package/Types/NetworkDevice/DiscoveredDeviceRetention.mjs +11 -0
- package/Types/NetworkDevice/DiscoveryImport.d.mts +12 -0
- package/Types/NetworkDevice/DiscoveryImport.d.ts +12 -0
- package/Types/NetworkDevice/DiscoveryImport.js +53 -1
- package/Types/NetworkDevice/DiscoveryImport.mjs +2 -0
- package/Types/NetworkDevice/NetworkDeviceTelemetryAttribute.d.mts +2 -0
- package/Types/NetworkDevice/NetworkDeviceTelemetryAttribute.d.ts +2 -0
- package/Types/NetworkDevice/NetworkDeviceTelemetryAttribute.js +19 -0
- package/Types/NetworkDevice/NetworkDeviceTelemetryAttribute.mjs +3 -0
- package/Types/NotificationSetting/NotificationEmailRollupCategory.js +8 -0
- package/Types/NotificationSetting/NotificationEmailRollupPolicy.js +7 -0
- package/Types/NotificationSetting/NotificationSettingEventType.d.mts +2 -0
- package/Types/NotificationSetting/NotificationSettingEventType.d.ts +2 -0
- package/Types/NotificationSetting/NotificationSettingEventType.js +9 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgementTimeout.d.mts +5 -3
- package/Types/OnCallDutyPolicy/OnCallAcknowledgementTimeout.d.ts +5 -3
- package/Types/OnCallDutyPolicy/OnCallAcknowledgementTimeout.js +98 -11
- package/Types/OnCallDutyPolicy/OnCallObserverPage.d.mts +61 -0
- package/Types/OnCallDutyPolicy/OnCallObserverPage.d.ts +61 -0
- package/Types/OnCallDutyPolicy/OnCallObserverPage.js +331 -0
- package/Types/OnCallDutyPolicy/OnCallObserverPage.mjs +24 -0
- package/Types/OnCallDutyPolicy/OnCallPageAs.d.mts +5 -0
- package/Types/OnCallDutyPolicy/OnCallPageAs.d.ts +5 -0
- package/Types/OnCallDutyPolicy/OnCallPageAs.js +21 -0
- package/Types/OnCallDutyPolicy/OnCallPageAs.mjs +2 -0
- package/Types/OnCallDutyPolicy/OnCallPagePassOn.d.mts +1 -0
- package/Types/OnCallDutyPolicy/OnCallPagePassOn.d.ts +1 -0
- package/Types/OnCallDutyPolicy/OnCallPageWords.d.mts +59 -0
- package/Types/OnCallDutyPolicy/OnCallPageWords.d.ts +59 -0
- package/Types/OnCallDutyPolicy/OnCallPageWords.js +388 -0
- package/Types/OnCallDutyPolicy/OnCallPageWords.mjs +24 -0
- package/Types/OnCallDutyPolicy/OnCallPersonPage.d.mts +10 -3
- package/Types/OnCallDutyPolicy/OnCallPersonPage.d.ts +10 -3
- package/Types/OnCallDutyPolicy/OnCallPersonPage.js +172 -37
- package/Types/OnCallDutyPolicy/OnCallPersonPage.mjs +2 -0
- package/Types/Permission.d.mts +28 -0
- package/Types/Permission.d.ts +28 -0
- package/Types/Permission.js +288 -0
- package/Types/ProviderLogo/AllProviderLogoMarks.js +2 -0
- package/Types/ProviderLogo/Marks/cursor.d.mts +3 -0
- package/Types/ProviderLogo/Marks/cursor.d.ts +3 -0
- package/Types/ProviderLogo/Marks/cursor.js +12 -0
- package/Types/ProviderLogo/Marks/cursor.mjs +2 -0
- package/Types/ProviderLogo/ProviderLogo.d.mts +1 -0
- package/Types/ProviderLogo/ProviderLogo.d.ts +1 -0
- package/Types/ProviderLogo/ProviderLogo.js +2 -0
- package/Types/ProviderLogo/ProviderLogoMarks.js +1 -0
- package/Types/PushNotification/PushNotificationCategory.d.mts +4 -0
- package/Types/PushNotification/PushNotificationCategory.d.ts +4 -0
- package/Types/PushNotification/PushNotificationCategory.js +36 -12
- package/Types/PushNotification/PushNotificationCategory.mjs +2 -0
- package/Types/ReadingDirection.js +2 -2
- package/Types/ResourceAiAgent/CloudAiAgentNames.d.mts +10 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.d.ts +10 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.js +42 -3
- package/Types/ResourceAiAgent/CloudAiAgentNames.mjs +7 -0
- package/Types/ResourceAiAgent/ResourceAiAccess.d.mts +4 -2
- package/Types/ResourceAiAgent/ResourceAiAccess.d.ts +4 -2
- package/Types/ResourceAiAgent/ResourceAiAccess.js +25 -7
- package/Types/ResourceAiAgent/ResourceAiAccess.mjs +3 -1
- package/Types/Rum/ProductAnalytics.d.mts +153 -0
- package/Types/Rum/ProductAnalytics.d.ts +153 -0
- package/Types/Rum/ProductAnalytics.js +204 -0
- package/Types/Rum/ProductAnalytics.mjs +36 -0
- package/Types/Rum/RumApplicationStatus.d.mts +30 -0
- package/Types/Rum/RumApplicationStatus.d.ts +30 -0
- package/Types/Rum/RumApplicationStatus.js +147 -0
- package/Types/Rum/RumApplicationStatus.mjs +14 -0
- package/Types/Rum/RumTelemetrySignal.d.mts +7 -0
- package/Types/Rum/RumTelemetrySignal.d.ts +7 -0
- package/Types/Rum/RumTelemetrySignal.js +30 -0
- package/Types/Rum/RumTelemetrySignal.mjs +3 -0
- package/Types/Rum/SessionReplay.d.mts +6 -0
- package/Types/Rum/SessionReplay.d.ts +6 -0
- package/Types/Rum/SessionReplayApi.d.mts +7 -0
- package/Types/Rum/SessionReplayApi.d.ts +7 -0
- package/Types/Rum/SessionReplayCustomEvents.d.mts +11 -0
- package/Types/Rum/SessionReplayCustomEvents.d.ts +11 -0
- package/Types/Rum/SessionReplayCustomEvents.js +11 -0
- package/Types/Rum/SessionReplayCustomEvents.mjs +1 -0
- package/Types/Rum/SessionReplayFrustrationSignals.d.mts +90 -0
- package/Types/Rum/SessionReplayFrustrationSignals.d.ts +90 -0
- package/Types/Rum/SessionReplayFrustrationSignals.js +349 -0
- package/Types/Rum/SessionReplayFrustrationSignals.mjs +22 -0
- package/Types/SecurityCase/SecurityCaseContext.d.mts +2 -1
- package/Types/SecurityCase/SecurityCaseContext.d.ts +2 -1
- package/Types/SecurityCase/SecurityConnection.d.mts +11 -1
- package/Types/SecurityCase/SecurityConnection.d.ts +11 -1
- package/Types/SecurityEvent/RealTimeDetection.d.mts +14 -5
- package/Types/SecurityEvent/RealTimeDetection.d.ts +14 -5
- package/Types/SecurityEvent/RealTimeDetection.js +75 -25
- package/Types/SecurityEvent/RealTimeDetection.mjs +3 -3
- package/Types/SecurityEvent/SecurityEventScope.d.mts +12 -0
- package/Types/SecurityEvent/SecurityEventScope.d.ts +12 -0
- package/Types/SecurityEvent/SecurityEventScope.js +109 -0
- package/Types/SecurityEvent/SecurityEventScope.mjs +8 -0
- package/Types/SecurityPlaybook/SecurityPlaybookAction.d.mts +4 -2
- package/Types/SecurityPlaybook/SecurityPlaybookAction.d.ts +4 -2
- package/Types/SecurityPlaybook/SecurityPlaybookAction.js +22 -3
- package/Types/SecurityPlaybook/SecurityPlaybookStep.d.mts +7 -2
- package/Types/SecurityPlaybook/SecurityPlaybookStep.d.ts +7 -2
- package/Types/SecurityPlaybook/SecurityPlaybookStep.js +96 -39
- package/Types/SecurityPlaybook/SecurityPlaybookStep.mjs +2 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.d.mts +17 -2
- package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.d.ts +17 -2
- package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.js +174 -33
- package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.mjs +7 -0
- package/Types/Serverless/ServerlessFunctionStatus.d.mts +30 -0
- package/Types/Serverless/ServerlessFunctionStatus.d.ts +30 -0
- package/Types/Serverless/ServerlessFunctionStatus.js +153 -0
- package/Types/Serverless/ServerlessFunctionStatus.mjs +14 -0
- package/Types/Service/ServiceTelemetryStatus.d.mts +32 -0
- package/Types/Service/ServiceTelemetryStatus.d.ts +32 -0
- package/Types/Service/ServiceTelemetryStatus.js +138 -0
- package/Types/Service/ServiceTelemetryStatus.mjs +15 -0
- package/Types/StatusPage/PublicNoteApproval.d.mts +146 -0
- package/Types/StatusPage/PublicNoteApproval.d.ts +146 -0
- package/Types/StatusPage/PublicNoteApproval.js +473 -0
- package/Types/StatusPage/PublicNoteApproval.mjs +8 -0
- package/Types/StatusPage/StateChangeSubscriberNotification.d.mts +9 -0
- package/Types/StatusPage/StateChangeSubscriberNotification.d.ts +9 -0
- package/Types/StatusPage/StateChangeSubscriberNotification.js +16 -0
- package/Types/StatusPage/StatusPageLanguage.js +1 -0
- package/Types/StatusPage/StatusPageReport.d.mts +3 -0
- package/Types/StatusPage/StatusPageReport.d.ts +3 -0
- package/Types/StatusPage/SubscriberNotificationResend.d.mts +1 -0
- package/Types/StatusPage/SubscriberNotificationResend.d.ts +1 -0
- package/Types/StatusPage/SubscriberNotificationResend.js +2 -0
- package/Types/Table/DefaultTableColumns.d.mts +22 -0
- package/Types/Table/DefaultTableColumns.d.ts +22 -0
- package/Types/Table/DefaultTableColumns.js +166 -0
- package/Types/Table/DefaultTableColumns.mjs +6 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleHeld.d.mts +15 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleHeld.d.ts +15 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleHeld.js +96 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleHeld.mjs +2 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleKinds.d.mts +12 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleKinds.d.ts +12 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleKinds.js +72 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleKinds.mjs +4 -0
- package/Types/Telemetry/LlmConventions.d.mts +5 -0
- package/Types/Telemetry/LlmConventions.d.ts +5 -0
- package/Types/Telemetry/LlmConventions.js +51 -3
- package/Types/Telemetry/LlmConventions.mjs +5 -0
- package/Types/Telemetry/LlmConversationApi.d.mts +7 -0
- package/Types/Telemetry/LlmConversationApi.d.ts +7 -0
- package/Types/Telemetry/LlmConversationApi.js +37 -1
- package/Types/Telemetry/LlmConversationApi.mjs +2 -0
- package/Types/Telemetry/LlmMetricConventions.d.mts +10 -0
- package/Types/Telemetry/LlmMetricConventions.d.ts +10 -0
- package/Types/Telemetry/LlmMetricConventions.js +84 -14
- package/Types/Telemetry/LlmMetricConventions.mjs +3 -0
- package/Types/Telemetry/LlmMetricUsageApi.d.mts +27 -0
- package/Types/Telemetry/LlmMetricUsageApi.d.ts +27 -0
- package/Types/Telemetry/LlmMetricUsageApi.js +73 -0
- package/Types/Telemetry/LlmMetricUsageApi.mjs +7 -0
- package/Types/Telemetry/LlmProviders.d.mts +23 -0
- package/Types/Telemetry/LlmProviders.d.ts +23 -0
- package/Types/Telemetry/LlmProviders.js +288 -0
- package/Types/Telemetry/LlmProviders.mjs +16 -0
- package/Types/Telemetry/LlmSetupCheckApi.d.mts +93 -0
- package/Types/Telemetry/LlmSetupCheckApi.d.ts +93 -0
- package/Types/Telemetry/LlmSetupCheckApi.js +269 -0
- package/Types/Telemetry/LlmSetupCheckApi.mjs +11 -0
- package/Types/Telemetry/LlmUsageApi.d.mts +49 -0
- package/Types/Telemetry/LlmUsageApi.d.ts +49 -0
- package/Types/Telemetry/LlmUsageApi.js +131 -0
- package/Types/Telemetry/LlmUsageApi.mjs +10 -0
- package/Types/Telemetry/ScrubRule.js +2 -1
- package/Types/Telemetry/TelemetryIngestRefusal.d.mts +23 -0
- package/Types/Telemetry/TelemetryIngestRefusal.d.ts +23 -0
- package/Types/Telemetry/TelemetryIngestRefusal.js +81 -0
- package/Types/Telemetry/TelemetryIngestRefusal.mjs +7 -0
- package/Types/Telemetry/TelemetryIngestionBudget.d.mts +160 -0
- package/Types/Telemetry/TelemetryIngestionBudget.d.ts +160 -0
- package/Types/Telemetry/TelemetryIngestionBudget.js +600 -0
- package/Types/Telemetry/TelemetryIngestionBudget.mjs +52 -0
- package/Types/Telemetry/TelemetryIngestionBudgetMetricType.d.mts +7 -0
- package/Types/Telemetry/TelemetryIngestionBudgetMetricType.d.ts +7 -0
- package/Types/Telemetry/TelemetryIngestionBudgetMetricType.js +50 -0
- package/Types/Telemetry/TelemetryIngestionBudgetMetricType.mjs +2 -0
- package/Types/Telemetry/TelemetryIngestionKeyPolicy.d.mts +2 -0
- package/Types/Telemetry/TelemetryIngestionKeyPolicy.d.ts +2 -0
- package/Types/Telemetry/TelemetryQuery.d.mts +3 -0
- package/Types/Telemetry/TelemetryQuery.d.ts +3 -0
- package/Types/Telemetry/TelemetryUsage.d.mts +79 -0
- package/Types/Telemetry/TelemetryUsage.d.ts +79 -0
- package/Types/Telemetry/TelemetryUsage.js +176 -0
- package/Types/Telemetry/TelemetryUsage.mjs +22 -0
- package/Types/Trace/TraceScrubPatternType.js +2 -1
- package/Types/Translator.d.mts +6 -0
- package/Types/Translator.d.ts +6 -0
- package/Types/Translator.js +113 -12
- package/Types/Translator.mjs +6 -0
- package/Types/UserLanguage.d.mts +7 -0
- package/Types/UserLanguage.d.ts +7 -0
- package/Types/UserLanguage.js +78 -0
- package/Types/UserLanguage.mjs +5 -0
- package/Types/Workflow/Components/OnCall.js +28 -1
- package/Types/Workflow/Components/OnCallPageSettings.d.mts +3 -0
- package/Types/Workflow/Components/OnCallPageSettings.d.ts +3 -0
- package/Types/Workflow/Components/OnCallPageSettings.js +25 -0
- package/Types/Workflow/Components/OnCallPageSettings.mjs +1 -0
- package/Types/Workflow/WorkflowDraft.d.mts +2 -0
- package/Types/Workflow/WorkflowDraft.d.ts +2 -0
- package/Types/Workflow/WorkflowDraft.js +32 -23
- package/Types/Workflow/WorkflowDraft.mjs +1 -0
- package/Types/Workflow/WorkflowDraftProposedOnKey.d.mts +1 -0
- package/Types/Workflow/WorkflowDraftProposedOnKey.d.ts +1 -0
- package/Types/Workflow/WorkflowDraftProposedOnKey.js +11 -0
- package/Types/Workflow/WorkflowDraftProposedOnKey.mjs +2 -0
- package/Types/Workflow/WorkflowDraftRebase.d.mts +74 -0
- package/Types/Workflow/WorkflowDraftRebase.d.ts +74 -0
- package/Types/Workflow/WorkflowDraftRebase.js +447 -0
- package/Types/Workflow/WorkflowDraftRebase.mjs +9 -0
- package/Types/Workflow/WorkflowDraftSeen.d.mts +39 -0
- package/Types/Workflow/WorkflowDraftSeen.d.ts +39 -0
- package/Types/Workflow/WorkflowDraftSeen.js +161 -0
- package/Types/Workflow/WorkflowDraftSeen.mjs +6 -0
- package/Types/Workflow/WorkflowGraphRevision.d.mts +2 -0
- package/Types/Workflow/WorkflowGraphRevision.d.ts +2 -0
- package/Types/Workflow/WorkflowGraphRevision.js +45 -0
- package/Types/Workflow/WorkflowGraphRevision.mjs +3 -0
- package/Types/Workflow/WorkflowVersion.d.mts +11 -0
- package/Types/Workflow/WorkflowVersion.d.ts +11 -0
- package/Types/Workflow/WorkflowVersion.js +63 -0
- package/Types/Workflow/WorkflowVersion.mjs +7 -0
- package/Utils/AI/InvestigationImpactNumbers.d.mts +33 -0
- package/Utils/AI/InvestigationImpactNumbers.d.ts +33 -0
- package/Utils/AI/InvestigationImpactNumbers.js +307 -0
- package/Utils/AI/InvestigationImpactNumbers.mjs +9 -0
- package/Utils/AI/InvestigationReport.d.mts +14 -0
- package/Utils/AI/InvestigationReport.d.ts +14 -0
- package/Utils/AI/InvestigationReport.js +136 -3
- package/Utils/AI/InvestigationReport.mjs +4 -0
- package/Utils/AiRemediation/CloudChangeWords.js +6 -0
- package/Utils/AiRemediation/DeclaredCodeChange.d.mts +106 -0
- package/Utils/AiRemediation/DeclaredCodeChange.d.ts +106 -0
- package/Utils/AiRemediation/DeclaredCodeChange.js +451 -0
- package/Utils/AiRemediation/DeclaredCodeChange.mjs +16 -0
- package/Utils/AiRemediation/Resource/CloudCommandPolicy.js +4 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.d.mts +1 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.d.ts +1 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.js +144 -11
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.mjs +1 -0
- package/Utils/AuditLog/AuditLogTypedValues.d.mts +23 -0
- package/Utils/AuditLog/AuditLogTypedValues.d.ts +23 -0
- package/Utils/AuditLog/AuditLogTypedValues.js +331 -0
- package/Utils/AuditLog/AuditLogTypedValues.mjs +8 -0
- package/Utils/AuditLog/AuditLogValues.d.mts +25 -0
- package/Utils/AuditLog/AuditLogValues.d.ts +25 -0
- package/Utils/AuditLog/AuditLogValues.js +398 -0
- package/Utils/AuditLog/AuditLogValues.mjs +15 -0
- package/Utils/CronScheduleText.js +2 -2
- package/Utils/Dashboard/DashboardWidgetIds.d.mts +9 -0
- package/Utils/Dashboard/DashboardWidgetIds.d.ts +9 -0
- package/Utils/Dashboard/DashboardWidgetIds.js +136 -0
- package/Utils/Dashboard/DashboardWidgetIds.mjs +4 -0
- package/Utils/Dashboard/DashboardWidgetSorts.js +7 -1
- package/Utils/Dashboard/LabelVariable.js +12 -2
- package/Utils/Dashboard/SloWidgetSource.d.mts +2 -2
- package/Utils/Dashboard/SloWidgetSource.d.ts +2 -2
- package/Utils/Dashboard/SloWidgetSource.js +14 -3
- package/Utils/Dashboard/StoredDashboardViewConfig.d.mts +7 -0
- package/Utils/Dashboard/StoredDashboardViewConfig.d.ts +7 -0
- package/Utils/Dashboard/StoredDashboardViewConfig.js +124 -22
- package/Utils/Episode/EpisodeOpeningThreshold.d.mts +9 -0
- package/Utils/Episode/EpisodeOpeningThreshold.d.ts +9 -0
- package/Utils/Episode/EpisodeOpeningThreshold.js +64 -0
- package/Utils/Episode/EpisodeOpeningThreshold.mjs +7 -0
- package/Utils/LLM/LlmProviderResponseTimeout.d.mts +4 -0
- package/Utils/LLM/LlmProviderResponseTimeout.d.ts +4 -0
- package/Utils/LLM/LlmProviderResponseTimeout.js +24 -0
- package/Utils/LLM/LlmProviderResponseTimeout.mjs +4 -0
- package/Utils/LinearRegExp/PatternWork.d.mts +1 -0
- package/Utils/LinearRegExp/PatternWork.d.ts +1 -0
- package/Utils/LinearRegExp/PatternWork.js +10 -4
- package/Utils/LinearRegExp/PatternWork.mjs +1 -0
- package/Utils/Markdown/Base64Data.d.mts +8 -0
- package/Utils/Markdown/Base64Data.d.ts +8 -0
- package/Utils/Markdown/Base64Data.js +130 -0
- package/Utils/Markdown/Base64Data.mjs +4 -0
- package/Utils/Metrics/MetricExplorerUrl.d.mts +1 -0
- package/Utils/Metrics/MetricExplorerUrl.d.ts +1 -0
- package/Utils/Metrics/MetricExplorerUrl.js +14 -3
- package/Utils/Metrics/MetricFormulaEvaluator.d.mts +18 -0
- package/Utils/Metrics/MetricFormulaEvaluator.d.ts +18 -0
- package/Utils/Metrics/MetricFormulaEvaluator.js +112 -0
- package/Utils/Metrics/MetricQueryCloudAggregation.d.mts +62 -0
- package/Utils/Metrics/MetricQueryCloudAggregation.d.ts +62 -0
- package/Utils/Metrics/MetricQueryCloudAggregation.js +335 -0
- package/Utils/Metrics/MetricQueryCloudAggregation.mjs +2 -0
- package/Utils/Metrics/MetricQueryServices.d.mts +14 -0
- package/Utils/Metrics/MetricQueryServices.d.ts +14 -0
- package/Utils/Metrics/MetricQueryServices.js +121 -0
- package/Utils/Metrics/MetricQueryServices.mjs +2 -0
- package/Utils/Metrics/MetricWholeWindow.d.mts +11 -0
- package/Utils/Metrics/MetricWholeWindow.d.ts +11 -0
- package/Utils/Metrics/MetricWholeWindow.js +50 -0
- package/Utils/Metrics/MetricWholeWindow.mjs +2 -0
- package/Utils/Monitor/MetricTelemetrySnapshot.d.mts +23 -0
- package/Utils/Monitor/MetricTelemetrySnapshot.d.ts +23 -0
- package/Utils/Monitor/MetricTelemetrySnapshot.js +154 -0
- package/Utils/Monitor/MetricTelemetrySnapshot.mjs +2 -0
- package/Utils/Monitor/MonitorAutoResolveTemplates.d.mts +13 -0
- package/Utils/Monitor/MonitorAutoResolveTemplates.d.ts +13 -0
- package/Utils/Monitor/MonitorAutoResolveTemplates.js +59 -0
- package/Utils/Monitor/MonitorAutoResolveTemplates.mjs +2 -0
- package/Utils/Monitor/MonitorEvaluationDetailsUtil.d.mts +8 -0
- package/Utils/Monitor/MonitorEvaluationDetailsUtil.d.ts +8 -0
- package/Utils/Monitor/MonitorEvaluationDetailsUtil.js +81 -0
- package/Utils/Monitor/MonitorEvaluationDetailsUtil.mjs +2 -0
- package/Utils/Monitor/MonitorGroupMonitoring.d.mts +25 -0
- package/Utils/Monitor/MonitorGroupMonitoring.d.ts +25 -0
- package/Utils/Monitor/MonitorGroupMonitoring.js +78 -0
- package/Utils/Monitor/MonitorGroupMonitoring.mjs +3 -0
- package/Utils/Monitor/MonitorOverviewFamily.d.mts +2 -1
- package/Utils/Monitor/MonitorOverviewFamily.d.ts +2 -1
- package/Utils/Monitor/MonitorOverviewFamily.js +35 -3
- package/Utils/Monitor/MonitorOverviewPresentationUtil.d.mts +1 -0
- package/Utils/Monitor/MonitorOverviewPresentationUtil.d.ts +1 -0
- package/Utils/Monitor/MonitorOverviewPresentationUtil.js +5 -0
- package/Utils/Monitor/MonitorStepMetricQueries.d.mts +61 -0
- package/Utils/Monitor/MonitorStepMetricQueries.d.ts +61 -0
- package/Utils/Monitor/MonitorStepMetricQueries.js +616 -0
- package/Utils/Monitor/MonitorStepMetricQueries.mjs +6 -0
- package/Utils/Monitor/MonitorStepMetricThresholds.d.mts +62 -0
- package/Utils/Monitor/MonitorStepMetricThresholds.d.ts +62 -0
- package/Utils/Monitor/MonitorStepMetricThresholds.js +415 -0
- package/Utils/Monitor/MonitorStepMetricThresholds.mjs +4 -0
- package/Utils/Monitor/NetworkTopologyUtil.d.mts +1 -0
- package/Utils/Monitor/NetworkTopologyUtil.d.ts +1 -0
- package/Utils/Monitor/NetworkTopologyUtil.js +27 -7
- package/Utils/Monitor/NetworkTopologyUtil.mjs +1 -0
- package/Utils/Monitor/NotOperationalMonitorQuery.d.mts +5 -0
- package/Utils/Monitor/NotOperationalMonitorQuery.d.ts +5 -0
- package/Utils/Monitor/NotOperationalMonitorQuery.js +37 -0
- package/Utils/Monitor/NotOperationalMonitorQuery.mjs +2 -0
- package/Utils/NameBreaks.js +44 -12
- package/Utils/NetworkDevice/DeviceNameLikeness.d.mts +33 -0
- package/Utils/NetworkDevice/DeviceNameLikeness.d.ts +33 -0
- package/Utils/NetworkDevice/DeviceNameLikeness.js +279 -0
- package/Utils/NetworkDevice/DeviceNameLikeness.mjs +14 -0
- package/Utils/NetworkDevice/DiscoveredDeviceIdentity.d.mts +13 -0
- package/Utils/NetworkDevice/DiscoveredDeviceIdentity.d.ts +13 -0
- package/Utils/NetworkDevice/DiscoveredDeviceIdentity.js +104 -0
- package/Utils/NetworkDevice/DiscoveredDeviceIdentity.mjs +6 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.d.mts +12 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.d.ts +12 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.js +92 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.mjs +3 -0
- package/Utils/Project/ProjectBilling.d.mts +1 -0
- package/Utils/Project/ProjectBilling.d.ts +1 -0
- package/Utils/Project/ProjectBilling.js +27 -3
- package/Utils/Project/ProjectBilling.mjs +1 -0
- package/Utils/Rum/SessionReplayFrustrationSettingsValidation.d.mts +9 -0
- package/Utils/Rum/SessionReplayFrustrationSettingsValidation.d.ts +9 -0
- package/Utils/Rum/SessionReplayFrustrationSettingsValidation.js +337 -0
- package/Utils/Rum/SessionReplayFrustrationSettingsValidation.mjs +5 -0
- package/Utils/Rum/UserFlow.js +6 -2
- package/Utils/Runbook/RunbookStepExecutionChanges.d.mts +32 -0
- package/Utils/Runbook/RunbookStepExecutionChanges.d.ts +32 -0
- package/Utils/Runbook/RunbookStepExecutionChanges.js +264 -0
- package/Utils/Runbook/RunbookStepExecutionChanges.mjs +11 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.d.mts +5 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.d.ts +5 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.js +10 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.mjs +1 -0
- package/Utils/SecurityCase/SecurityConnectionMatch.d.mts +1 -0
- package/Utils/SecurityCase/SecurityConnectionMatch.d.ts +1 -0
- package/Utils/SecurityCase/SecurityConnectionMatch.js +33 -0
- package/Utils/SecurityCase/SecurityConnectionMatch.mjs +1 -0
- package/Utils/SecurityEvent/LogParsers/DatabaseServerLogLine.d.mts +5 -0
- package/Utils/SecurityEvent/LogParsers/DatabaseServerLogLine.d.ts +5 -0
- package/Utils/SecurityEvent/LogParsers/DatabaseServerLogLine.js +458 -0
- package/Utils/SecurityEvent/LogParsers/DatabaseServerLogLine.mjs +6 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.mts +1 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.ts +1 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.js +30 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.mjs +1 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogParser.js +9 -0
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.d.mts +3 -0
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.d.ts +3 -0
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.js +223 -33
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.mjs +3 -0
- package/Utils/SecurityEvent/SecurityScanWords.d.mts +2 -0
- package/Utils/SecurityEvent/SecurityScanWords.d.ts +2 -0
- package/Utils/SecurityEvent/SecurityScanWords.js +122 -0
- package/Utils/SecurityEvent/SecurityScanWords.mjs +3 -0
- package/Utils/Slo/SloBulkRecommendedBurnRateRules.d.mts +42 -0
- package/Utils/Slo/SloBulkRecommendedBurnRateRules.d.ts +42 -0
- package/Utils/Slo/SloBulkRecommendedBurnRateRules.js +207 -0
- package/Utils/Slo/SloBulkRecommendedBurnRateRules.mjs +10 -0
- package/Utils/Slo/SloBurnRateTemplate.d.mts +23 -3
- package/Utils/Slo/SloBurnRateTemplate.d.ts +23 -3
- package/Utils/Slo/SloBurnRateTemplate.js +96 -17
- package/Utils/Slo/SloBurnRateTemplate.mjs +6 -0
- package/Utils/Slo/SloErrorBudgetPolicy.d.mts +99 -0
- package/Utils/Slo/SloErrorBudgetPolicy.d.ts +99 -0
- package/Utils/Slo/SloErrorBudgetPolicy.js +398 -0
- package/Utils/Slo/SloErrorBudgetPolicy.mjs +25 -0
- package/Utils/Slo/SloEvaluation.d.mts +22 -0
- package/Utils/Slo/SloEvaluation.d.ts +22 -0
- package/Utils/Slo/SloEvaluation.js +43 -1
- package/Utils/Slo/SloEvaluation.mjs +4 -0
- package/Utils/Slo/SloFeedMarkdown.d.mts +27 -0
- package/Utils/Slo/SloFeedMarkdown.d.ts +27 -0
- package/Utils/Slo/SloFeedMarkdown.js +118 -3
- package/Utils/Slo/SloFeedMarkdown.mjs +2 -0
- package/Utils/Slo/SloRecommendedBurnRateRules.d.mts +73 -0
- package/Utils/Slo/SloRecommendedBurnRateRules.d.ts +73 -0
- package/Utils/Slo/SloRecommendedBurnRateRules.js +348 -0
- package/Utils/Slo/SloRecommendedBurnRateRules.mjs +28 -0
- package/Utils/Slo/SloRecordOutputColumns.d.mts +25 -0
- package/Utils/Slo/SloRecordOutputColumns.d.ts +25 -0
- package/Utils/Slo/SloRecordOutputColumns.js +87 -0
- package/Utils/Slo/SloRecordOutputColumns.mjs +9 -0
- package/Utils/Slo/SloStatusColor.d.mts +6 -0
- package/Utils/Slo/SloStatusColor.d.ts +6 -0
- package/Utils/Slo/SloStatusColor.js +23 -1
- package/Utils/Slo/SloStatusColor.mjs +2 -0
- package/Utils/Slo/SloUtil.d.mts +4 -0
- package/Utils/Slo/SloUtil.d.ts +4 -0
- package/Utils/Slo/SloUtil.js +8 -2
- package/Utils/Sms/OnCallPageSms.d.mts +18 -0
- package/Utils/Sms/OnCallPageSms.d.ts +18 -0
- package/Utils/Sms/OnCallPageSms.js +88 -6
- package/Utils/StatusPage/Report.js +2 -0
- package/Utils/StatusPage/ReportPeriod.d.mts +4 -4
- package/Utils/StatusPage/ReportPeriod.d.ts +4 -4
- package/Utils/StatusPage/ReportPeriod.js +23 -47
- package/Utils/StatusPage/ReportText.d.mts +33 -0
- package/Utils/StatusPage/ReportText.d.ts +33 -0
- package/Utils/StatusPage/ReportText.js +266 -0
- package/Utils/StatusPage/ReportText.mjs +3 -0
- package/Utils/Telemetry/CloudChangeTitle.d.mts +37 -0
- package/Utils/Telemetry/CloudChangeTitle.d.ts +37 -0
- package/Utils/Telemetry/CloudChangeTitle.js +315 -3
- package/Utils/Telemetry/CloudChangeTitle.mjs +13 -0
- package/Utils/Telemetry/CloudHealthDescription.d.mts +53 -0
- package/Utils/Telemetry/CloudHealthDescription.d.ts +53 -0
- package/Utils/Telemetry/CloudHealthDescription.js +310 -0
- package/Utils/Telemetry/CloudHealthDescription.mjs +13 -0
- package/Utils/Telemetry/LlmCallCounting.d.mts +30 -0
- package/Utils/Telemetry/LlmCallCounting.d.ts +30 -0
- package/Utils/Telemetry/LlmCallCounting.js +109 -0
- package/Utils/Telemetry/LlmCallCounting.mjs +2 -0
- package/Utils/Telemetry/LlmConversationTranscript.js +12 -6
- package/Utils/Telemetry/LlmLogEvents.d.mts +45 -0
- package/Utils/Telemetry/LlmLogEvents.d.ts +45 -0
- package/Utils/Telemetry/LlmLogEvents.js +613 -0
- package/Utils/Telemetry/LlmLogEvents.mjs +4 -0
- package/Utils/Telemetry/LlmMessageParser.d.mts +1 -0
- package/Utils/Telemetry/LlmMessageParser.d.ts +1 -0
- package/Utils/Telemetry/LlmMessageParser.js +60 -2
- package/Utils/Telemetry/LlmMetricUsage.d.mts +27 -0
- package/Utils/Telemetry/LlmMetricUsage.d.ts +27 -0
- package/Utils/Telemetry/LlmMetricUsage.js +189 -0
- package/Utils/Telemetry/LlmMetricUsage.mjs +2 -0
- package/Utils/Telemetry/LlmUsage.d.mts +51 -0
- package/Utils/Telemetry/LlmUsage.d.ts +51 -0
- package/Utils/Telemetry/LlmUsage.js +266 -0
- package/Utils/Telemetry/LlmUsage.mjs +3 -0
- package/Utils/Telemetry/ScrubNestedValues.d.mts +14 -0
- package/Utils/Telemetry/ScrubNestedValues.d.ts +14 -0
- package/Utils/Telemetry/ScrubNestedValues.js +302 -0
- package/Utils/Telemetry/ScrubNestedValues.mjs +4 -0
- package/Utils/Telemetry/TelemetryIngestionBudgetMetricType.d.mts +18 -0
- package/Utils/Telemetry/TelemetryIngestionBudgetMetricType.d.ts +18 -0
- package/Utils/Telemetry/TelemetryIngestionBudgetMetricType.js +141 -0
- package/Utils/Telemetry/TelemetryIngestionBudgetMetricType.mjs +9 -0
- package/Utils/Workflow/WorkflowGraphChanges.d.mts +65 -0
- package/Utils/Workflow/WorkflowGraphChanges.d.ts +65 -0
- package/Utils/Workflow/WorkflowGraphChanges.js +530 -0
- package/Utils/Workflow/WorkflowGraphChanges.mjs +8 -0
- package/Utils/Workflow/WorkflowGraphSnapshot.d.mts +12 -0
- package/Utils/Workflow/WorkflowGraphSnapshot.d.ts +12 -0
- package/Utils/Workflow/WorkflowGraphSnapshot.js +214 -0
- package/Utils/Workflow/WorkflowGraphSnapshot.mjs +6 -0
- package/package.json +1 -1
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LlmInferenceDetailsContentAttributeKeys = exports.LlmContentEventNames = exports.LlmLogEventNameAttributeKey = exports.LlmCompletionEventNames = exports.LlmPromptEventNames = exports.LlmCompletionJsonAttributeKeys = exports.LlmPromptJsonAttributeKeys = exports.LlmCompletionIndexedMessageConventions = exports.LlmPromptIndexedMessageConventions = exports.LlmAttributeNamespacePrefixes = exports.LlmEvaluationExplanationAttributeKey = exports.LlmEvaluationScoreValueAttributeKey = exports.LlmEvaluationScoreLabelAttributeKey = exports.LlmEvaluationNameAttributeKey = exports.LlmEvaluationResultEventName = exports.LlmInferenceDetailsEventName = exports.LlmResponseToolCallsAttributeKeys = exports.LlmToolCallResultAttributeKeys = exports.LlmToolCallArgumentsAttributeKeys = exports.LlmToolCallIdAttributeKeys = exports.LlmSystemInstructionsAttributeKeys = exports.LlmErrorTypeAttributeKeys = exports.LlmFinishReasonAttributeKeys = exports.LlmTopPAttributeKeys = exports.LlmMaxTokensAttributeKeys = exports.LlmTemperatureAttributeKeys = exports.LlmToolNameAttributeKeys = exports.LlmEndUserAttributeKeys = exports.LlmEndUserBaseAttributeKeys = exports.LlmTeamAttributeKeys = exports.LlmTeamBaseAttributeKeys = exports.LlmUserEmailAttributeKeys = exports.LlmUserEmailBaseAttributeKeys = exports.LlmUserIdAttributeKeys = exports.LlmUserIdBaseAttributeKeys = exports.LlmAgentNameAttributeKeys = exports.LlmConversationIdAttributeKeys = exports.LlmCostAttributeKeys = exports.ClaudeCodeUsageAttributeKeys = exports.LlmCacheWriteTokenAttributeKeys = exports.LlmCacheReadTokenAttributeKeys = exports.LlmTotalTokenAttributeKeys = exports.LlmOutputTokenAttributeKeys = exports.LlmInputTokenAttributeKeys = exports.LlmResponseModelAttributeKeys = exports.LlmRequestModelAttributeKeys = exports.LlmOperationAttributeKeys = exports.LlmEndpointAddressAttributeKeys = exports.LlmSystemAttributeKeys = exports.RESOURCE_ATTRIBUTE_KEY_PREFIX = void 0;
|
|
4
|
+
exports.LlmEventContentAttributeKey = void 0;
|
|
5
|
+
exports.withResourcePrefixedKeys = withResourcePrefixedKeys;
|
|
6
|
+
const LogEventName_1 = require("../Log/LogEventName");
|
|
2
7
|
/*
|
|
3
8
|
* Single source of truth for the OpenTelemetry GenAI (gen_ai.*) semantic
|
|
4
9
|
* convention attribute keys OneUptime recognizes when it detects and
|
|
@@ -16,9 +21,6 @@
|
|
|
16
21
|
* Order matters: within each list the preferred convention comes first and the
|
|
17
22
|
* lookup helpers return the first key that is present.
|
|
18
23
|
*/
|
|
19
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
exports.LlmCompletionEventNames = exports.LlmPromptEventNames = exports.LlmCompletionJsonAttributeKeys = exports.LlmPromptJsonAttributeKeys = exports.LlmCompletionIndexedMessageConventions = exports.LlmPromptIndexedMessageConventions = exports.LlmAttributeNamespacePrefixes = exports.LlmEvaluationExplanationAttributeKey = exports.LlmEvaluationScoreValueAttributeKey = exports.LlmEvaluationScoreLabelAttributeKey = exports.LlmEvaluationNameAttributeKey = exports.LlmEvaluationResultEventName = exports.LlmInferenceDetailsEventName = exports.LlmResponseToolCallsAttributeKeys = exports.LlmToolCallResultAttributeKeys = exports.LlmToolCallArgumentsAttributeKeys = exports.LlmToolCallIdAttributeKeys = exports.LlmSystemInstructionsAttributeKeys = exports.LlmErrorTypeAttributeKeys = exports.LlmFinishReasonAttributeKeys = exports.LlmTopPAttributeKeys = exports.LlmMaxTokensAttributeKeys = exports.LlmTemperatureAttributeKeys = exports.LlmToolNameAttributeKeys = exports.LlmEndUserAttributeKeys = exports.LlmEndUserBaseAttributeKeys = exports.LlmTeamAttributeKeys = exports.LlmTeamBaseAttributeKeys = exports.LlmUserEmailAttributeKeys = exports.LlmUserEmailBaseAttributeKeys = exports.LlmUserIdAttributeKeys = exports.LlmUserIdBaseAttributeKeys = exports.LlmAgentNameAttributeKeys = exports.LlmConversationIdAttributeKeys = exports.LlmCostAttributeKeys = exports.ClaudeCodeUsageAttributeKeys = exports.LlmCacheWriteTokenAttributeKeys = exports.LlmCacheReadTokenAttributeKeys = exports.LlmTotalTokenAttributeKeys = exports.LlmOutputTokenAttributeKeys = exports.LlmInputTokenAttributeKeys = exports.LlmResponseModelAttributeKeys = exports.LlmRequestModelAttributeKeys = exports.LlmOperationAttributeKeys = exports.LlmSystemAttributeKeys = exports.RESOURCE_ATTRIBUTE_KEY_PREFIX = void 0;
|
|
21
|
-
exports.withResourcePrefixedKeys = withResourcePrefixedKeys;
|
|
22
24
|
/**
|
|
23
25
|
* The prefix OTLP ingest stamps onto every RESOURCE attribute before the
|
|
24
26
|
* attributes map reaches any extractor.
|
|
@@ -82,6 +84,17 @@ exports.LlmSystemAttributeKeys = [
|
|
|
82
84
|
"llm.system",
|
|
83
85
|
"llm.provider",
|
|
84
86
|
];
|
|
87
|
+
/*
|
|
88
|
+
* The address an AI call went to: the conventions' server.address, and
|
|
89
|
+
* OpenLLMetry's gen_ai.openai.api_base (the OpenAI client's base URL). An
|
|
90
|
+
* OpenAI SDK names its provider "openai" when it calls an Azure OpenAI or
|
|
91
|
+
* Microsoft Foundry resource; the address says it was Azure
|
|
92
|
+
* (LlmProviders.normalizeLlmProvider).
|
|
93
|
+
*/
|
|
94
|
+
exports.LlmEndpointAddressAttributeKeys = [
|
|
95
|
+
"server.address",
|
|
96
|
+
"gen_ai.openai.api_base",
|
|
97
|
+
];
|
|
85
98
|
// Operation, e.g. "chat", "embeddings", "execute_tool", "invoke_agent".
|
|
86
99
|
exports.LlmOperationAttributeKeys = [
|
|
87
100
|
"gen_ai.operation.name",
|
|
@@ -545,3 +558,38 @@ exports.LlmPromptEventNames = [
|
|
|
545
558
|
"gen_ai.tool.message",
|
|
546
559
|
];
|
|
547
560
|
exports.LlmCompletionEventNames = ["gen_ai.choice"];
|
|
561
|
+
/*
|
|
562
|
+
* The same events, sent on the logs signal: the OpenTelemetry
|
|
563
|
+
* instrumentations for JavaScript and Java, and Python's with `true` or
|
|
564
|
+
* `event_only`, send what was said as log records - one per message
|
|
565
|
+
* (gen_ai.user.message ... gen_ai.choice, the message in the body) or one
|
|
566
|
+
* gen_ai.client.inference.operation.details record per call - carrying the
|
|
567
|
+
* call's trace and span ids. A log record names its event in the
|
|
568
|
+
* `event.name` attribute or in its own event name field (OTLP's
|
|
569
|
+
* LogRecord.event_name, which ingest stamps onto `event.name`).
|
|
570
|
+
*/
|
|
571
|
+
exports.LlmLogEventNameAttributeKey = LogEventName_1.LogEventNameAttributeKey;
|
|
572
|
+
exports.LlmContentEventNames = [
|
|
573
|
+
...exports.LlmPromptEventNames,
|
|
574
|
+
...exports.LlmCompletionEventNames,
|
|
575
|
+
exports.LlmInferenceDetailsEventName,
|
|
576
|
+
];
|
|
577
|
+
/*
|
|
578
|
+
* The attributes a gen_ai.client.inference.operation.details record carries
|
|
579
|
+
* what was said in. A record with one of them is that event even when it
|
|
580
|
+
* reached OneUptime without its name: ingest kept no event name field
|
|
581
|
+
* before it stamped `event.name`.
|
|
582
|
+
*/
|
|
583
|
+
exports.LlmInferenceDetailsContentAttributeKeys = [
|
|
584
|
+
"gen_ai.input.messages",
|
|
585
|
+
"gen_ai.output.messages",
|
|
586
|
+
"gen_ai.system_instructions",
|
|
587
|
+
];
|
|
588
|
+
/*
|
|
589
|
+
* Where Azure's AI Inference SDK (gen_ai.system az.ai.inference) and
|
|
590
|
+
* Semantic Kernel put a message event's content: the whole message as one
|
|
591
|
+
* JSON string - {"role": "user", "content": "..."}, or on gen_ai.choice
|
|
592
|
+
* {"message": {...}, "finish_reason": "stop", "index": 0} - rather than as
|
|
593
|
+
* attributes of the event.
|
|
594
|
+
*/
|
|
595
|
+
exports.LlmEventContentAttributeKey = "gen_ai.event.content";
|
|
@@ -7,19 +7,24 @@ export const LlmCacheWriteTokenAttributeKeys = commonJsModule.LlmCacheWriteToken
|
|
|
7
7
|
export const LlmCompletionEventNames = commonJsModule.LlmCompletionEventNames;
|
|
8
8
|
export const LlmCompletionIndexedMessageConventions = commonJsModule.LlmCompletionIndexedMessageConventions;
|
|
9
9
|
export const LlmCompletionJsonAttributeKeys = commonJsModule.LlmCompletionJsonAttributeKeys;
|
|
10
|
+
export const LlmContentEventNames = commonJsModule.LlmContentEventNames;
|
|
10
11
|
export const LlmConversationIdAttributeKeys = commonJsModule.LlmConversationIdAttributeKeys;
|
|
11
12
|
export const LlmCostAttributeKeys = commonJsModule.LlmCostAttributeKeys;
|
|
12
13
|
export const LlmEndUserAttributeKeys = commonJsModule.LlmEndUserAttributeKeys;
|
|
13
14
|
export const LlmEndUserBaseAttributeKeys = commonJsModule.LlmEndUserBaseAttributeKeys;
|
|
15
|
+
export const LlmEndpointAddressAttributeKeys = commonJsModule.LlmEndpointAddressAttributeKeys;
|
|
14
16
|
export const LlmErrorTypeAttributeKeys = commonJsModule.LlmErrorTypeAttributeKeys;
|
|
15
17
|
export const LlmEvaluationExplanationAttributeKey = commonJsModule.LlmEvaluationExplanationAttributeKey;
|
|
16
18
|
export const LlmEvaluationNameAttributeKey = commonJsModule.LlmEvaluationNameAttributeKey;
|
|
17
19
|
export const LlmEvaluationResultEventName = commonJsModule.LlmEvaluationResultEventName;
|
|
18
20
|
export const LlmEvaluationScoreLabelAttributeKey = commonJsModule.LlmEvaluationScoreLabelAttributeKey;
|
|
19
21
|
export const LlmEvaluationScoreValueAttributeKey = commonJsModule.LlmEvaluationScoreValueAttributeKey;
|
|
22
|
+
export const LlmEventContentAttributeKey = commonJsModule.LlmEventContentAttributeKey;
|
|
20
23
|
export const LlmFinishReasonAttributeKeys = commonJsModule.LlmFinishReasonAttributeKeys;
|
|
24
|
+
export const LlmInferenceDetailsContentAttributeKeys = commonJsModule.LlmInferenceDetailsContentAttributeKeys;
|
|
21
25
|
export const LlmInferenceDetailsEventName = commonJsModule.LlmInferenceDetailsEventName;
|
|
22
26
|
export const LlmInputTokenAttributeKeys = commonJsModule.LlmInputTokenAttributeKeys;
|
|
27
|
+
export const LlmLogEventNameAttributeKey = commonJsModule.LlmLogEventNameAttributeKey;
|
|
23
28
|
export const LlmMaxTokensAttributeKeys = commonJsModule.LlmMaxTokensAttributeKeys;
|
|
24
29
|
export const LlmOperationAttributeKeys = commonJsModule.LlmOperationAttributeKeys;
|
|
25
30
|
export const LlmOutputTokenAttributeKeys = commonJsModule.LlmOutputTokenAttributeKeys;
|
|
@@ -77,6 +77,13 @@ export interface LlmConversationListResponse {
|
|
|
77
77
|
conversations: Array<LlmConversationListItem>;
|
|
78
78
|
hasMore: boolean;
|
|
79
79
|
}
|
|
80
|
+
export declare enum LlmLogEventsRead {
|
|
81
|
+
NotNeeded = "notNeeded",
|
|
82
|
+
Read = "read",
|
|
83
|
+
NotAllowed = "notAllowed",
|
|
84
|
+
Failed = "failed"
|
|
85
|
+
}
|
|
86
|
+
export declare function readLogEventsRead(value: unknown): LlmLogEventsRead;
|
|
80
87
|
export interface LlmConversationDetailRequestBody {
|
|
81
88
|
key: string;
|
|
82
89
|
startTime?: string | undefined;
|
|
@@ -77,6 +77,13 @@ export interface LlmConversationListResponse {
|
|
|
77
77
|
conversations: Array<LlmConversationListItem>;
|
|
78
78
|
hasMore: boolean;
|
|
79
79
|
}
|
|
80
|
+
export declare enum LlmLogEventsRead {
|
|
81
|
+
NotNeeded = "notNeeded",
|
|
82
|
+
Read = "read",
|
|
83
|
+
NotAllowed = "notAllowed",
|
|
84
|
+
Failed = "failed"
|
|
85
|
+
}
|
|
86
|
+
export declare function readLogEventsRead(value: unknown): LlmLogEventsRead;
|
|
80
87
|
export interface LlmConversationDetailRequestBody {
|
|
81
88
|
key: string;
|
|
82
89
|
startTime?: string | undefined;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LlmConversationKeyUtil = exports.LlmConversationSort = exports.LlmConversationKeyKind = exports.LLM_CONVERSATION_DEFAULT_LOOKBACK_MS = exports.LLM_CONVERSATION_HINT_PADDING_MS = exports.LLM_CONVERSATION_MAX_CALLS = exports.LLM_CONVERSATION_MAX_FILTER_LENGTH = exports.LLM_CONVERSATION_MAX_PAGE_SIZE = exports.LLM_CONVERSATION_PAGE_SIZE = exports.LLM_ANSWER_STATS_ROUTE = exports.LLM_CONVERSATION_ROUTE = exports.LLM_CONVERSATIONS_ROUTE = void 0;
|
|
3
|
+
exports.LlmConversationKeyUtil = exports.LlmLogEventsRead = exports.LlmConversationSort = exports.LlmConversationKeyKind = exports.LLM_CONVERSATION_DEFAULT_LOOKBACK_MS = exports.LLM_CONVERSATION_HINT_PADDING_MS = exports.LLM_CONVERSATION_MAX_CALLS = exports.LLM_CONVERSATION_MAX_FILTER_LENGTH = exports.LLM_CONVERSATION_MAX_PAGE_SIZE = exports.LLM_CONVERSATION_PAGE_SIZE = exports.LLM_ANSWER_STATS_ROUTE = exports.LLM_CONVERSATION_ROUTE = exports.LLM_CONVERSATIONS_ROUTE = void 0;
|
|
4
|
+
exports.readLogEventsRead = readLogEventsRead;
|
|
4
5
|
exports.emptyIssueCounts = emptyIssueCounts;
|
|
5
6
|
exports.readNumber = readNumber;
|
|
6
7
|
exports.readOptionalNumber = readOptionalNumber;
|
|
@@ -72,6 +73,41 @@ var LlmConversationSort;
|
|
|
72
73
|
LlmConversationSort["Slowest"] = "slowest";
|
|
73
74
|
LlmConversationSort["MostCalls"] = "most_calls";
|
|
74
75
|
})(LlmConversationSort || (exports.LlmConversationSort = LlmConversationSort = {}));
|
|
76
|
+
/*
|
|
77
|
+
* Whether a conversation view read the prompts and answers its calls sent
|
|
78
|
+
* as GenAI log events (the OpenTelemetry instrumentations for JavaScript
|
|
79
|
+
* and Java, and Python's with `true` or `event_only`, send them on the logs
|
|
80
|
+
* signal, matched to their call by trace and span id):
|
|
81
|
+
*
|
|
82
|
+
* - notNeeded: no answer lacked its prompt or its answer on its span, so
|
|
83
|
+
* no log was read;
|
|
84
|
+
* - read: the logs were read, and what they said is in the
|
|
85
|
+
* transcript (which may be nothing);
|
|
86
|
+
* - notAllowed: the caller may not read the logs of some of these calls'
|
|
87
|
+
* apps, so what those logs say is not shown;
|
|
88
|
+
* - failed: the logs could not be read (a timeout), so what they say
|
|
89
|
+
* is not shown - asking again may read them.
|
|
90
|
+
*/
|
|
91
|
+
var LlmLogEventsRead;
|
|
92
|
+
(function (LlmLogEventsRead) {
|
|
93
|
+
LlmLogEventsRead["NotNeeded"] = "notNeeded";
|
|
94
|
+
LlmLogEventsRead["Read"] = "read";
|
|
95
|
+
LlmLogEventsRead["NotAllowed"] = "notAllowed";
|
|
96
|
+
LlmLogEventsRead["Failed"] = "failed";
|
|
97
|
+
})(LlmLogEventsRead || (exports.LlmLogEventsRead = LlmLogEventsRead = {}));
|
|
98
|
+
function readLogEventsRead(value) {
|
|
99
|
+
switch (value) {
|
|
100
|
+
case LlmLogEventsRead.Read:
|
|
101
|
+
return LlmLogEventsRead.Read;
|
|
102
|
+
case LlmLogEventsRead.NotAllowed:
|
|
103
|
+
return LlmLogEventsRead.NotAllowed;
|
|
104
|
+
case LlmLogEventsRead.Failed:
|
|
105
|
+
return LlmLogEventsRead.Failed;
|
|
106
|
+
default:
|
|
107
|
+
// A server from before log events were read did not read them.
|
|
108
|
+
return LlmLogEventsRead.NotNeeded;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
75
111
|
class LlmConversationKeyUtil {
|
|
76
112
|
static encode(key) {
|
|
77
113
|
return key.kind === LlmConversationKeyKind.Request
|
|
@@ -11,6 +11,7 @@ export const LLM_CONVERSATION_ROUTE = commonJsModule.LLM_CONVERSATION_ROUTE;
|
|
|
11
11
|
export const LlmConversationKeyKind = commonJsModule.LlmConversationKeyKind;
|
|
12
12
|
export const LlmConversationKeyUtil = commonJsModule.LlmConversationKeyUtil;
|
|
13
13
|
export const LlmConversationSort = commonJsModule.LlmConversationSort;
|
|
14
|
+
export const LlmLogEventsRead = commonJsModule.LlmLogEventsRead;
|
|
14
15
|
export const emptyIssueCounts = commonJsModule.emptyIssueCounts;
|
|
15
16
|
export const readAnswerStatsResponse = commonJsModule.readAnswerStatsResponse;
|
|
16
17
|
export const readConversationIssueFilter = commonJsModule.readConversationIssueFilter;
|
|
@@ -20,6 +21,7 @@ export const readConversationSort = commonJsModule.readConversationSort;
|
|
|
20
21
|
export const readConversationSummary = commonJsModule.readConversationSummary;
|
|
21
22
|
export const readFilterText = commonJsModule.readFilterText;
|
|
22
23
|
export const readIssueCounts = commonJsModule.readIssueCounts;
|
|
24
|
+
export const readLogEventsRead = commonJsModule.readLogEventsRead;
|
|
23
25
|
export const readNumber = commonJsModule.readNumber;
|
|
24
26
|
export const readOptionalNumber = commonJsModule.readOptionalNumber;
|
|
25
27
|
export const readString = commonJsModule.readString;
|
|
@@ -11,12 +11,14 @@ export declare const LlmMicroUsdCostMetricNames: Array<string>;
|
|
|
11
11
|
export declare const LlmTokenTypeAttributeKeys: Array<string>;
|
|
12
12
|
export declare const LlmInputTokenTypeValues: Array<string>;
|
|
13
13
|
export declare const LlmOutputTokenTypeValues: Array<string>;
|
|
14
|
+
export declare const LlmMetricInputCacheTokenTypes: Record<string, Array<string>>;
|
|
14
15
|
export declare const LlmMetricUserBaseAttributeKeys: Array<string>;
|
|
15
16
|
export declare const LlmMetricUserAttributeKeys: Array<string>;
|
|
16
17
|
export declare const LlmMetricTeamBaseAttributeKeys: Array<string>;
|
|
17
18
|
export declare const LlmMetricTeamAttributeKeys: Array<string>;
|
|
18
19
|
export declare const LlmMetricModelBaseAttributeKeys: Array<string>;
|
|
19
20
|
export declare const LlmMetricModelAttributeKeys: Array<string>;
|
|
21
|
+
export declare const LlmMetricProviderAttributeKeys: Array<string>;
|
|
20
22
|
/**
|
|
21
23
|
* Which side of the exchange a `gen_ai.token.type` value denotes, or null
|
|
22
24
|
* when the value is one we deliberately do not count (the cache kinds,
|
|
@@ -34,3 +36,11 @@ export declare function getLlmTokenDirection(attributeValue: string | undefined
|
|
|
34
36
|
* and tests share one definition of "what counts as input".
|
|
35
37
|
*/
|
|
36
38
|
export declare function getLlmTokenTypeValues(direction: LlmTokenDirection): Array<string>;
|
|
39
|
+
/**
|
|
40
|
+
* Which side of the exchange a token datapoint of `metricName` counts, by
|
|
41
|
+
* the GenAI conventions' count: getLlmTokenDirection, plus the cache kinds
|
|
42
|
+
* an emitter reports apart from an input that leaves them out
|
|
43
|
+
* (LlmMetricInputCacheTokenTypes - Claude Code's cacheRead and
|
|
44
|
+
* cacheCreation are input). Null for a value that is not counted.
|
|
45
|
+
*/
|
|
46
|
+
export declare function getLlmMetricTokenDirection(metricName: string | undefined | null, attributeValue: string | undefined | null): LlmTokenDirection | null;
|
|
@@ -11,12 +11,14 @@ export declare const LlmMicroUsdCostMetricNames: Array<string>;
|
|
|
11
11
|
export declare const LlmTokenTypeAttributeKeys: Array<string>;
|
|
12
12
|
export declare const LlmInputTokenTypeValues: Array<string>;
|
|
13
13
|
export declare const LlmOutputTokenTypeValues: Array<string>;
|
|
14
|
+
export declare const LlmMetricInputCacheTokenTypes: Record<string, Array<string>>;
|
|
14
15
|
export declare const LlmMetricUserBaseAttributeKeys: Array<string>;
|
|
15
16
|
export declare const LlmMetricUserAttributeKeys: Array<string>;
|
|
16
17
|
export declare const LlmMetricTeamBaseAttributeKeys: Array<string>;
|
|
17
18
|
export declare const LlmMetricTeamAttributeKeys: Array<string>;
|
|
18
19
|
export declare const LlmMetricModelBaseAttributeKeys: Array<string>;
|
|
19
20
|
export declare const LlmMetricModelAttributeKeys: Array<string>;
|
|
21
|
+
export declare const LlmMetricProviderAttributeKeys: Array<string>;
|
|
20
22
|
/**
|
|
21
23
|
* Which side of the exchange a `gen_ai.token.type` value denotes, or null
|
|
22
24
|
* when the value is one we deliberately do not count (the cache kinds,
|
|
@@ -34,3 +36,11 @@ export declare function getLlmTokenDirection(attributeValue: string | undefined
|
|
|
34
36
|
* and tests share one definition of "what counts as input".
|
|
35
37
|
*/
|
|
36
38
|
export declare function getLlmTokenTypeValues(direction: LlmTokenDirection): Array<string>;
|
|
39
|
+
/**
|
|
40
|
+
* Which side of the exchange a token datapoint of `metricName` counts, by
|
|
41
|
+
* the GenAI conventions' count: getLlmTokenDirection, plus the cache kinds
|
|
42
|
+
* an emitter reports apart from an input that leaves them out
|
|
43
|
+
* (LlmMetricInputCacheTokenTypes - Claude Code's cacheRead and
|
|
44
|
+
* cacheCreation are input). Null for a value that is not counted.
|
|
45
|
+
*/
|
|
46
|
+
export declare function getLlmMetricTokenDirection(metricName: string | undefined | null, attributeValue: string | undefined | null): LlmTokenDirection | null;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LlmMetricModelAttributeKeys = exports.LlmMetricModelBaseAttributeKeys = exports.LlmMetricTeamAttributeKeys = exports.LlmMetricTeamBaseAttributeKeys = exports.LlmMetricUserAttributeKeys = exports.LlmMetricUserBaseAttributeKeys = exports.LlmOutputTokenTypeValues = exports.LlmInputTokenTypeValues = exports.LlmTokenTypeAttributeKeys = exports.LlmMicroUsdCostMetricNames = exports.MICRO_USD_TO_USD = exports.LlmCostMetricNames = exports.LlmTokenUsageMetricNames = void 0;
|
|
3
|
+
exports.LlmMetricProviderAttributeKeys = exports.LlmMetricModelAttributeKeys = exports.LlmMetricModelBaseAttributeKeys = exports.LlmMetricTeamAttributeKeys = exports.LlmMetricTeamBaseAttributeKeys = exports.LlmMetricUserAttributeKeys = exports.LlmMetricUserBaseAttributeKeys = exports.LlmMetricInputCacheTokenTypes = exports.LlmOutputTokenTypeValues = exports.LlmInputTokenTypeValues = exports.LlmTokenTypeAttributeKeys = exports.LlmMicroUsdCostMetricNames = exports.MICRO_USD_TO_USD = exports.LlmCostMetricNames = exports.LlmTokenUsageMetricNames = void 0;
|
|
4
4
|
exports.getLlmTokenDirection = getLlmTokenDirection;
|
|
5
5
|
exports.getLlmTokenTypeValues = getLlmTokenTypeValues;
|
|
6
|
+
exports.getLlmMetricTokenDirection = getLlmMetricTokenDirection;
|
|
6
7
|
const LlmConventions_1 = require("./LlmConventions");
|
|
7
8
|
/*
|
|
8
9
|
* Single source of truth for the OpenTelemetry GenAI **metric** names and
|
|
@@ -19,9 +20,10 @@ const LlmConventions_1 = require("./LlmConventions");
|
|
|
19
20
|
* - AI gateways and vendor exporters that publish spend/usage counters only.
|
|
20
21
|
*
|
|
21
22
|
* For those, token and cost totals have to come off the metric stream instead.
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
23
|
+
* The usage reads (Common/Server/Utils/Telemetry/LlmMetricUsageReader.ts,
|
|
24
|
+
* which the Usage tab and the cost budgets share through LlmUsageReader) and
|
|
25
|
+
* anything else that needs metric-sourced LLM figures import these lists, so
|
|
26
|
+
* a newly recognized metric name is added HERE, once.
|
|
25
27
|
*
|
|
26
28
|
* Order matters: within each list the preferred convention comes first.
|
|
27
29
|
*/
|
|
@@ -174,15 +176,22 @@ exports.LlmInputTokenTypeValues = ["input", "prompt"];
|
|
|
174
176
|
* output | reasoning_output
|
|
175
177
|
*
|
|
176
178
|
* The plain input/output values are covered by the two lists here and need
|
|
177
|
-
* nothing added. The
|
|
179
|
+
* nothing added. The cache kinds depend on the emitter, and the rest are
|
|
180
|
+
* excluded on purpose:
|
|
178
181
|
*
|
|
179
|
-
* -
|
|
180
|
-
*
|
|
181
|
-
*
|
|
182
|
-
*
|
|
183
|
-
*
|
|
184
|
-
*
|
|
185
|
-
*
|
|
182
|
+
* - cacheRead / cacheCreation (Claude Code)
|
|
183
|
+
* PART of the input, by the GenAI conventions' count: the span columns
|
|
184
|
+
* (llmInputTokens) hold every token the model read, the cached ones
|
|
185
|
+
* included (LlmTokenUsage), and Claude Code's metric `input` leaves
|
|
186
|
+
* them out - its monitoring docs say so. So for claude_code.token.usage
|
|
187
|
+
* they count as input (LlmMetricInputCacheTokenTypes below), or a
|
|
188
|
+
* Claude Code fleet's input reads a fraction of what its spans would.
|
|
189
|
+
* - cache_read / cache_creation (Cursor)
|
|
190
|
+
* Cursor does not say whether its `input` holds them, so they are left
|
|
191
|
+
* out rather than guessed at.
|
|
192
|
+
* - cached_input / cache_write_input (Codex)
|
|
193
|
+
* A SUBSET of Codex's `input`, which already counts every input token
|
|
194
|
+
* the way OpenAI's usage does. Counting them would add them twice.
|
|
186
195
|
* - total
|
|
187
196
|
* A SUPERSET of its siblings. Codex emits it ALONGSIDE the per-kind
|
|
188
197
|
* datapoints, so counting it would add every token a second time.
|
|
@@ -195,6 +204,16 @@ exports.LlmInputTokenTypeValues = ["input", "prompt"];
|
|
|
195
204
|
* "why is this not handled?" reads as a decision, not a gap.
|
|
196
205
|
*/
|
|
197
206
|
exports.LlmOutputTokenTypeValues = ["output", "completion"];
|
|
207
|
+
/*
|
|
208
|
+
* Token types an emitter reports apart from its `input` that ARE input by
|
|
209
|
+
* the GenAI conventions, by metric name, lower case. Claude Code's `input`
|
|
210
|
+
* excludes the tokens read from and written to the prompt cache, which it
|
|
211
|
+
* counts as `cacheRead` and `cacheCreation`; its GenAI input count is the
|
|
212
|
+
* three added up, exactly as LlmTokenUsage adds them on its spans.
|
|
213
|
+
*/
|
|
214
|
+
exports.LlmMetricInputCacheTokenTypes = {
|
|
215
|
+
"claude_code.token.usage": ["cacheread", "cachecreation"],
|
|
216
|
+
};
|
|
198
217
|
/*
|
|
199
218
|
* Attribute keys naming WHO the metric datapoint belongs to, for grouping
|
|
200
219
|
* metric-sourced spend by employee — the metric-side counterpart of
|
|
@@ -203,8 +222,14 @@ exports.LlmOutputTokenTypeValues = ["output", "completion"];
|
|
|
203
222
|
* Email leads here rather than id (the span list is the other way round)
|
|
204
223
|
* because the coding-agent CLIs that dominate the metric-only population emit
|
|
205
224
|
* user.email natively, and it is the one value a manager reads without a
|
|
206
|
-
* lookup table. cursor.user.
|
|
207
|
-
*
|
|
225
|
+
* lookup table. cursor.user.email - the member's email, which Cursor's
|
|
226
|
+
* export sends on the resource unless the team is on its legacy Privacy
|
|
227
|
+
* Mode - comes next for the same reason. cursor.user.id sorts last for the
|
|
228
|
+
* reason it does on the span side: it is an opaque team-scoped integer.
|
|
229
|
+
*
|
|
230
|
+
* The list is read by LlmMetricUsageReader, which picks the first non-empty
|
|
231
|
+
* key in ClickHouse, so it is not bound by the ten-key limit of a grouped
|
|
232
|
+
* metric aggregate (MetricService's MAX_GROUP_BY_ATTRIBUTE_KEYS).
|
|
208
233
|
*
|
|
209
234
|
* Both lists below are resource-widened for the same reason the span lists
|
|
210
235
|
* are: OtelMetricsIngestService flattens resource attributes with the
|
|
@@ -217,6 +242,8 @@ exports.LlmOutputTokenTypeValues = ["output", "completion"];
|
|
|
217
242
|
*/
|
|
218
243
|
exports.LlmMetricUserBaseAttributeKeys = [
|
|
219
244
|
"user.email",
|
|
245
|
+
// Cursor's OpenTelemetry export, on the resource.
|
|
246
|
+
"cursor.user.email",
|
|
220
247
|
"user.id",
|
|
221
248
|
"user.account_uuid",
|
|
222
249
|
"user.account_id",
|
|
@@ -267,6 +294,24 @@ exports.LlmMetricModelBaseAttributeKeys = [
|
|
|
267
294
|
"cursor.model.name",
|
|
268
295
|
];
|
|
269
296
|
exports.LlmMetricModelAttributeKeys = (0, LlmConventions_1.withResourcePrefixedKeys)(exports.LlmMetricModelBaseAttributeKeys);
|
|
297
|
+
/*
|
|
298
|
+
* Attribute keys naming WHICH PROVIDER served the calls a datapoint counts:
|
|
299
|
+
* the conventions' gen_ai.provider.name (and gen_ai.system, which it
|
|
300
|
+
* replaced), and the spellings the span list knows (LlmSystemAttributeKeys).
|
|
301
|
+
* An SDK's gen_ai.client.token.usage carries one; the coding assistants'
|
|
302
|
+
* counters carry none - Cursor and Claude Code reach several providers
|
|
303
|
+
* behind one subscription - so their usage falls under Unattributed in the
|
|
304
|
+
* Provider breakdown, still counted. The value is read as sent and named
|
|
305
|
+
* the way ingest names a span's provider (normalizeLlmProvider) before it
|
|
306
|
+
* is grouped. Not resource-widened, like the span list: a provider names
|
|
307
|
+
* one call, never a whole process.
|
|
308
|
+
*/
|
|
309
|
+
exports.LlmMetricProviderAttributeKeys = [
|
|
310
|
+
"gen_ai.provider.name",
|
|
311
|
+
"gen_ai.system",
|
|
312
|
+
"llm.system",
|
|
313
|
+
"llm.provider",
|
|
314
|
+
];
|
|
270
315
|
function getLlmTokenDirection(attributeValue) {
|
|
271
316
|
if (typeof attributeValue !== "string") {
|
|
272
317
|
return null;
|
|
@@ -292,3 +337,28 @@ function getLlmTokenTypeValues(direction) {
|
|
|
292
337
|
? exports.LlmInputTokenTypeValues
|
|
293
338
|
: exports.LlmOutputTokenTypeValues;
|
|
294
339
|
}
|
|
340
|
+
/**
|
|
341
|
+
* Which side of the exchange a token datapoint of `metricName` counts, by
|
|
342
|
+
* the GenAI conventions' count: getLlmTokenDirection, plus the cache kinds
|
|
343
|
+
* an emitter reports apart from an input that leaves them out
|
|
344
|
+
* (LlmMetricInputCacheTokenTypes - Claude Code's cacheRead and
|
|
345
|
+
* cacheCreation are input). Null for a value that is not counted.
|
|
346
|
+
*/
|
|
347
|
+
function getLlmMetricTokenDirection(metricName, attributeValue) {
|
|
348
|
+
const direction = getLlmTokenDirection(attributeValue);
|
|
349
|
+
if (direction) {
|
|
350
|
+
return direction;
|
|
351
|
+
}
|
|
352
|
+
if (typeof attributeValue !== "string" || typeof metricName !== "string") {
|
|
353
|
+
return null;
|
|
354
|
+
}
|
|
355
|
+
const name = metricName.trim().toLowerCase();
|
|
356
|
+
// A metric name is outside text: never read Object.prototype through it.
|
|
357
|
+
if (!Object.prototype.hasOwnProperty.call(exports.LlmMetricInputCacheTokenTypes, name)) {
|
|
358
|
+
return null;
|
|
359
|
+
}
|
|
360
|
+
const cacheTypes = exports.LlmMetricInputCacheTokenTypes[name] || [];
|
|
361
|
+
return cacheTypes.includes(attributeValue.trim().toLowerCase())
|
|
362
|
+
? "input"
|
|
363
|
+
: null;
|
|
364
|
+
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import commonJsModule from "./LlmMetricConventions.js";
|
|
2
2
|
export const LlmCostMetricNames = commonJsModule.LlmCostMetricNames;
|
|
3
3
|
export const LlmInputTokenTypeValues = commonJsModule.LlmInputTokenTypeValues;
|
|
4
|
+
export const LlmMetricInputCacheTokenTypes = commonJsModule.LlmMetricInputCacheTokenTypes;
|
|
4
5
|
export const LlmMetricModelAttributeKeys = commonJsModule.LlmMetricModelAttributeKeys;
|
|
5
6
|
export const LlmMetricModelBaseAttributeKeys = commonJsModule.LlmMetricModelBaseAttributeKeys;
|
|
7
|
+
export const LlmMetricProviderAttributeKeys = commonJsModule.LlmMetricProviderAttributeKeys;
|
|
6
8
|
export const LlmMetricTeamAttributeKeys = commonJsModule.LlmMetricTeamAttributeKeys;
|
|
7
9
|
export const LlmMetricTeamBaseAttributeKeys = commonJsModule.LlmMetricTeamBaseAttributeKeys;
|
|
8
10
|
export const LlmMetricUserAttributeKeys = commonJsModule.LlmMetricUserAttributeKeys;
|
|
@@ -12,5 +14,6 @@ export const LlmOutputTokenTypeValues = commonJsModule.LlmOutputTokenTypeValues;
|
|
|
12
14
|
export const LlmTokenTypeAttributeKeys = commonJsModule.LlmTokenTypeAttributeKeys;
|
|
13
15
|
export const LlmTokenUsageMetricNames = commonJsModule.LlmTokenUsageMetricNames;
|
|
14
16
|
export const MICRO_USD_TO_USD = commonJsModule.MICRO_USD_TO_USD;
|
|
17
|
+
export const getLlmMetricTokenDirection = commonJsModule.getLlmMetricTokenDirection;
|
|
15
18
|
export const getLlmTokenDirection = commonJsModule.getLlmTokenDirection;
|
|
16
19
|
export const getLlmTokenTypeValues = commonJsModule.getLlmTokenTypeValues;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { LlmUsageDimension } from "./LlmUsageApi.mjs";
|
|
2
|
+
export declare const LLM_METRIC_USAGE_ROUTE: string;
|
|
3
|
+
export { LlmUsageDimension as LlmMetricUsageDimension };
|
|
4
|
+
export declare const ALL_LLM_METRIC_USAGE_DIMENSIONS: Array<LlmUsageDimension>;
|
|
5
|
+
export interface LlmMetricUsageRequestBody {
|
|
6
|
+
startTime: string;
|
|
7
|
+
endTime: string;
|
|
8
|
+
dimension: LlmUsageDimension;
|
|
9
|
+
}
|
|
10
|
+
export interface LlmMetricUsageFigures {
|
|
11
|
+
inputTokens: number;
|
|
12
|
+
outputTokens: number;
|
|
13
|
+
costUsd: number;
|
|
14
|
+
hasCost: boolean;
|
|
15
|
+
hasTokens: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface LlmMetricUsageGroup extends LlmMetricUsageFigures {
|
|
18
|
+
key: string;
|
|
19
|
+
}
|
|
20
|
+
export interface LlmMetricUsageResponse {
|
|
21
|
+
totals: LlmMetricUsageFigures;
|
|
22
|
+
groups: Array<LlmMetricUsageGroup>;
|
|
23
|
+
truncated: boolean;
|
|
24
|
+
}
|
|
25
|
+
export declare function emptyLlmMetricUsageFigures(): LlmMetricUsageFigures;
|
|
26
|
+
export declare function readLlmMetricUsageDimension(value: unknown): LlmUsageDimension;
|
|
27
|
+
export declare function readLlmMetricUsageResponse(value: unknown): LlmMetricUsageResponse;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { LlmUsageDimension } from "./LlmUsageApi";
|
|
2
|
+
export declare const LLM_METRIC_USAGE_ROUTE: string;
|
|
3
|
+
export { LlmUsageDimension as LlmMetricUsageDimension };
|
|
4
|
+
export declare const ALL_LLM_METRIC_USAGE_DIMENSIONS: Array<LlmUsageDimension>;
|
|
5
|
+
export interface LlmMetricUsageRequestBody {
|
|
6
|
+
startTime: string;
|
|
7
|
+
endTime: string;
|
|
8
|
+
dimension: LlmUsageDimension;
|
|
9
|
+
}
|
|
10
|
+
export interface LlmMetricUsageFigures {
|
|
11
|
+
inputTokens: number;
|
|
12
|
+
outputTokens: number;
|
|
13
|
+
costUsd: number;
|
|
14
|
+
hasCost: boolean;
|
|
15
|
+
hasTokens: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface LlmMetricUsageGroup extends LlmMetricUsageFigures {
|
|
18
|
+
key: string;
|
|
19
|
+
}
|
|
20
|
+
export interface LlmMetricUsageResponse {
|
|
21
|
+
totals: LlmMetricUsageFigures;
|
|
22
|
+
groups: Array<LlmMetricUsageGroup>;
|
|
23
|
+
truncated: boolean;
|
|
24
|
+
}
|
|
25
|
+
export declare function emptyLlmMetricUsageFigures(): LlmMetricUsageFigures;
|
|
26
|
+
export declare function readLlmMetricUsageDimension(value: unknown): LlmUsageDimension;
|
|
27
|
+
export declare function readLlmMetricUsageResponse(value: unknown): LlmMetricUsageResponse;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ALL_LLM_METRIC_USAGE_DIMENSIONS = exports.LlmMetricUsageDimension = exports.LLM_METRIC_USAGE_ROUTE = void 0;
|
|
4
|
+
exports.emptyLlmMetricUsageFigures = emptyLlmMetricUsageFigures;
|
|
5
|
+
exports.readLlmMetricUsageDimension = readLlmMetricUsageDimension;
|
|
6
|
+
exports.readLlmMetricUsageResponse = readLlmMetricUsageResponse;
|
|
7
|
+
const LlmConversationApi_1 = require("./LlmConversationApi");
|
|
8
|
+
const LlmUsageApi_1 = require("./LlmUsageApi");
|
|
9
|
+
Object.defineProperty(exports, "LlmMetricUsageDimension", { enumerable: true, get: function () { return LlmUsageApi_1.LlmUsageDimension; } });
|
|
10
|
+
/*
|
|
11
|
+
* The contract of POST /telemetry/llm/metric-usage: what the GenAI metrics
|
|
12
|
+
* of a time range add up to - the tokens and cost the coding assistants
|
|
13
|
+
* (Claude Code, Codex, Gemini CLI, Copilot, Cursor) and the SDKs that send
|
|
14
|
+
* metrics without spans report - in total and by person, team, model,
|
|
15
|
+
* provider or service. The Usage tab reads POST /telemetry/llm/usage
|
|
16
|
+
* (LlmUsageApi), which counts these beside the AI calls.
|
|
17
|
+
*
|
|
18
|
+
* Counted the way a counter counts (LlmMetricUsageReader): a delta series'
|
|
19
|
+
* points are added up, a cumulative series counts what it grew by inside the
|
|
20
|
+
* range, step by step in time order, a drop read as a restart from zero.
|
|
21
|
+
* Adding up a cumulative series' points - each one the running total since
|
|
22
|
+
* the process started - counts every token and dollar once per export: a
|
|
23
|
+
* session exporting every minute for a day read as 1,440 days of use.
|
|
24
|
+
*
|
|
25
|
+
* Both sides read the body defensively: a server mid-rollout or a hand-made
|
|
26
|
+
* request degrades to "nothing", never to a crash.
|
|
27
|
+
*/
|
|
28
|
+
exports.LLM_METRIC_USAGE_ROUTE = "/telemetry/llm/metric-usage";
|
|
29
|
+
exports.ALL_LLM_METRIC_USAGE_DIMENSIONS = LlmUsageApi_1.ALL_LLM_USAGE_DIMENSIONS;
|
|
30
|
+
function emptyLlmMetricUsageFigures() {
|
|
31
|
+
return {
|
|
32
|
+
inputTokens: 0,
|
|
33
|
+
outputTokens: 0,
|
|
34
|
+
costUsd: 0,
|
|
35
|
+
hasCost: false,
|
|
36
|
+
hasTokens: false,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function readLlmMetricUsageDimension(value) {
|
|
40
|
+
return (0, LlmUsageApi_1.readLlmUsageDimension)(value);
|
|
41
|
+
}
|
|
42
|
+
function readFigures(value) {
|
|
43
|
+
const object = value && typeof value === "object" && !Array.isArray(value)
|
|
44
|
+
? value
|
|
45
|
+
: {};
|
|
46
|
+
return {
|
|
47
|
+
inputTokens: Math.max(0, (0, LlmConversationApi_1.readNumber)(object["inputTokens"])),
|
|
48
|
+
outputTokens: Math.max(0, (0, LlmConversationApi_1.readNumber)(object["outputTokens"])),
|
|
49
|
+
costUsd: (0, LlmConversationApi_1.readNumber)(object["costUsd"]),
|
|
50
|
+
hasCost: object["hasCost"] === true,
|
|
51
|
+
hasTokens: object["hasTokens"] === true,
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
// The response as the server sent it, every list made safe to map over.
|
|
55
|
+
function readLlmMetricUsageResponse(value) {
|
|
56
|
+
const object = value && typeof value === "object" && !Array.isArray(value)
|
|
57
|
+
? value
|
|
58
|
+
: {};
|
|
59
|
+
const groups = Array.isArray(object["groups"])
|
|
60
|
+
? object["groups"]
|
|
61
|
+
.filter((group) => {
|
|
62
|
+
return Boolean(group) && typeof group === "object";
|
|
63
|
+
})
|
|
64
|
+
.map((group) => {
|
|
65
|
+
return Object.assign(Object.assign({}, readFigures(group)), { key: (0, LlmConversationApi_1.readString)(group["key"]) });
|
|
66
|
+
})
|
|
67
|
+
: [];
|
|
68
|
+
return {
|
|
69
|
+
totals: readFigures(object["totals"]),
|
|
70
|
+
groups: groups,
|
|
71
|
+
truncated: object["truncated"] === true,
|
|
72
|
+
};
|
|
73
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import commonJsModule from "./LlmMetricUsageApi.js";
|
|
2
|
+
export const ALL_LLM_METRIC_USAGE_DIMENSIONS = commonJsModule.ALL_LLM_METRIC_USAGE_DIMENSIONS;
|
|
3
|
+
export const LLM_METRIC_USAGE_ROUTE = commonJsModule.LLM_METRIC_USAGE_ROUTE;
|
|
4
|
+
export const LlmMetricUsageDimension = commonJsModule.LlmMetricUsageDimension;
|
|
5
|
+
export const emptyLlmMetricUsageFigures = commonJsModule.emptyLlmMetricUsageFigures;
|
|
6
|
+
export const readLlmMetricUsageDimension = commonJsModule.readLlmMetricUsageDimension;
|
|
7
|
+
export const readLlmMetricUsageResponse = commonJsModule.readLlmMetricUsageResponse;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface LlmProviderDefinition {
|
|
2
|
+
name: string;
|
|
3
|
+
title: string;
|
|
4
|
+
aliases: Array<string>;
|
|
5
|
+
}
|
|
6
|
+
export declare const LLM_PROVIDER_OPENAI: string;
|
|
7
|
+
export declare const LLM_PROVIDER_AZURE_OPENAI: string;
|
|
8
|
+
export declare const LLM_PROVIDER_AZURE_AI_INFERENCE: string;
|
|
9
|
+
export declare const LlmProviders: Array<LlmProviderDefinition>;
|
|
10
|
+
export declare function getLlmEndpointHost(address: string | undefined | null): string;
|
|
11
|
+
export declare const LLM_PROVIDER_EXACT_HOSTS: Record<string, string>;
|
|
12
|
+
export declare const VERTEX_AI_REGIONAL_HOST_SUFFIX: string;
|
|
13
|
+
export declare const BEDROCK_RUNTIME_HOST_PREFIX: string;
|
|
14
|
+
export declare const AMAZON_HOST_SUFFIX: string;
|
|
15
|
+
export declare function getAzureLlmHostSuffixes(): Array<string>;
|
|
16
|
+
export declare function getLlmProviderOfAddress(address: string | undefined | null): string;
|
|
17
|
+
export declare function getAzureLlmProviderOfAddress(address: string | undefined | null): string;
|
|
18
|
+
export declare function normalizeLlmProvider(data: {
|
|
19
|
+
reported: string | undefined | null;
|
|
20
|
+
addresses?: Array<string | undefined | null> | undefined;
|
|
21
|
+
}): string;
|
|
22
|
+
export declare function getLlmProviderTitle(value: string | undefined | null): string;
|
|
23
|
+
export declare function getLlmProviderStoredValues(value: string | undefined | null): Array<string>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface LlmProviderDefinition {
|
|
2
|
+
name: string;
|
|
3
|
+
title: string;
|
|
4
|
+
aliases: Array<string>;
|
|
5
|
+
}
|
|
6
|
+
export declare const LLM_PROVIDER_OPENAI: string;
|
|
7
|
+
export declare const LLM_PROVIDER_AZURE_OPENAI: string;
|
|
8
|
+
export declare const LLM_PROVIDER_AZURE_AI_INFERENCE: string;
|
|
9
|
+
export declare const LlmProviders: Array<LlmProviderDefinition>;
|
|
10
|
+
export declare function getLlmEndpointHost(address: string | undefined | null): string;
|
|
11
|
+
export declare const LLM_PROVIDER_EXACT_HOSTS: Record<string, string>;
|
|
12
|
+
export declare const VERTEX_AI_REGIONAL_HOST_SUFFIX: string;
|
|
13
|
+
export declare const BEDROCK_RUNTIME_HOST_PREFIX: string;
|
|
14
|
+
export declare const AMAZON_HOST_SUFFIX: string;
|
|
15
|
+
export declare function getAzureLlmHostSuffixes(): Array<string>;
|
|
16
|
+
export declare function getLlmProviderOfAddress(address: string | undefined | null): string;
|
|
17
|
+
export declare function getAzureLlmProviderOfAddress(address: string | undefined | null): string;
|
|
18
|
+
export declare function normalizeLlmProvider(data: {
|
|
19
|
+
reported: string | undefined | null;
|
|
20
|
+
addresses?: Array<string | undefined | null> | undefined;
|
|
21
|
+
}): string;
|
|
22
|
+
export declare function getLlmProviderTitle(value: string | undefined | null): string;
|
|
23
|
+
export declare function getLlmProviderStoredValues(value: string | undefined | null): Array<string>;
|