@oneuptime/common 11.0.1 → 11.0.3

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.
Files changed (577) hide show
  1. package/Models/DatabaseModels/Alert.ts +276 -0
  2. package/Models/DatabaseModels/AlertLabelRule.ts +38 -0
  3. package/Models/DatabaseModels/AlertOwnerRule.ts +38 -0
  4. package/Models/DatabaseModels/CephCluster.ts +964 -0
  5. package/Models/DatabaseModels/CephClusterLabelRule.ts +514 -0
  6. package/Models/DatabaseModels/CephClusterOwnerRule.ts +596 -0
  7. package/Models/DatabaseModels/CephClusterOwnerTeam.ts +487 -0
  8. package/Models/DatabaseModels/CephClusterOwnerUser.ts +486 -0
  9. package/Models/DatabaseModels/CephResource.ts +809 -0
  10. package/Models/DatabaseModels/DockerSwarmCluster.ts +989 -0
  11. package/Models/DatabaseModels/DockerSwarmClusterLabelRule.ts +514 -0
  12. package/Models/DatabaseModels/DockerSwarmClusterOwnerRule.ts +596 -0
  13. package/Models/DatabaseModels/DockerSwarmClusterOwnerTeam.ts +487 -0
  14. package/Models/DatabaseModels/DockerSwarmClusterOwnerUser.ts +486 -0
  15. package/Models/DatabaseModels/DockerSwarmResource.ts +750 -0
  16. package/Models/DatabaseModels/Host.ts +64 -0
  17. package/Models/DatabaseModels/Incident.ts +276 -0
  18. package/Models/DatabaseModels/IncidentLabelRule.ts +38 -0
  19. package/Models/DatabaseModels/IncidentOwnerRule.ts +38 -0
  20. package/Models/DatabaseModels/IncidentTemplate.ts +56 -0
  21. package/Models/DatabaseModels/Index.ts +48 -0
  22. package/Models/DatabaseModels/PodmanHost.ts +859 -0
  23. package/Models/DatabaseModels/PodmanHostLabelRule.ts +514 -0
  24. package/Models/DatabaseModels/PodmanHostOwnerRule.ts +596 -0
  25. package/Models/DatabaseModels/PodmanHostOwnerTeam.ts +487 -0
  26. package/Models/DatabaseModels/PodmanHostOwnerUser.ts +486 -0
  27. package/Models/DatabaseModels/PodmanResource.ts +498 -0
  28. package/Models/DatabaseModels/ProxmoxCluster.ts +943 -0
  29. package/Models/DatabaseModels/ProxmoxClusterLabelRule.ts +514 -0
  30. package/Models/DatabaseModels/ProxmoxClusterOwnerRule.ts +596 -0
  31. package/Models/DatabaseModels/ProxmoxClusterOwnerTeam.ts +487 -0
  32. package/Models/DatabaseModels/ProxmoxClusterOwnerUser.ts +486 -0
  33. package/Models/DatabaseModels/ProxmoxResource.ts +726 -0
  34. package/Models/DatabaseModels/ScheduledMaintenance.ts +220 -0
  35. package/Models/DatabaseModels/ScheduledMaintenanceLabelRule.ts +38 -0
  36. package/Models/DatabaseModels/ScheduledMaintenanceOwnerRule.ts +38 -0
  37. package/Models/DatabaseModels/ScheduledMaintenanceTemplate.ts +56 -0
  38. package/Models/DatabaseModels/TelemetryException.ts +2 -0
  39. package/Server/API/BillingInvoiceAPI.ts +47 -7
  40. package/Server/API/CephResourceAPI.ts +134 -0
  41. package/Server/API/DashboardAPI.ts +135 -0
  42. package/Server/API/DockerSwarmResourceAPI.ts +137 -0
  43. package/Server/API/ProjectAPI.ts +15 -0
  44. package/Server/API/ProxmoxResourceAPI.ts +132 -0
  45. package/Server/API/ResellerPlanAPI.ts +17 -0
  46. package/Server/API/TelemetryAPI.ts +8 -1
  47. package/Server/Infrastructure/GlobalCache.ts +8 -2
  48. package/Server/Infrastructure/Postgres/SchemaMigrations/1781500000000-AddProxmoxAndCephClusterTables.ts +163 -0
  49. package/Server/Infrastructure/Postgres/SchemaMigrations/1781587937032-MigrationName.ts +3199 -0
  50. package/Server/Infrastructure/Postgres/SchemaMigrations/1781600000000-AddProxmoxCephV2Columns.ts +211 -0
  51. package/Server/Infrastructure/Postgres/SchemaMigrations/1781600000001-AddProxmoxCephActivityAndRules.ts +590 -0
  52. package/Server/Infrastructure/Postgres/SchemaMigrations/1781700000000-AddProxmoxCephV3Columns.ts +64 -0
  53. package/Server/Infrastructure/Postgres/SchemaMigrations/Index.ts +10 -0
  54. package/Server/Infrastructure/Redis.ts +40 -12
  55. package/Server/Services/AlertLabelRuleEngineService.ts +29 -0
  56. package/Server/Services/AlertOwnerRuleEngineService.ts +67 -0
  57. package/Server/Services/AnalyticsDatabaseService.ts +1 -1
  58. package/Server/Services/BillingService.ts +109 -21
  59. package/Server/Services/CephClusterLabelRuleEngineService.ts +200 -0
  60. package/Server/Services/CephClusterLabelRuleService.ts +14 -0
  61. package/Server/Services/CephClusterOwnerRuleEngineService.ts +218 -0
  62. package/Server/Services/CephClusterOwnerRuleService.ts +14 -0
  63. package/Server/Services/CephClusterOwnerTeamService.ts +10 -0
  64. package/Server/Services/CephClusterOwnerUserService.ts +10 -0
  65. package/Server/Services/CephClusterService.ts +401 -0
  66. package/Server/Services/CephResourceService.ts +383 -0
  67. package/Server/Services/CloudResourceService.ts +11 -3
  68. package/Server/Services/DockerHostService.ts +11 -3
  69. package/Server/Services/DockerSwarmClusterLabelRuleEngineService.ts +214 -0
  70. package/Server/Services/DockerSwarmClusterLabelRuleService.ts +14 -0
  71. package/Server/Services/DockerSwarmClusterOwnerRuleEngineService.ts +232 -0
  72. package/Server/Services/DockerSwarmClusterOwnerRuleService.ts +14 -0
  73. package/Server/Services/DockerSwarmClusterOwnerTeamService.ts +10 -0
  74. package/Server/Services/DockerSwarmClusterOwnerUserService.ts +10 -0
  75. package/Server/Services/DockerSwarmClusterService.ts +404 -0
  76. package/Server/Services/DockerSwarmResourceService.ts +381 -0
  77. package/Server/Services/ExceptionAggregationService.ts +3 -0
  78. package/Server/Services/HostService.ts +11 -3
  79. package/Server/Services/IncidentLabelRuleEngineService.ts +27 -0
  80. package/Server/Services/IncidentOwnerRuleEngineService.ts +67 -0
  81. package/Server/Services/IncidentService.ts +11 -0
  82. package/Server/Services/Index.ts +38 -0
  83. package/Server/Services/KubernetesClusterService.ts +11 -3
  84. package/Server/Services/LogAggregationService.ts +3 -0
  85. package/Server/Services/MetricAggregationService.ts +3 -0
  86. package/Server/Services/OpenTelemetryIngestService.ts +73 -0
  87. package/Server/Services/PodmanHostLabelRuleEngineService.ts +198 -0
  88. package/Server/Services/PodmanHostLabelRuleService.ts +14 -0
  89. package/Server/Services/PodmanHostOwnerRuleEngineService.ts +216 -0
  90. package/Server/Services/PodmanHostOwnerRuleService.ts +14 -0
  91. package/Server/Services/PodmanHostOwnerTeamService.ts +10 -0
  92. package/Server/Services/PodmanHostOwnerUserService.ts +10 -0
  93. package/Server/Services/PodmanHostService.ts +368 -0
  94. package/Server/Services/PodmanResourceService.ts +310 -0
  95. package/Server/Services/ProxmoxClusterLabelRuleEngineService.ts +204 -0
  96. package/Server/Services/ProxmoxClusterLabelRuleService.ts +14 -0
  97. package/Server/Services/ProxmoxClusterOwnerRuleEngineService.ts +222 -0
  98. package/Server/Services/ProxmoxClusterOwnerRuleService.ts +14 -0
  99. package/Server/Services/ProxmoxClusterOwnerTeamService.ts +10 -0
  100. package/Server/Services/ProxmoxClusterOwnerUserService.ts +10 -0
  101. package/Server/Services/ProxmoxClusterService.ts +382 -0
  102. package/Server/Services/ProxmoxResourceService.ts +404 -0
  103. package/Server/Services/RumApplicationService.ts +11 -3
  104. package/Server/Services/ScheduledMaintenanceLabelRuleEngineService.ts +29 -0
  105. package/Server/Services/ScheduledMaintenanceOwnerRuleEngineService.ts +67 -0
  106. package/Server/Services/ServerlessFunctionService.ts +11 -3
  107. package/Server/Services/TelemetryUsageBillingService.ts +59 -3
  108. package/Server/Services/TraceAggregationService.ts +3 -0
  109. package/Server/Types/AnalyticsDatabase/AggregateBy.ts +8 -23
  110. package/Server/Types/Database/Permissions/OwnerTableRegistry.ts +13 -0
  111. package/Server/Utils/Monitor/MonitorAlert.ts +55 -0
  112. package/Server/Utils/Monitor/MonitorClusterContext.ts +158 -0
  113. package/Server/Utils/Monitor/MonitorCriteriaEvaluator.ts +650 -4
  114. package/Server/Utils/Monitor/MonitorIncident.ts +175 -7
  115. package/Server/Utils/Monitor/MonitorMaintenanceSuppression.ts +56 -6
  116. package/Server/Utils/Monitor/MonitorTemplateUtil.ts +6 -1
  117. package/Server/Utils/Monitor/SeriesResourceLabels.ts +59 -0
  118. package/Server/Utils/Profiling.ts +37 -2
  119. package/Server/Utils/Telemetry/EntityRegistry.ts +4 -0
  120. package/Server/Utils/Telemetry/ProxmoxCephSnapshotScan.ts +1096 -0
  121. package/Server/Utils/Telemetry/ResourceFacetResolver.ts +49 -0
  122. package/Server/Utils/Telemetry/Telemetry.ts +10 -0
  123. package/Server/Utils/Telemetry/TelemetryEntity.ts +107 -0
  124. package/Server/Utils/Telemetry.ts +8 -19
  125. package/Tests/Server/API/BillingInvoiceAPI.test.ts +194 -0
  126. package/Tests/Server/API/ProjectAPI.test.ts +91 -0
  127. package/Tests/Server/API/ResellerPlanAPI.test.ts +207 -0
  128. package/Tests/Server/Infrastructure/GlobalCache.test.ts +100 -0
  129. package/Tests/Server/Services/BillingService.test.ts +323 -0
  130. package/Tests/Server/Services/CephResourceService.test.ts +264 -0
  131. package/Tests/Server/Services/ProxmoxResourceService.test.ts +326 -0
  132. package/Tests/Server/Utils/Monitor/MonitorCriteriaEvaluator.test.ts +322 -0
  133. package/Tests/Server/Utils/Monitor/MonitorMaintenanceSuppression.test.ts +14 -0
  134. package/Tests/Server/Utils/Telemetry/ProxmoxCephSnapshotScan.test.ts +879 -0
  135. package/Tests/Server/Utils/Telemetry/TelemetryEntity.test.ts +196 -0
  136. package/Tests/Types/DockerSwarm/DockerSwarmInventoryExtractor.test.ts +667 -0
  137. package/Tests/Types/Monitor/CephAlertTemplates.test.ts +1231 -0
  138. package/Tests/Types/Monitor/DockerSwarmAlertTemplates.test.ts +528 -0
  139. package/Tests/Types/Monitor/ProxmoxAlertTemplates.test.ts +732 -0
  140. package/Tests/Utils/Telemetry/EntityRelationship.test.ts +49 -0
  141. package/Tests/Utils/Telemetry/HeartbeatAvailability.test.ts +423 -0
  142. package/Types/BaseDatabase/AggregationIntervalUtil.ts +74 -0
  143. package/Types/Dashboard/DashboardComponentType.ts +11 -0
  144. package/Types/Dashboard/DashboardComponents/ComponentArgument.ts +4 -0
  145. package/Types/Dashboard/DashboardComponents/DashboardCephOsdListComponent.ts +15 -0
  146. package/Types/Dashboard/DashboardComponents/DashboardCephPoolListComponent.ts +14 -0
  147. package/Types/Dashboard/DashboardComponents/DashboardDockerSwarmNodeListComponent.ts +17 -0
  148. package/Types/Dashboard/DashboardComponents/DashboardDockerSwarmServiceListComponent.ts +17 -0
  149. package/Types/Dashboard/DashboardComponents/DashboardPodmanContainerListComponent.ts +16 -0
  150. package/Types/Dashboard/DashboardComponents/DashboardPodmanHostListComponent.ts +15 -0
  151. package/Types/Dashboard/DashboardComponents/DashboardPodmanImageListComponent.ts +16 -0
  152. package/Types/Dashboard/DashboardComponents/DashboardPodmanNetworkListComponent.ts +15 -0
  153. package/Types/Dashboard/DashboardComponents/DashboardPodmanVolumeListComponent.ts +15 -0
  154. package/Types/Dashboard/DashboardComponents/DashboardProxmoxGuestListComponent.ts +17 -0
  155. package/Types/Dashboard/DashboardComponents/DashboardProxmoxNodeListComponent.ts +16 -0
  156. package/Types/Dashboard/DashboardTemplates.ts +640 -0
  157. package/Types/DockerSwarm/DockerSwarmInventoryExtractor.ts +452 -0
  158. package/Types/Icon/IconProp.ts +3 -0
  159. package/Types/Monitor/CephAlertTemplates.ts +1647 -0
  160. package/Types/Monitor/CephMetricCatalog.ts +409 -0
  161. package/Types/Monitor/DockerSwarmAlertTemplates.ts +461 -0
  162. package/Types/Monitor/DockerSwarmMetricCatalog.ts +139 -0
  163. package/Types/Monitor/HostAlertTemplates.ts +455 -0
  164. package/Types/Monitor/HostMetricCatalog.ts +177 -0
  165. package/Types/Monitor/MetricMonitor/MetricMonitorResponse.ts +65 -0
  166. package/Types/Monitor/MonitorStep.ts +163 -0
  167. package/Types/Monitor/MonitorStepCephMonitor.ts +57 -0
  168. package/Types/Monitor/MonitorStepDockerSwarmMonitor.ts +74 -0
  169. package/Types/Monitor/MonitorStepHostMonitor.ts +30 -0
  170. package/Types/Monitor/MonitorStepPodmanMonitor.ts +38 -0
  171. package/Types/Monitor/MonitorStepProxmoxMonitor.ts +81 -0
  172. package/Types/Monitor/MonitorType.ts +71 -1
  173. package/Types/Monitor/PodmanAlertTemplates.ts +507 -0
  174. package/Types/Monitor/PodmanMetricCatalog.ts +226 -0
  175. package/Types/Monitor/ProxmoxAlertTemplates.ts +899 -0
  176. package/Types/Monitor/ProxmoxMetricCatalog.ts +382 -0
  177. package/Types/Permission.ts +1029 -104
  178. package/Types/Podman/PodmanInventoryExtractor.ts +343 -0
  179. package/Types/Telemetry/EntityType.ts +23 -0
  180. package/Types/Telemetry/ServiceType.ts +4 -0
  181. package/UI/Components/Icon/Icon.tsx +141 -0
  182. package/UI/Components/LogsViewer/LogsViewer.tsx +44 -1
  183. package/UI/Components/LogsViewer/components/LogsFacetSidebar.tsx +28 -0
  184. package/UI/Components/MonitorTemplateVariables/TemplateVariablesCatalog.ts +15 -5
  185. package/UI/Utils/Telemetry/Telemetry.ts +16 -21
  186. package/UI/Utils/TelemetryService.ts +8 -3
  187. package/Utils/Dashboard/Components/DashboardCephOsdListComponent.ts +63 -0
  188. package/Utils/Dashboard/Components/DashboardCephPoolListComponent.ts +32 -0
  189. package/Utils/Dashboard/Components/DashboardCephResourceListShared.ts +61 -0
  190. package/Utils/Dashboard/Components/DashboardDockerSwarmNodeListComponent.ts +70 -0
  191. package/Utils/Dashboard/Components/DashboardDockerSwarmResourceListShared.ts +61 -0
  192. package/Utils/Dashboard/Components/DashboardDockerSwarmServiceListComponent.ts +71 -0
  193. package/Utils/Dashboard/Components/DashboardPodmanContainerListComponent.ts +100 -0
  194. package/Utils/Dashboard/Components/DashboardPodmanHostListComponent.ts +88 -0
  195. package/Utils/Dashboard/Components/DashboardPodmanImageListComponent.ts +97 -0
  196. package/Utils/Dashboard/Components/DashboardPodmanNetworkListComponent.ts +87 -0
  197. package/Utils/Dashboard/Components/DashboardPodmanVolumeListComponent.ts +87 -0
  198. package/Utils/Dashboard/Components/DashboardProxmoxGuestListComponent.ts +69 -0
  199. package/Utils/Dashboard/Components/DashboardProxmoxNodeListComponent.ts +55 -0
  200. package/Utils/Dashboard/Components/DashboardProxmoxResourceListShared.ts +61 -0
  201. package/Utils/Dashboard/Components/Index.ts +79 -0
  202. package/Utils/Telemetry/EntityKey.ts +53 -0
  203. package/Utils/Telemetry/EntityRelationship.ts +6 -0
  204. package/Utils/Telemetry/HeartbeatAvailability.ts +262 -0
  205. package/build/dist/Models/DatabaseModels/Alert.js +270 -0
  206. package/build/dist/Models/DatabaseModels/Alert.js.map +1 -1
  207. package/build/dist/Models/DatabaseModels/AlertLabelRule.js +39 -0
  208. package/build/dist/Models/DatabaseModels/AlertLabelRule.js.map +1 -1
  209. package/build/dist/Models/DatabaseModels/AlertOwnerRule.js +39 -0
  210. package/build/dist/Models/DatabaseModels/AlertOwnerRule.js.map +1 -1
  211. package/build/dist/Models/DatabaseModels/CephCluster.js +992 -0
  212. package/build/dist/Models/DatabaseModels/CephCluster.js.map +1 -0
  213. package/build/dist/Models/DatabaseModels/CephClusterLabelRule.js +522 -0
  214. package/build/dist/Models/DatabaseModels/CephClusterLabelRule.js.map +1 -0
  215. package/build/dist/Models/DatabaseModels/CephClusterOwnerRule.js +603 -0
  216. package/build/dist/Models/DatabaseModels/CephClusterOwnerRule.js.map +1 -0
  217. package/build/dist/Models/DatabaseModels/CephClusterOwnerTeam.js +503 -0
  218. package/build/dist/Models/DatabaseModels/CephClusterOwnerTeam.js.map +1 -0
  219. package/build/dist/Models/DatabaseModels/CephClusterOwnerUser.js +502 -0
  220. package/build/dist/Models/DatabaseModels/CephClusterOwnerUser.js.map +1 -0
  221. package/build/dist/Models/DatabaseModels/CephResource.js +846 -0
  222. package/build/dist/Models/DatabaseModels/CephResource.js.map +1 -0
  223. package/build/dist/Models/DatabaseModels/DockerSwarmCluster.js +1018 -0
  224. package/build/dist/Models/DatabaseModels/DockerSwarmCluster.js.map +1 -0
  225. package/build/dist/Models/DatabaseModels/DockerSwarmClusterLabelRule.js +522 -0
  226. package/build/dist/Models/DatabaseModels/DockerSwarmClusterLabelRule.js.map +1 -0
  227. package/build/dist/Models/DatabaseModels/DockerSwarmClusterOwnerRule.js +603 -0
  228. package/build/dist/Models/DatabaseModels/DockerSwarmClusterOwnerRule.js.map +1 -0
  229. package/build/dist/Models/DatabaseModels/DockerSwarmClusterOwnerTeam.js +503 -0
  230. package/build/dist/Models/DatabaseModels/DockerSwarmClusterOwnerTeam.js.map +1 -0
  231. package/build/dist/Models/DatabaseModels/DockerSwarmClusterOwnerUser.js +502 -0
  232. package/build/dist/Models/DatabaseModels/DockerSwarmClusterOwnerUser.js.map +1 -0
  233. package/build/dist/Models/DatabaseModels/DockerSwarmResource.js +787 -0
  234. package/build/dist/Models/DatabaseModels/DockerSwarmResource.js.map +1 -0
  235. package/build/dist/Models/DatabaseModels/Host.js +63 -0
  236. package/build/dist/Models/DatabaseModels/Host.js.map +1 -1
  237. package/build/dist/Models/DatabaseModels/Incident.js +270 -0
  238. package/build/dist/Models/DatabaseModels/Incident.js.map +1 -1
  239. package/build/dist/Models/DatabaseModels/IncidentLabelRule.js +39 -0
  240. package/build/dist/Models/DatabaseModels/IncidentLabelRule.js.map +1 -1
  241. package/build/dist/Models/DatabaseModels/IncidentOwnerRule.js +39 -0
  242. package/build/dist/Models/DatabaseModels/IncidentOwnerRule.js.map +1 -1
  243. package/build/dist/Models/DatabaseModels/IncidentTemplate.js +54 -0
  244. package/build/dist/Models/DatabaseModels/IncidentTemplate.js.map +1 -1
  245. package/build/dist/Models/DatabaseModels/Index.js +48 -0
  246. package/build/dist/Models/DatabaseModels/Index.js.map +1 -1
  247. package/build/dist/Models/DatabaseModels/PodmanHost.js +885 -0
  248. package/build/dist/Models/DatabaseModels/PodmanHost.js.map +1 -0
  249. package/build/dist/Models/DatabaseModels/PodmanHostLabelRule.js +522 -0
  250. package/build/dist/Models/DatabaseModels/PodmanHostLabelRule.js.map +1 -0
  251. package/build/dist/Models/DatabaseModels/PodmanHostOwnerRule.js +603 -0
  252. package/build/dist/Models/DatabaseModels/PodmanHostOwnerRule.js.map +1 -0
  253. package/build/dist/Models/DatabaseModels/PodmanHostOwnerTeam.js +503 -0
  254. package/build/dist/Models/DatabaseModels/PodmanHostOwnerTeam.js.map +1 -0
  255. package/build/dist/Models/DatabaseModels/PodmanHostOwnerUser.js +502 -0
  256. package/build/dist/Models/DatabaseModels/PodmanHostOwnerUser.js.map +1 -0
  257. package/build/dist/Models/DatabaseModels/PodmanResource.js +526 -0
  258. package/build/dist/Models/DatabaseModels/PodmanResource.js.map +1 -0
  259. package/build/dist/Models/DatabaseModels/ProxmoxCluster.js +967 -0
  260. package/build/dist/Models/DatabaseModels/ProxmoxCluster.js.map +1 -0
  261. package/build/dist/Models/DatabaseModels/ProxmoxClusterLabelRule.js +522 -0
  262. package/build/dist/Models/DatabaseModels/ProxmoxClusterLabelRule.js.map +1 -0
  263. package/build/dist/Models/DatabaseModels/ProxmoxClusterOwnerRule.js +603 -0
  264. package/build/dist/Models/DatabaseModels/ProxmoxClusterOwnerRule.js.map +1 -0
  265. package/build/dist/Models/DatabaseModels/ProxmoxClusterOwnerTeam.js +503 -0
  266. package/build/dist/Models/DatabaseModels/ProxmoxClusterOwnerTeam.js.map +1 -0
  267. package/build/dist/Models/DatabaseModels/ProxmoxClusterOwnerUser.js +502 -0
  268. package/build/dist/Models/DatabaseModels/ProxmoxClusterOwnerUser.js.map +1 -0
  269. package/build/dist/Models/DatabaseModels/ProxmoxResource.js +761 -0
  270. package/build/dist/Models/DatabaseModels/ProxmoxResource.js.map +1 -0
  271. package/build/dist/Models/DatabaseModels/ScheduledMaintenance.js +216 -0
  272. package/build/dist/Models/DatabaseModels/ScheduledMaintenance.js.map +1 -1
  273. package/build/dist/Models/DatabaseModels/ScheduledMaintenanceLabelRule.js +39 -0
  274. package/build/dist/Models/DatabaseModels/ScheduledMaintenanceLabelRule.js.map +1 -1
  275. package/build/dist/Models/DatabaseModels/ScheduledMaintenanceOwnerRule.js +39 -0
  276. package/build/dist/Models/DatabaseModels/ScheduledMaintenanceOwnerRule.js.map +1 -1
  277. package/build/dist/Models/DatabaseModels/ScheduledMaintenanceTemplate.js +54 -0
  278. package/build/dist/Models/DatabaseModels/ScheduledMaintenanceTemplate.js.map +1 -1
  279. package/build/dist/Models/DatabaseModels/TelemetryException.js +2 -0
  280. package/build/dist/Models/DatabaseModels/TelemetryException.js.map +1 -1
  281. package/build/dist/Server/API/BillingInvoiceAPI.js +35 -5
  282. package/build/dist/Server/API/BillingInvoiceAPI.js.map +1 -1
  283. package/build/dist/Server/API/CephResourceAPI.js +98 -0
  284. package/build/dist/Server/API/CephResourceAPI.js.map +1 -0
  285. package/build/dist/Server/API/DashboardAPI.js +135 -0
  286. package/build/dist/Server/API/DashboardAPI.js.map +1 -1
  287. package/build/dist/Server/API/DockerSwarmResourceAPI.js +100 -0
  288. package/build/dist/Server/API/DockerSwarmResourceAPI.js.map +1 -0
  289. package/build/dist/Server/API/ProjectAPI.js +11 -0
  290. package/build/dist/Server/API/ProjectAPI.js.map +1 -1
  291. package/build/dist/Server/API/ProxmoxResourceAPI.js +95 -0
  292. package/build/dist/Server/API/ProxmoxResourceAPI.js.map +1 -0
  293. package/build/dist/Server/API/ResellerPlanAPI.js +17 -3
  294. package/build/dist/Server/API/ResellerPlanAPI.js.map +1 -1
  295. package/build/dist/Server/API/TelemetryAPI.js +8 -1
  296. package/build/dist/Server/API/TelemetryAPI.js.map +1 -1
  297. package/build/dist/Server/Infrastructure/GlobalCache.js +7 -2
  298. package/build/dist/Server/Infrastructure/GlobalCache.js.map +1 -1
  299. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1781500000000-AddProxmoxAndCephClusterTables.js +76 -0
  300. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1781500000000-AddProxmoxAndCephClusterTables.js.map +1 -0
  301. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1781587937032-MigrationName.js +1100 -0
  302. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1781587937032-MigrationName.js.map +1 -0
  303. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1781600000000-AddProxmoxCephV2Columns.js +108 -0
  304. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1781600000000-AddProxmoxCephV2Columns.js.map +1 -0
  305. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1781600000001-AddProxmoxCephActivityAndRules.js +253 -0
  306. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1781600000001-AddProxmoxCephActivityAndRules.js.map +1 -0
  307. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1781700000000-AddProxmoxCephV3Columns.js +43 -0
  308. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1781700000000-AddProxmoxCephV3Columns.js.map +1 -0
  309. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/Index.js +10 -0
  310. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/Index.js.map +1 -1
  311. package/build/dist/Server/Infrastructure/Redis.js +31 -8
  312. package/build/dist/Server/Infrastructure/Redis.js.map +1 -1
  313. package/build/dist/Server/Services/AlertLabelRuleEngineService.js +30 -4
  314. package/build/dist/Server/Services/AlertLabelRuleEngineService.js.map +1 -1
  315. package/build/dist/Server/Services/AlertOwnerRuleEngineService.js +62 -5
  316. package/build/dist/Server/Services/AlertOwnerRuleEngineService.js.map +1 -1
  317. package/build/dist/Server/Services/AnalyticsDatabaseService.js +1 -1
  318. package/build/dist/Server/Services/AnalyticsDatabaseService.js.map +1 -1
  319. package/build/dist/Server/Services/BillingService.js +85 -23
  320. package/build/dist/Server/Services/BillingService.js.map +1 -1
  321. package/build/dist/Server/Services/CephClusterLabelRuleEngineService.js +166 -0
  322. package/build/dist/Server/Services/CephClusterLabelRuleEngineService.js.map +1 -0
  323. package/build/dist/Server/Services/CephClusterLabelRuleService.js +13 -0
  324. package/build/dist/Server/Services/CephClusterLabelRuleService.js.map +1 -0
  325. package/build/dist/Server/Services/CephClusterOwnerRuleEngineService.js +186 -0
  326. package/build/dist/Server/Services/CephClusterOwnerRuleEngineService.js.map +1 -0
  327. package/build/dist/Server/Services/CephClusterOwnerRuleService.js +13 -0
  328. package/build/dist/Server/Services/CephClusterOwnerRuleService.js.map +1 -0
  329. package/build/dist/Server/Services/CephClusterOwnerTeamService.js +9 -0
  330. package/build/dist/Server/Services/CephClusterOwnerTeamService.js.map +1 -0
  331. package/build/dist/Server/Services/CephClusterOwnerUserService.js +9 -0
  332. package/build/dist/Server/Services/CephClusterOwnerUserService.js.map +1 -0
  333. package/build/dist/Server/Services/CephClusterService.js +353 -0
  334. package/build/dist/Server/Services/CephClusterService.js.map +1 -0
  335. package/build/dist/Server/Services/CephResourceService.js +257 -0
  336. package/build/dist/Server/Services/CephResourceService.js.map +1 -0
  337. package/build/dist/Server/Services/CloudResourceService.js +10 -2
  338. package/build/dist/Server/Services/CloudResourceService.js.map +1 -1
  339. package/build/dist/Server/Services/DockerHostService.js +10 -2
  340. package/build/dist/Server/Services/DockerHostService.js.map +1 -1
  341. package/build/dist/Server/Services/DockerSwarmClusterLabelRuleEngineService.js +168 -0
  342. package/build/dist/Server/Services/DockerSwarmClusterLabelRuleEngineService.js.map +1 -0
  343. package/build/dist/Server/Services/DockerSwarmClusterLabelRuleService.js +13 -0
  344. package/build/dist/Server/Services/DockerSwarmClusterLabelRuleService.js.map +1 -0
  345. package/build/dist/Server/Services/DockerSwarmClusterOwnerRuleEngineService.js +188 -0
  346. package/build/dist/Server/Services/DockerSwarmClusterOwnerRuleEngineService.js.map +1 -0
  347. package/build/dist/Server/Services/DockerSwarmClusterOwnerRuleService.js +13 -0
  348. package/build/dist/Server/Services/DockerSwarmClusterOwnerRuleService.js.map +1 -0
  349. package/build/dist/Server/Services/DockerSwarmClusterOwnerTeamService.js +9 -0
  350. package/build/dist/Server/Services/DockerSwarmClusterOwnerTeamService.js.map +1 -0
  351. package/build/dist/Server/Services/DockerSwarmClusterOwnerUserService.js +9 -0
  352. package/build/dist/Server/Services/DockerSwarmClusterOwnerUserService.js.map +1 -0
  353. package/build/dist/Server/Services/DockerSwarmClusterService.js +353 -0
  354. package/build/dist/Server/Services/DockerSwarmClusterService.js.map +1 -0
  355. package/build/dist/Server/Services/DockerSwarmResourceService.js +258 -0
  356. package/build/dist/Server/Services/DockerSwarmResourceService.js.map +1 -0
  357. package/build/dist/Server/Services/ExceptionAggregationService.js +3 -0
  358. package/build/dist/Server/Services/ExceptionAggregationService.js.map +1 -1
  359. package/build/dist/Server/Services/HostService.js +10 -2
  360. package/build/dist/Server/Services/HostService.js.map +1 -1
  361. package/build/dist/Server/Services/IncidentLabelRuleEngineService.js +28 -4
  362. package/build/dist/Server/Services/IncidentLabelRuleEngineService.js.map +1 -1
  363. package/build/dist/Server/Services/IncidentOwnerRuleEngineService.js +62 -5
  364. package/build/dist/Server/Services/IncidentOwnerRuleEngineService.js.map +1 -1
  365. package/build/dist/Server/Services/IncidentService.js +8 -0
  366. package/build/dist/Server/Services/IncidentService.js.map +1 -1
  367. package/build/dist/Server/Services/Index.js +38 -0
  368. package/build/dist/Server/Services/Index.js.map +1 -1
  369. package/build/dist/Server/Services/KubernetesClusterService.js +10 -2
  370. package/build/dist/Server/Services/KubernetesClusterService.js.map +1 -1
  371. package/build/dist/Server/Services/LogAggregationService.js +3 -0
  372. package/build/dist/Server/Services/LogAggregationService.js.map +1 -1
  373. package/build/dist/Server/Services/MetricAggregationService.js +3 -0
  374. package/build/dist/Server/Services/MetricAggregationService.js.map +1 -1
  375. package/build/dist/Server/Services/OpenTelemetryIngestService.js +69 -9
  376. package/build/dist/Server/Services/OpenTelemetryIngestService.js.map +1 -1
  377. package/build/dist/Server/Services/PodmanHostLabelRuleEngineService.js +166 -0
  378. package/build/dist/Server/Services/PodmanHostLabelRuleEngineService.js.map +1 -0
  379. package/build/dist/Server/Services/PodmanHostLabelRuleService.js +13 -0
  380. package/build/dist/Server/Services/PodmanHostLabelRuleService.js.map +1 -0
  381. package/build/dist/Server/Services/PodmanHostOwnerRuleEngineService.js +186 -0
  382. package/build/dist/Server/Services/PodmanHostOwnerRuleEngineService.js.map +1 -0
  383. package/build/dist/Server/Services/PodmanHostOwnerRuleService.js +13 -0
  384. package/build/dist/Server/Services/PodmanHostOwnerRuleService.js.map +1 -0
  385. package/build/dist/Server/Services/PodmanHostOwnerTeamService.js +9 -0
  386. package/build/dist/Server/Services/PodmanHostOwnerTeamService.js.map +1 -0
  387. package/build/dist/Server/Services/PodmanHostOwnerUserService.js +9 -0
  388. package/build/dist/Server/Services/PodmanHostOwnerUserService.js.map +1 -0
  389. package/build/dist/Server/Services/PodmanHostService.js +319 -0
  390. package/build/dist/Server/Services/PodmanHostService.js.map +1 -0
  391. package/build/dist/Server/Services/PodmanResourceService.js +196 -0
  392. package/build/dist/Server/Services/PodmanResourceService.js.map +1 -0
  393. package/build/dist/Server/Services/ProxmoxClusterLabelRuleEngineService.js +166 -0
  394. package/build/dist/Server/Services/ProxmoxClusterLabelRuleEngineService.js.map +1 -0
  395. package/build/dist/Server/Services/ProxmoxClusterLabelRuleService.js +13 -0
  396. package/build/dist/Server/Services/ProxmoxClusterLabelRuleService.js.map +1 -0
  397. package/build/dist/Server/Services/ProxmoxClusterOwnerRuleEngineService.js +186 -0
  398. package/build/dist/Server/Services/ProxmoxClusterOwnerRuleEngineService.js.map +1 -0
  399. package/build/dist/Server/Services/ProxmoxClusterOwnerRuleService.js +13 -0
  400. package/build/dist/Server/Services/ProxmoxClusterOwnerRuleService.js.map +1 -0
  401. package/build/dist/Server/Services/ProxmoxClusterOwnerTeamService.js +9 -0
  402. package/build/dist/Server/Services/ProxmoxClusterOwnerTeamService.js.map +1 -0
  403. package/build/dist/Server/Services/ProxmoxClusterOwnerUserService.js +9 -0
  404. package/build/dist/Server/Services/ProxmoxClusterOwnerUserService.js.map +1 -0
  405. package/build/dist/Server/Services/ProxmoxClusterService.js +337 -0
  406. package/build/dist/Server/Services/ProxmoxClusterService.js.map +1 -0
  407. package/build/dist/Server/Services/ProxmoxResourceService.js +285 -0
  408. package/build/dist/Server/Services/ProxmoxResourceService.js.map +1 -0
  409. package/build/dist/Server/Services/RumApplicationService.js +10 -2
  410. package/build/dist/Server/Services/RumApplicationService.js.map +1 -1
  411. package/build/dist/Server/Services/ScheduledMaintenanceLabelRuleEngineService.js +30 -4
  412. package/build/dist/Server/Services/ScheduledMaintenanceLabelRuleEngineService.js.map +1 -1
  413. package/build/dist/Server/Services/ScheduledMaintenanceOwnerRuleEngineService.js +62 -5
  414. package/build/dist/Server/Services/ScheduledMaintenanceOwnerRuleEngineService.js.map +1 -1
  415. package/build/dist/Server/Services/ServerlessFunctionService.js +10 -2
  416. package/build/dist/Server/Services/ServerlessFunctionService.js.map +1 -1
  417. package/build/dist/Server/Services/TelemetryUsageBillingService.js +43 -3
  418. package/build/dist/Server/Services/TelemetryUsageBillingService.js.map +1 -1
  419. package/build/dist/Server/Services/TraceAggregationService.js +3 -0
  420. package/build/dist/Server/Services/TraceAggregationService.js.map +1 -1
  421. package/build/dist/Server/Types/AnalyticsDatabase/AggregateBy.js +8 -25
  422. package/build/dist/Server/Types/AnalyticsDatabase/AggregateBy.js.map +1 -1
  423. package/build/dist/Server/Types/Database/Permissions/OwnerTableRegistry.js +13 -0
  424. package/build/dist/Server/Types/Database/Permissions/OwnerTableRegistry.js.map +1 -1
  425. package/build/dist/Server/Utils/Monitor/MonitorAlert.js +44 -0
  426. package/build/dist/Server/Utils/Monitor/MonitorAlert.js.map +1 -1
  427. package/build/dist/Server/Utils/Monitor/MonitorClusterContext.js +118 -0
  428. package/build/dist/Server/Utils/Monitor/MonitorClusterContext.js.map +1 -0
  429. package/build/dist/Server/Utils/Monitor/MonitorCriteriaEvaluator.js +422 -4
  430. package/build/dist/Server/Utils/Monitor/MonitorCriteriaEvaluator.js.map +1 -1
  431. package/build/dist/Server/Utils/Monitor/MonitorIncident.js +137 -8
  432. package/build/dist/Server/Utils/Monitor/MonitorIncident.js.map +1 -1
  433. package/build/dist/Server/Utils/Monitor/MonitorMaintenanceSuppression.js +32 -6
  434. package/build/dist/Server/Utils/Monitor/MonitorMaintenanceSuppression.js.map +1 -1
  435. package/build/dist/Server/Utils/Monitor/MonitorTemplateUtil.js +6 -1
  436. package/build/dist/Server/Utils/Monitor/MonitorTemplateUtil.js.map +1 -1
  437. package/build/dist/Server/Utils/Monitor/SeriesResourceLabels.js +39 -0
  438. package/build/dist/Server/Utils/Monitor/SeriesResourceLabels.js.map +1 -1
  439. package/build/dist/Server/Utils/Profiling.js +24 -3
  440. package/build/dist/Server/Utils/Profiling.js.map +1 -1
  441. package/build/dist/Server/Utils/Telemetry/EntityRegistry.js +4 -0
  442. package/build/dist/Server/Utils/Telemetry/EntityRegistry.js.map +1 -1
  443. package/build/dist/Server/Utils/Telemetry/ProxmoxCephSnapshotScan.js +854 -0
  444. package/build/dist/Server/Utils/Telemetry/ProxmoxCephSnapshotScan.js.map +1 -0
  445. package/build/dist/Server/Utils/Telemetry/ResourceFacetResolver.js +30 -0
  446. package/build/dist/Server/Utils/Telemetry/ResourceFacetResolver.js.map +1 -1
  447. package/build/dist/Server/Utils/Telemetry/Telemetry.js +6 -0
  448. package/build/dist/Server/Utils/Telemetry/Telemetry.js.map +1 -1
  449. package/build/dist/Server/Utils/Telemetry/TelemetryEntity.js +80 -0
  450. package/build/dist/Server/Utils/Telemetry/TelemetryEntity.js.map +1 -1
  451. package/build/dist/Server/Utils/Telemetry.js +8 -10
  452. package/build/dist/Server/Utils/Telemetry.js.map +1 -1
  453. package/build/dist/Types/BaseDatabase/AggregationIntervalUtil.js +69 -0
  454. package/build/dist/Types/BaseDatabase/AggregationIntervalUtil.js.map +1 -0
  455. package/build/dist/Types/Dashboard/DashboardComponentType.js +11 -0
  456. package/build/dist/Types/Dashboard/DashboardComponentType.js.map +1 -1
  457. package/build/dist/Types/Dashboard/DashboardComponents/ComponentArgument.js +4 -0
  458. package/build/dist/Types/Dashboard/DashboardComponents/ComponentArgument.js.map +1 -1
  459. package/build/dist/Types/Dashboard/DashboardComponents/DashboardCephOsdListComponent.js +2 -0
  460. package/build/dist/Types/Dashboard/DashboardComponents/DashboardCephOsdListComponent.js.map +1 -0
  461. package/build/dist/Types/Dashboard/DashboardComponents/DashboardCephPoolListComponent.js +2 -0
  462. package/build/dist/Types/Dashboard/DashboardComponents/DashboardCephPoolListComponent.js.map +1 -0
  463. package/build/dist/Types/Dashboard/DashboardComponents/DashboardDockerSwarmNodeListComponent.js +2 -0
  464. package/build/dist/Types/Dashboard/DashboardComponents/DashboardDockerSwarmNodeListComponent.js.map +1 -0
  465. package/build/dist/Types/Dashboard/DashboardComponents/DashboardDockerSwarmServiceListComponent.js +2 -0
  466. package/build/dist/Types/Dashboard/DashboardComponents/DashboardDockerSwarmServiceListComponent.js.map +1 -0
  467. package/build/dist/Types/Dashboard/DashboardComponents/DashboardPodmanContainerListComponent.js +2 -0
  468. package/build/dist/Types/Dashboard/DashboardComponents/DashboardPodmanContainerListComponent.js.map +1 -0
  469. package/build/dist/Types/Dashboard/DashboardComponents/DashboardPodmanHostListComponent.js +2 -0
  470. package/build/dist/Types/Dashboard/DashboardComponents/DashboardPodmanHostListComponent.js.map +1 -0
  471. package/build/dist/Types/Dashboard/DashboardComponents/DashboardPodmanImageListComponent.js +2 -0
  472. package/build/dist/Types/Dashboard/DashboardComponents/DashboardPodmanImageListComponent.js.map +1 -0
  473. package/build/dist/Types/Dashboard/DashboardComponents/DashboardPodmanNetworkListComponent.js +2 -0
  474. package/build/dist/Types/Dashboard/DashboardComponents/DashboardPodmanNetworkListComponent.js.map +1 -0
  475. package/build/dist/Types/Dashboard/DashboardComponents/DashboardPodmanVolumeListComponent.js +2 -0
  476. package/build/dist/Types/Dashboard/DashboardComponents/DashboardPodmanVolumeListComponent.js.map +1 -0
  477. package/build/dist/Types/Dashboard/DashboardComponents/DashboardProxmoxGuestListComponent.js +2 -0
  478. package/build/dist/Types/Dashboard/DashboardComponents/DashboardProxmoxGuestListComponent.js.map +1 -0
  479. package/build/dist/Types/Dashboard/DashboardComponents/DashboardProxmoxNodeListComponent.js +2 -0
  480. package/build/dist/Types/Dashboard/DashboardComponents/DashboardProxmoxNodeListComponent.js.map +1 -0
  481. package/build/dist/Types/Dashboard/DashboardTemplates.js +562 -0
  482. package/build/dist/Types/Dashboard/DashboardTemplates.js.map +1 -1
  483. package/build/dist/Types/DockerSwarm/DockerSwarmInventoryExtractor.js +359 -0
  484. package/build/dist/Types/DockerSwarm/DockerSwarmInventoryExtractor.js.map +1 -0
  485. package/build/dist/Types/Icon/IconProp.js +3 -0
  486. package/build/dist/Types/Icon/IconProp.js.map +1 -1
  487. package/build/dist/Types/Monitor/CephAlertTemplates.js +1379 -0
  488. package/build/dist/Types/Monitor/CephAlertTemplates.js.map +1 -0
  489. package/build/dist/Types/Monitor/CephMetricCatalog.js +353 -0
  490. package/build/dist/Types/Monitor/CephMetricCatalog.js.map +1 -0
  491. package/build/dist/Types/Monitor/DockerSwarmAlertTemplates.js +358 -0
  492. package/build/dist/Types/Monitor/DockerSwarmAlertTemplates.js.map +1 -0
  493. package/build/dist/Types/Monitor/DockerSwarmMetricCatalog.js +103 -0
  494. package/build/dist/Types/Monitor/DockerSwarmMetricCatalog.js.map +1 -0
  495. package/build/dist/Types/Monitor/HostAlertTemplates.js +365 -0
  496. package/build/dist/Types/Monitor/HostAlertTemplates.js.map +1 -0
  497. package/build/dist/Types/Monitor/HostMetricCatalog.js +138 -0
  498. package/build/dist/Types/Monitor/HostMetricCatalog.js.map +1 -0
  499. package/build/dist/Types/Monitor/MonitorStep.js +115 -0
  500. package/build/dist/Types/Monitor/MonitorStep.js.map +1 -1
  501. package/build/dist/Types/Monitor/MonitorStepCephMonitor.js +34 -0
  502. package/build/dist/Types/Monitor/MonitorStepCephMonitor.js.map +1 -0
  503. package/build/dist/Types/Monitor/MonitorStepDockerSwarmMonitor.js +21 -0
  504. package/build/dist/Types/Monitor/MonitorStepDockerSwarmMonitor.js.map +1 -0
  505. package/build/dist/Types/Monitor/MonitorStepHostMonitor.js +20 -0
  506. package/build/dist/Types/Monitor/MonitorStepHostMonitor.js.map +1 -0
  507. package/build/dist/Types/Monitor/MonitorStepPodmanMonitor.js +21 -0
  508. package/build/dist/Types/Monitor/MonitorStepPodmanMonitor.js.map +1 -0
  509. package/build/dist/Types/Monitor/MonitorStepProxmoxMonitor.js +36 -0
  510. package/build/dist/Types/Monitor/MonitorStepProxmoxMonitor.js.map +1 -0
  511. package/build/dist/Types/Monitor/MonitorType.js +66 -1
  512. package/build/dist/Types/Monitor/MonitorType.js.map +1 -1
  513. package/build/dist/Types/Monitor/PodmanAlertTemplates.js +410 -0
  514. package/build/dist/Types/Monitor/PodmanAlertTemplates.js.map +1 -0
  515. package/build/dist/Types/Monitor/PodmanMetricCatalog.js +192 -0
  516. package/build/dist/Types/Monitor/PodmanMetricCatalog.js.map +1 -0
  517. package/build/dist/Types/Monitor/ProxmoxAlertTemplates.js +743 -0
  518. package/build/dist/Types/Monitor/ProxmoxAlertTemplates.js.map +1 -0
  519. package/build/dist/Types/Monitor/ProxmoxMetricCatalog.js +320 -0
  520. package/build/dist/Types/Monitor/ProxmoxMetricCatalog.js.map +1 -0
  521. package/build/dist/Types/Permission.js +824 -0
  522. package/build/dist/Types/Permission.js.map +1 -1
  523. package/build/dist/Types/Podman/PodmanInventoryExtractor.js +293 -0
  524. package/build/dist/Types/Podman/PodmanInventoryExtractor.js.map +1 -0
  525. package/build/dist/Types/Telemetry/EntityType.js +23 -0
  526. package/build/dist/Types/Telemetry/EntityType.js.map +1 -1
  527. package/build/dist/Types/Telemetry/ServiceType.js +4 -0
  528. package/build/dist/Types/Telemetry/ServiceType.js.map +1 -1
  529. package/build/dist/UI/Components/Icon/Icon.js +49 -0
  530. package/build/dist/UI/Components/Icon/Icon.js.map +1 -1
  531. package/build/dist/UI/Components/LogsViewer/LogsViewer.js +30 -2
  532. package/build/dist/UI/Components/LogsViewer/LogsViewer.js.map +1 -1
  533. package/build/dist/UI/Components/LogsViewer/components/LogsFacetSidebar.js +22 -0
  534. package/build/dist/UI/Components/LogsViewer/components/LogsFacetSidebar.js.map +1 -1
  535. package/build/dist/UI/Components/MonitorTemplateVariables/TemplateVariablesCatalog.js +11 -1
  536. package/build/dist/UI/Components/MonitorTemplateVariables/TemplateVariablesCatalog.js.map +1 -1
  537. package/build/dist/UI/Utils/Telemetry/Telemetry.js +11 -10
  538. package/build/dist/UI/Utils/Telemetry/Telemetry.js.map +1 -1
  539. package/build/dist/UI/Utils/TelemetryService.js +6 -2
  540. package/build/dist/UI/Utils/TelemetryService.js.map +1 -1
  541. package/build/dist/Utils/Dashboard/Components/DashboardCephOsdListComponent.js +50 -0
  542. package/build/dist/Utils/Dashboard/Components/DashboardCephOsdListComponent.js.map +1 -0
  543. package/build/dist/Utils/Dashboard/Components/DashboardCephPoolListComponent.js +27 -0
  544. package/build/dist/Utils/Dashboard/Components/DashboardCephPoolListComponent.js.map +1 -0
  545. package/build/dist/Utils/Dashboard/Components/DashboardCephResourceListShared.js +46 -0
  546. package/build/dist/Utils/Dashboard/Components/DashboardCephResourceListShared.js.map +1 -0
  547. package/build/dist/Utils/Dashboard/Components/DashboardDockerSwarmNodeListComponent.js +55 -0
  548. package/build/dist/Utils/Dashboard/Components/DashboardDockerSwarmNodeListComponent.js.map +1 -0
  549. package/build/dist/Utils/Dashboard/Components/DashboardDockerSwarmResourceListShared.js +46 -0
  550. package/build/dist/Utils/Dashboard/Components/DashboardDockerSwarmResourceListShared.js.map +1 -0
  551. package/build/dist/Utils/Dashboard/Components/DashboardDockerSwarmServiceListComponent.js +55 -0
  552. package/build/dist/Utils/Dashboard/Components/DashboardDockerSwarmServiceListComponent.js.map +1 -0
  553. package/build/dist/Utils/Dashboard/Components/DashboardPodmanContainerListComponent.js +77 -0
  554. package/build/dist/Utils/Dashboard/Components/DashboardPodmanContainerListComponent.js.map +1 -0
  555. package/build/dist/Utils/Dashboard/Components/DashboardPodmanHostListComponent.js +71 -0
  556. package/build/dist/Utils/Dashboard/Components/DashboardPodmanHostListComponent.js.map +1 -0
  557. package/build/dist/Utils/Dashboard/Components/DashboardPodmanImageListComponent.js +77 -0
  558. package/build/dist/Utils/Dashboard/Components/DashboardPodmanImageListComponent.js.map +1 -0
  559. package/build/dist/Utils/Dashboard/Components/DashboardPodmanNetworkListComponent.js +68 -0
  560. package/build/dist/Utils/Dashboard/Components/DashboardPodmanNetworkListComponent.js.map +1 -0
  561. package/build/dist/Utils/Dashboard/Components/DashboardPodmanVolumeListComponent.js +68 -0
  562. package/build/dist/Utils/Dashboard/Components/DashboardPodmanVolumeListComponent.js.map +1 -0
  563. package/build/dist/Utils/Dashboard/Components/DashboardProxmoxGuestListComponent.js +55 -0
  564. package/build/dist/Utils/Dashboard/Components/DashboardProxmoxGuestListComponent.js.map +1 -0
  565. package/build/dist/Utils/Dashboard/Components/DashboardProxmoxNodeListComponent.js +42 -0
  566. package/build/dist/Utils/Dashboard/Components/DashboardProxmoxNodeListComponent.js.map +1 -0
  567. package/build/dist/Utils/Dashboard/Components/DashboardProxmoxResourceListShared.js +46 -0
  568. package/build/dist/Utils/Dashboard/Components/DashboardProxmoxResourceListShared.js.map +1 -0
  569. package/build/dist/Utils/Dashboard/Components/Index.js +44 -0
  570. package/build/dist/Utils/Dashboard/Components/Index.js.map +1 -1
  571. package/build/dist/Utils/Telemetry/EntityKey.js +41 -0
  572. package/build/dist/Utils/Telemetry/EntityKey.js.map +1 -1
  573. package/build/dist/Utils/Telemetry/EntityRelationship.js +3 -0
  574. package/build/dist/Utils/Telemetry/EntityRelationship.js.map +1 -1
  575. package/build/dist/Utils/Telemetry/HeartbeatAvailability.js +174 -0
  576. package/build/dist/Utils/Telemetry/HeartbeatAvailability.js.map +1 -0
  577. package/package.json +29 -21
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=DashboardDockerSwarmNodeListComponent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DashboardDockerSwarmNodeListComponent.js","sourceRoot":"","sources":["../../../../../Types/Dashboard/DashboardComponents/DashboardDockerSwarmNodeListComponent.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=DashboardDockerSwarmServiceListComponent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DashboardDockerSwarmServiceListComponent.js","sourceRoot":"","sources":["../../../../../Types/Dashboard/DashboardComponents/DashboardDockerSwarmServiceListComponent.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=DashboardPodmanContainerListComponent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DashboardPodmanContainerListComponent.js","sourceRoot":"","sources":["../../../../../Types/Dashboard/DashboardComponents/DashboardPodmanContainerListComponent.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=DashboardPodmanHostListComponent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DashboardPodmanHostListComponent.js","sourceRoot":"","sources":["../../../../../Types/Dashboard/DashboardComponents/DashboardPodmanHostListComponent.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=DashboardPodmanImageListComponent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DashboardPodmanImageListComponent.js","sourceRoot":"","sources":["../../../../../Types/Dashboard/DashboardComponents/DashboardPodmanImageListComponent.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=DashboardPodmanNetworkListComponent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DashboardPodmanNetworkListComponent.js","sourceRoot":"","sources":["../../../../../Types/Dashboard/DashboardComponents/DashboardPodmanNetworkListComponent.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=DashboardPodmanVolumeListComponent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DashboardPodmanVolumeListComponent.js","sourceRoot":"","sources":["../../../../../Types/Dashboard/DashboardComponents/DashboardPodmanVolumeListComponent.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=DashboardProxmoxGuestListComponent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DashboardProxmoxGuestListComponent.js","sourceRoot":"","sources":["../../../../../Types/Dashboard/DashboardComponents/DashboardProxmoxGuestListComponent.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=DashboardProxmoxNodeListComponent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DashboardProxmoxNodeListComponent.js","sourceRoot":"","sources":["../../../../../Types/Dashboard/DashboardComponents/DashboardProxmoxNodeListComponent.ts"],"names":[],"mappings":""}
@@ -24,6 +24,9 @@ export var DashboardTemplateType;
24
24
  DashboardTemplateType["Incident"] = "Incident";
25
25
  DashboardTemplateType["Kubernetes"] = "Kubernetes";
26
26
  DashboardTemplateType["Host"] = "Host";
27
+ DashboardTemplateType["Proxmox"] = "Proxmox";
28
+ DashboardTemplateType["Ceph"] = "Ceph";
29
+ DashboardTemplateType["DockerSwarm"] = "DockerSwarm";
27
30
  DashboardTemplateType["Metrics"] = "Metrics";
28
31
  })(DashboardTemplateType || (DashboardTemplateType = {}));
29
32
  export const DashboardTemplates = [
@@ -57,6 +60,24 @@ export const DashboardTemplates = [
57
60
  description: "Per-host CPU, memory, disk and network charts, a live host inventory, CPU utilization gauge, process counts, and recent logs.",
58
61
  icon: IconProp.Server,
59
62
  },
63
+ {
64
+ type: DashboardTemplateType.Proxmox,
65
+ name: "Proxmox Dashboard",
66
+ description: "Live node and guest inventories with status, CPU/memory trends, network throughput, and cluster logs.",
67
+ icon: IconProp.ServerStack,
68
+ },
69
+ {
70
+ type: DashboardTemplateType.Ceph,
71
+ name: "Ceph Dashboard",
72
+ description: "OSD wall and pool capacity lists, health and capacity stats, degraded-PG trends, client throughput, and cluster logs.",
73
+ icon: IconProp.Database,
74
+ },
75
+ {
76
+ type: DashboardTemplateType.DockerSwarm,
77
+ name: "Docker Swarm Dashboard",
78
+ description: "Live node and service inventories with role/status, container CPU and memory trends, PID counts, and cluster logs.",
79
+ icon: IconProp.Cube,
80
+ },
60
81
  {
61
82
  type: DashboardTemplateType.Metrics,
62
83
  name: "Metrics Dashboard",
@@ -325,6 +346,124 @@ function createHostListComponent(data) {
325
346
  },
326
347
  };
327
348
  }
349
+ function createProxmoxNodeListComponent(data) {
350
+ var _a;
351
+ return {
352
+ _type: ObjectType.DashboardComponent,
353
+ componentType: DashboardComponentType.ProxmoxNodeList,
354
+ componentId: ObjectID.generate(),
355
+ topInDashboardUnits: data.top,
356
+ leftInDashboardUnits: data.left,
357
+ widthInDashboardUnits: data.width,
358
+ heightInDashboardUnits: data.height,
359
+ minHeightInDashboardUnits: 3,
360
+ minWidthInDashboardUnits: 4,
361
+ arguments: {
362
+ title: data.title,
363
+ maxRows: (_a = data.maxRows) !== null && _a !== void 0 ? _a : 20,
364
+ statusFilter: data.statusFilter,
365
+ },
366
+ };
367
+ }
368
+ function createProxmoxGuestListComponent(data) {
369
+ var _a;
370
+ return {
371
+ _type: ObjectType.DashboardComponent,
372
+ componentType: DashboardComponentType.ProxmoxGuestList,
373
+ componentId: ObjectID.generate(),
374
+ topInDashboardUnits: data.top,
375
+ leftInDashboardUnits: data.left,
376
+ widthInDashboardUnits: data.width,
377
+ heightInDashboardUnits: data.height,
378
+ minHeightInDashboardUnits: 3,
379
+ minWidthInDashboardUnits: 4,
380
+ arguments: {
381
+ title: data.title,
382
+ maxRows: (_a = data.maxRows) !== null && _a !== void 0 ? _a : 20,
383
+ guestTypeFilter: data.guestTypeFilter,
384
+ statusFilter: data.statusFilter,
385
+ },
386
+ };
387
+ }
388
+ function createDockerSwarmNodeListComponent(data) {
389
+ var _a;
390
+ return {
391
+ _type: ObjectType.DashboardComponent,
392
+ componentType: DashboardComponentType.DockerSwarmNodeList,
393
+ componentId: ObjectID.generate(),
394
+ topInDashboardUnits: data.top,
395
+ leftInDashboardUnits: data.left,
396
+ widthInDashboardUnits: data.width,
397
+ heightInDashboardUnits: data.height,
398
+ minHeightInDashboardUnits: 3,
399
+ minWidthInDashboardUnits: 4,
400
+ arguments: {
401
+ title: data.title,
402
+ maxRows: (_a = data.maxRows) !== null && _a !== void 0 ? _a : 20,
403
+ roleFilter: data.roleFilter,
404
+ statusFilter: data.statusFilter,
405
+ },
406
+ };
407
+ }
408
+ function createDockerSwarmServiceListComponent(data) {
409
+ var _a;
410
+ return {
411
+ _type: ObjectType.DashboardComponent,
412
+ componentType: DashboardComponentType.DockerSwarmServiceList,
413
+ componentId: ObjectID.generate(),
414
+ topInDashboardUnits: data.top,
415
+ leftInDashboardUnits: data.left,
416
+ widthInDashboardUnits: data.width,
417
+ heightInDashboardUnits: data.height,
418
+ minHeightInDashboardUnits: 3,
419
+ minWidthInDashboardUnits: 4,
420
+ arguments: {
421
+ title: data.title,
422
+ maxRows: (_a = data.maxRows) !== null && _a !== void 0 ? _a : 20,
423
+ serviceModeFilter: data.serviceModeFilter,
424
+ statusFilter: data.statusFilter,
425
+ },
426
+ };
427
+ }
428
+ function createCephOsdListComponent(data) {
429
+ var _a, _b;
430
+ return {
431
+ _type: ObjectType.DashboardComponent,
432
+ componentType: DashboardComponentType.CephOsdList,
433
+ componentId: ObjectID.generate(),
434
+ topInDashboardUnits: data.top,
435
+ leftInDashboardUnits: data.left,
436
+ widthInDashboardUnits: data.width,
437
+ heightInDashboardUnits: data.height,
438
+ minHeightInDashboardUnits: 3,
439
+ minWidthInDashboardUnits: 4,
440
+ arguments: {
441
+ title: data.title,
442
+ maxRows: (_a = data.maxRows) !== null && _a !== void 0 ? _a : 50,
443
+ // The OSD wall — honeycomb is the view operators expect.
444
+ viewMode: (_b = data.viewMode) !== null && _b !== void 0 ? _b : "honeycomb",
445
+ stateFilter: data.stateFilter,
446
+ },
447
+ };
448
+ }
449
+ function createCephPoolListComponent(data) {
450
+ var _a;
451
+ return {
452
+ _type: ObjectType.DashboardComponent,
453
+ componentType: DashboardComponentType.CephPoolList,
454
+ componentId: ObjectID.generate(),
455
+ topInDashboardUnits: data.top,
456
+ leftInDashboardUnits: data.left,
457
+ widthInDashboardUnits: data.width,
458
+ heightInDashboardUnits: data.height,
459
+ minHeightInDashboardUnits: 3,
460
+ minWidthInDashboardUnits: 4,
461
+ arguments: {
462
+ title: data.title,
463
+ maxRows: (_a = data.maxRows) !== null && _a !== void 0 ? _a : 20,
464
+ },
465
+ };
466
+ }
328
467
  // -- Dashboard configs --
329
468
  function createMonitorDashboardConfig() {
330
469
  const components = [
@@ -1600,6 +1739,423 @@ function createHostDashboardConfig() {
1600
1739
  heightInDashboardUnits: Math.max(DashboardSize.heightInDashboardUnits, 22),
1601
1740
  };
1602
1741
  }
1742
+ function createProxmoxDashboardConfig() {
1743
+ /*
1744
+ * Layout notes:
1745
+ *
1746
+ * - Node / guest counts come from the Postgres inventory list widgets,
1747
+ * never from Sum-of-gauge Value widgets — pve_up re-emits 1 on every
1748
+ * scrape, so summing it across the dashboard window multiplies
1749
+ * (resources x scrapes), the exact failure the Kubernetes template
1750
+ * documents. The list-widget headers show the true current counts.
1751
+ *
1752
+ * - Template metric widgets cannot filter on datapoint attributes, so
1753
+ * the CPU / memory charts average across every PVE object that
1754
+ * reports the metric (nodes AND guests — pve-exporter emits
1755
+ * pve_cpu_usage_ratio / pve_memory_usage_bytes for both scopes).
1756
+ * That is a useful temperature signal for a wall dashboard; the
1757
+ * per-scope, capacity-weighted versions live on the cluster
1758
+ * Overview page.
1759
+ *
1760
+ * - pve_network_*_bytes are cumulative counters, so the throughput
1761
+ * charts use transformAsRate.
1762
+ */
1763
+ const components = [
1764
+ // Row 0: Title
1765
+ createTextComponent({
1766
+ text: "Proxmox Dashboard",
1767
+ top: 0,
1768
+ left: 0,
1769
+ width: 12,
1770
+ height: 1,
1771
+ isBold: true,
1772
+ }),
1773
+ // Rows 1-4: Live inventory from the Postgres snapshot
1774
+ createProxmoxNodeListComponent({
1775
+ title: "Nodes",
1776
+ top: 1,
1777
+ left: 0,
1778
+ width: 6,
1779
+ height: 4,
1780
+ maxRows: 25,
1781
+ }),
1782
+ createProxmoxGuestListComponent({
1783
+ title: "Guests",
1784
+ top: 1,
1785
+ left: 6,
1786
+ width: 6,
1787
+ height: 4,
1788
+ maxRows: 25,
1789
+ }),
1790
+ // Row 5: Section header
1791
+ createTextComponent({
1792
+ text: "Resource Usage",
1793
+ top: 5,
1794
+ left: 0,
1795
+ width: 12,
1796
+ height: 1,
1797
+ isBold: true,
1798
+ }),
1799
+ // Rows 6-8: CPU and memory trends
1800
+ createChartComponent({
1801
+ title: "CPU Usage Ratio (avg across nodes & guests)",
1802
+ chartType: DashboardChartType.Line,
1803
+ top: 6,
1804
+ left: 0,
1805
+ width: 6,
1806
+ height: 3,
1807
+ metricConfig: {
1808
+ metricName: "pve_cpu_usage_ratio",
1809
+ aggregationType: MetricsAggregationType.Avg,
1810
+ legend: "CPU ratio",
1811
+ },
1812
+ }),
1813
+ createChartComponent({
1814
+ title: "Memory Usage (avg across nodes & guests)",
1815
+ chartType: DashboardChartType.Area,
1816
+ top: 6,
1817
+ left: 6,
1818
+ width: 6,
1819
+ height: 3,
1820
+ metricConfig: {
1821
+ metricName: "pve_memory_usage_bytes",
1822
+ aggregationType: MetricsAggregationType.Avg,
1823
+ legend: "Memory used",
1824
+ },
1825
+ }),
1826
+ // Rows 9-11: Network throughput (cumulative counters -> rate)
1827
+ createChartComponent({
1828
+ title: "Network Receive Throughput",
1829
+ chartType: DashboardChartType.Area,
1830
+ top: 9,
1831
+ left: 0,
1832
+ width: 6,
1833
+ height: 3,
1834
+ metricConfig: {
1835
+ metricName: "pve_network_receive_bytes",
1836
+ aggregationType: MetricsAggregationType.Sum,
1837
+ legend: "RX bytes/sec",
1838
+ transformAsRate: true,
1839
+ },
1840
+ }),
1841
+ createChartComponent({
1842
+ title: "Network Transmit Throughput",
1843
+ chartType: DashboardChartType.Area,
1844
+ top: 9,
1845
+ left: 6,
1846
+ width: 6,
1847
+ height: 3,
1848
+ metricConfig: {
1849
+ metricName: "pve_network_transmit_bytes",
1850
+ aggregationType: MetricsAggregationType.Sum,
1851
+ legend: "TX bytes/sec",
1852
+ transformAsRate: true,
1853
+ },
1854
+ }),
1855
+ // Rows 12-14: Logs
1856
+ createLogStreamComponent({
1857
+ title: "Cluster Logs",
1858
+ top: 12,
1859
+ left: 0,
1860
+ width: 12,
1861
+ height: 3,
1862
+ }),
1863
+ ];
1864
+ const variables = [
1865
+ createTelemetryAttributeVariable({
1866
+ name: "cluster",
1867
+ label: "Cluster",
1868
+ attributeKey: "resource.proxmox.cluster.name",
1869
+ }),
1870
+ ];
1871
+ return {
1872
+ _type: ObjectType.DashboardViewConfig,
1873
+ components,
1874
+ variables,
1875
+ heightInDashboardUnits: Math.max(DashboardSize.heightInDashboardUnits, 15),
1876
+ };
1877
+ }
1878
+ function createDockerSwarmDashboardConfig() {
1879
+ /*
1880
+ * Layout notes:
1881
+ *
1882
+ * - Node / service counts come from the Postgres inventory list widgets
1883
+ * (DockerSwarmResource), never from Sum-of-gauge Value widgets — the
1884
+ * same multiply-by-scrapes failure the Kubernetes/Proxmox templates
1885
+ * document. The list-widget headers show the true current counts.
1886
+ *
1887
+ * - The only metrics that actually arrive are the docker_stats
1888
+ * receiver's per-container metrics (container.cpu.utilization,
1889
+ * container.memory.usage.total, container.pids.count, …). There are
1890
+ * NO docker_swarm_* / pve_* metrics, so the charts average those
1891
+ * per-container metrics across every task that reports them — a
1892
+ * useful temperature signal for a wall dashboard. container.cpu
1893
+ * .utilization is a ratio (0..1 per core); the chart leaves it raw.
1894
+ *
1895
+ * - The cluster variable scopes telemetry by the only resource
1896
+ * attribute the agent stamps: resource.docker.swarm.cluster.name.
1897
+ */
1898
+ const components = [
1899
+ // Row 0: Title
1900
+ createTextComponent({
1901
+ text: "Docker Swarm Dashboard",
1902
+ top: 0,
1903
+ left: 0,
1904
+ width: 12,
1905
+ height: 1,
1906
+ isBold: true,
1907
+ }),
1908
+ // Rows 1-4: Live inventory from the Postgres snapshot
1909
+ createDockerSwarmNodeListComponent({
1910
+ title: "Nodes",
1911
+ top: 1,
1912
+ left: 0,
1913
+ width: 6,
1914
+ height: 4,
1915
+ maxRows: 25,
1916
+ }),
1917
+ createDockerSwarmServiceListComponent({
1918
+ title: "Services",
1919
+ top: 1,
1920
+ left: 6,
1921
+ width: 6,
1922
+ height: 4,
1923
+ maxRows: 25,
1924
+ }),
1925
+ // Row 5: Section header
1926
+ createTextComponent({
1927
+ text: "Container Resource Usage",
1928
+ top: 5,
1929
+ left: 0,
1930
+ width: 12,
1931
+ height: 1,
1932
+ isBold: true,
1933
+ }),
1934
+ // Rows 6-8: CPU and memory trends (docker_stats per-container metrics)
1935
+ createChartComponent({
1936
+ title: "CPU Utilization (avg across containers)",
1937
+ chartType: DashboardChartType.Line,
1938
+ top: 6,
1939
+ left: 0,
1940
+ width: 6,
1941
+ height: 3,
1942
+ metricConfig: {
1943
+ metricName: "container.cpu.utilization",
1944
+ aggregationType: MetricsAggregationType.Avg,
1945
+ legend: "CPU utilization",
1946
+ },
1947
+ }),
1948
+ createChartComponent({
1949
+ title: "Memory Usage (avg across containers)",
1950
+ chartType: DashboardChartType.Area,
1951
+ top: 6,
1952
+ left: 6,
1953
+ width: 6,
1954
+ height: 3,
1955
+ metricConfig: {
1956
+ metricName: "container.memory.usage.total",
1957
+ aggregationType: MetricsAggregationType.Avg,
1958
+ legend: "Memory used",
1959
+ },
1960
+ }),
1961
+ // Rows 9-11: PID counts + logs
1962
+ createChartComponent({
1963
+ title: "Process Count (sum across containers)",
1964
+ chartType: DashboardChartType.Line,
1965
+ top: 9,
1966
+ left: 0,
1967
+ width: 6,
1968
+ height: 3,
1969
+ metricConfig: {
1970
+ metricName: "container.pids.count",
1971
+ aggregationType: MetricsAggregationType.Sum,
1972
+ legend: "PIDs",
1973
+ },
1974
+ }),
1975
+ createLogStreamComponent({
1976
+ title: "Cluster Logs",
1977
+ top: 9,
1978
+ left: 6,
1979
+ width: 6,
1980
+ height: 3,
1981
+ }),
1982
+ ];
1983
+ const variables = [
1984
+ createTelemetryAttributeVariable({
1985
+ name: "cluster",
1986
+ label: "Cluster",
1987
+ attributeKey: "resource.docker.swarm.cluster.name",
1988
+ }),
1989
+ ];
1990
+ return {
1991
+ _type: ObjectType.DashboardViewConfig,
1992
+ components,
1993
+ variables,
1994
+ heightInDashboardUnits: Math.max(DashboardSize.heightInDashboardUnits, 12),
1995
+ };
1996
+ }
1997
+ function createCephDashboardConfig() {
1998
+ /*
1999
+ * Layout notes:
2000
+ *
2001
+ * - The OSD wall (honeycomb) and pool capacity list read the Postgres
2002
+ * inventory, so their headers show true current counts — same
2003
+ * Sum-of-gauge reasoning as the Kubernetes / Proxmox templates.
2004
+ *
2005
+ * - ceph_health_status is a single per-cluster gauge (0 OK / 1 WARN /
2006
+ * 2 ERR), so a Max Value widget renders it correctly.
2007
+ *
2008
+ * - ceph_pool_rd_bytes / ceph_pool_wr_bytes are cumulative counters,
2009
+ * so the client-throughput charts use transformAsRate.
2010
+ */
2011
+ const components = [
2012
+ // Row 0: Title
2013
+ createTextComponent({
2014
+ text: "Ceph Dashboard",
2015
+ top: 0,
2016
+ left: 0,
2017
+ width: 12,
2018
+ height: 1,
2019
+ isBold: true,
2020
+ }),
2021
+ // Rows 1-4: Live inventory from the Postgres snapshot
2022
+ createCephOsdListComponent({
2023
+ title: "OSDs",
2024
+ top: 1,
2025
+ left: 0,
2026
+ width: 6,
2027
+ height: 4,
2028
+ maxRows: 100,
2029
+ }),
2030
+ createCephPoolListComponent({
2031
+ title: "Pools",
2032
+ top: 1,
2033
+ left: 6,
2034
+ width: 6,
2035
+ height: 4,
2036
+ maxRows: 25,
2037
+ }),
2038
+ // Row 5: Section header
2039
+ createTextComponent({
2040
+ text: "Health & Capacity",
2041
+ top: 5,
2042
+ left: 0,
2043
+ width: 12,
2044
+ height: 1,
2045
+ isBold: true,
2046
+ }),
2047
+ // Row 6: Health and capacity stats
2048
+ createValueComponent({
2049
+ title: "Health (0 OK / 1 WARN / 2 ERR)",
2050
+ top: 6,
2051
+ left: 0,
2052
+ width: 4,
2053
+ metricConfig: {
2054
+ metricName: "ceph_health_status",
2055
+ aggregationType: MetricsAggregationType.Max,
2056
+ },
2057
+ trendDirection: DashboardValueTrendDirection.HigherIsWorse,
2058
+ }),
2059
+ createValueComponent({
2060
+ title: "Capacity Used",
2061
+ top: 6,
2062
+ left: 4,
2063
+ width: 4,
2064
+ metricConfig: {
2065
+ metricName: "ceph_cluster_total_used_bytes",
2066
+ aggregationType: MetricsAggregationType.Avg,
2067
+ },
2068
+ trendDirection: DashboardValueTrendDirection.HigherIsWorse,
2069
+ }),
2070
+ createValueComponent({
2071
+ title: "Capacity Total",
2072
+ top: 6,
2073
+ left: 8,
2074
+ width: 4,
2075
+ metricConfig: {
2076
+ metricName: "ceph_cluster_total_bytes",
2077
+ aggregationType: MetricsAggregationType.Avg,
2078
+ },
2079
+ }),
2080
+ // Rows 7-9: Capacity growth and PG health
2081
+ createChartComponent({
2082
+ title: "Capacity Used Over Time",
2083
+ chartType: DashboardChartType.Area,
2084
+ top: 7,
2085
+ left: 0,
2086
+ width: 6,
2087
+ height: 3,
2088
+ metricConfig: {
2089
+ metricName: "ceph_cluster_total_used_bytes",
2090
+ aggregationType: MetricsAggregationType.Avg,
2091
+ legend: "Used bytes",
2092
+ },
2093
+ }),
2094
+ createChartComponent({
2095
+ title: "Degraded PGs",
2096
+ chartType: DashboardChartType.Line,
2097
+ top: 7,
2098
+ left: 6,
2099
+ width: 6,
2100
+ height: 3,
2101
+ metricConfig: {
2102
+ metricName: "ceph_pg_degraded",
2103
+ aggregationType: MetricsAggregationType.Max,
2104
+ legend: "Degraded PGs",
2105
+ },
2106
+ }),
2107
+ // Rows 10-12: Client throughput (cumulative counters -> rate)
2108
+ createChartComponent({
2109
+ title: "Client Read Throughput",
2110
+ chartType: DashboardChartType.Area,
2111
+ top: 10,
2112
+ left: 0,
2113
+ width: 6,
2114
+ height: 3,
2115
+ metricConfig: {
2116
+ metricName: "ceph_pool_rd_bytes",
2117
+ aggregationType: MetricsAggregationType.Sum,
2118
+ legend: "Read bytes/sec",
2119
+ transformAsRate: true,
2120
+ },
2121
+ }),
2122
+ createChartComponent({
2123
+ title: "Client Write Throughput",
2124
+ chartType: DashboardChartType.Area,
2125
+ top: 10,
2126
+ left: 6,
2127
+ width: 6,
2128
+ height: 3,
2129
+ metricConfig: {
2130
+ metricName: "ceph_pool_wr_bytes",
2131
+ aggregationType: MetricsAggregationType.Sum,
2132
+ legend: "Write bytes/sec",
2133
+ transformAsRate: true,
2134
+ },
2135
+ }),
2136
+ // Rows 13-15: Logs (the agent's filelog receiver ships ceph.log)
2137
+ createLogStreamComponent({
2138
+ title: "Cluster Logs",
2139
+ top: 13,
2140
+ left: 0,
2141
+ width: 12,
2142
+ height: 3,
2143
+ }),
2144
+ ];
2145
+ const variables = [
2146
+ createTelemetryAttributeVariable({
2147
+ name: "cluster",
2148
+ label: "Cluster",
2149
+ attributeKey: "resource.ceph.cluster.name",
2150
+ }),
2151
+ ];
2152
+ return {
2153
+ _type: ObjectType.DashboardViewConfig,
2154
+ components,
2155
+ variables,
2156
+ heightInDashboardUnits: Math.max(DashboardSize.heightInDashboardUnits, 16),
2157
+ };
2158
+ }
1603
2159
  export function getTemplateConfig(type) {
1604
2160
  switch (type) {
1605
2161
  case DashboardTemplateType.Monitor:
@@ -1610,6 +2166,12 @@ export function getTemplateConfig(type) {
1610
2166
  return createKubernetesDashboardConfig();
1611
2167
  case DashboardTemplateType.Host:
1612
2168
  return createHostDashboardConfig();
2169
+ case DashboardTemplateType.Proxmox:
2170
+ return createProxmoxDashboardConfig();
2171
+ case DashboardTemplateType.Ceph:
2172
+ return createCephDashboardConfig();
2173
+ case DashboardTemplateType.DockerSwarm:
2174
+ return createDockerSwarmDashboardConfig();
1613
2175
  case DashboardTemplateType.Metrics:
1614
2176
  return createMetricsDashboardConfig();
1615
2177
  case DashboardTemplateType.Blank: