@acorex-platform/module-system-insight-client 0.0.38 → 0.0.48
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/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-alert-rule.mjs +13 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-alert-rule.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-audit-log.mjs +14 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-audit-log.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-dashboard-widget-config.mjs +12 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-dashboard-widget-config.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-error-event.mjs +14 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-error-event.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-http-request-log.mjs +14 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-http-request-log.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-job-execution-log.mjs +14 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-job-execution-log.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-log-entry.mjs +4 -4
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-log-entry.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-metric-point.mjs +13 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-metric-point.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-observability-data-source.mjs +11 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-observability-data-source.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-retention-policy.mjs +13 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-retention-policy.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-saved-view.mjs +12 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-saved-view.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-slow-request.mjs +14 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-slow-request.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-trace-entry.mjs +4 -4
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-trace-entry.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-trace-span.mjs +18 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-trace-span.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-L_KQ_ZRS.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-Bcovlxhp.mjs} +15 -15
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-L_KQ_ZRS.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-Bcovlxhp.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-alert-rule.entity-CVQ8zi2n.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-alert-rule.entity-DuUn71Sz.mjs} +15 -2
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-alert-rule.entity-DuUn71Sz.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-audit-log.entity-DUUbh-K4.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-audit-log.entity-DZ1CmaFi.mjs} +16 -2
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-audit-log.entity-DZ1CmaFi.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-dashboard-widget-config.entity-CQPGHj3-.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-dashboard-widget-config.entity-BQak4AZc.mjs} +14 -2
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-dashboard-widget-config.entity-BQak4AZc.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-error-event.entity-41bQET9n.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-error-event.entity-DaZislZB.mjs} +16 -3
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-error-event.entity-DaZislZB.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-http-request-log.entity-DuUG39be.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-http-request-log.entity-DbLd4t7F.mjs} +16 -3
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-http-request-log.entity-DbLd4t7F.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-job-execution-log.entity-DjScVny4.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-job-execution-log.entity-sX-AHmPB.mjs} +16 -3
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-job-execution-log.entity-sX-AHmPB.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-log-entry.entity-KhwOnohn.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-log-entry.entity-76GPKu4M.mjs} +6 -6
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-log-entry.entity-76GPKu4M.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-metric-point.entity-kfxxSxvp.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-metric-point.entity-DJFXCRCy.mjs} +15 -3
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-metric-point.entity-DJFXCRCy.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-observability-data-source.entity-BM0wTN3C.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-observability-data-source.entity-Bd3Bvtgl.mjs} +13 -2
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-observability-data-source.entity-Bd3Bvtgl.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-C768fZe1.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-8eqBvMRF.mjs} +2 -2
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-8eqBvMRF.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-retention-policy.entity-BU_FXy6_.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-retention-policy.entity-C4ipn2nR.mjs} +15 -2
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-retention-policy.entity-C4ipn2nR.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-saved-view.entity-BhhIVSRT.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-saved-view.entity-HevCnSJO.mjs} +14 -2
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-saved-view.entity-HevCnSJO.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-slow-request.entity-CdQongZo.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-slow-request.entity-kdw-SNYp.mjs} +16 -3
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-slow-request.entity-kdw-SNYp.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-entry.entity-B_B8zT6c.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-entry.entity-D3HM0Fbw.mjs} +6 -6
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-entry.entity-D3HM0Fbw.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-span.entity-BJGn3-6F.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-span.entity-DqvCcxQO.mjs} +20 -3
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-span.entity-DqvCcxQO.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog.mjs +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts.mjs +22 -2
- package/fesm2022/acorex-platform-module-system-insight-client-contracts.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-index-CeO40uWE.mjs → acorex-platform-module-system-insight-client-index-B-pPInVq.mjs} +168 -42
- package/fesm2022/acorex-platform-module-system-insight-client-index-B-pPInVq.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client.mjs +4 -26
- package/fesm2022/acorex-platform-module-system-insight-client.mjs.map +1 -1
- package/package.json +1 -1
- package/types/acorex-platform-module-system-insight-client-contracts.d.ts +9 -2
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-alert-rule.entity-CVQ8zi2n.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-audit-log.entity-DUUbh-K4.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-dashboard-widget-config.entity-CQPGHj3-.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-error-event.entity-41bQET9n.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-http-request-log.entity-DuUG39be.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-job-execution-log.entity-DjScVny4.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-log-entry.entity-KhwOnohn.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-metric-point.entity-kfxxSxvp.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-observability-data-source.entity-BM0wTN3C.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-C768fZe1.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-retention-policy.entity-BU_FXy6_.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-saved-view.entity-BhhIVSRT.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-slow-request.entity-CdQongZo.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-entry.entity-B_B8zT6c.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-span.entity-BJGn3-6F.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-system-insight-client-index-CeO40uWE.mjs.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-system-insight-client-contracts-entity-catalog-observability-data-source.entity-Bd3Bvtgl.mjs","sources":["../../../../libs/modules/system-insight/contracts/src/entities/observability-data-source/observability-data-source.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nexport async function observabilityDataSourceEntityFactory(): Promise<AXPEntity | null> {\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.observabilityDataSource.name,\n title: RootConfig.entities.observabilityDataSource.title,\n icon: RootConfig.entities.observabilityDataSource.icon,\n searchTags: [\n 'data-source',\n 'observability',\n 'observability-source',\n 'telemetry',\n 'metrics-source',\n 'logs-source',\n 'system-insight',\n 'منبع داده',\n 'بینش سیستم',\n ],\n formats: {\n individual: RootConfig.entities.observabilityDataSource.title,\n plural: RootConfig.entities.observabilityDataSource.titlePlural,\n searchResult: { title: '{{ name }}', description: RootConfig.entities.observabilityDataSource.title },\n },\n groups: [{ id: 'general', title: '@system-insight:groups.general' }],\n properties: [\n { name: 'name', title: '@system-insight:fields.name', groupId: 'general', schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } }, validations: [{ rule: 'required' }] },\n { name: 'type', title: '@system-insight:fields.data-source-type', groupId: 'general', schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.SelectBox, options: { dataSource: ['logs', 'traces', 'metrics'] } } } },\n { name: 'provider', title: '@system-insight:fields.provider', groupId: 'general', schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.SelectBox, options: { dataSource: ['fake', 'elasticsearch', 'jaeger', 'prometheus'] } } } },\n { name: 'isDefault', title: '@system-insight:fields.is-default', groupId: 'general', schema: { dataType: 'boolean', interface: { type: AXPWidgetsList.Editors.ToggleSwitch } } },\n {\n name: 'tenantId',\n title: '@system-insight:fields.tenant-id',\n groupId: 'general',\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'TenantManagement.Tenant',\n textField: 'title',\n valueField: 'id',\n look: 'select',\n expose: [\n { source: 'id', target: 'tenant.id' },\n { source: 'title', target: 'tenant.title' },\n ],\n },\n },\n },\n },\n ],\n columns: [{ name: 'name' }, { name: 'type' }, { name: 'provider' }, { name: 'isDefault' }],\n interfaces: {\n master: {\n list: { actions: [...entityMasterCrudActions()], views: [createAllQueryView()] },\n single: { title: '{{ name }}', sections: [{ id: 'general' }], properties: [{ name: 'name' }, { name: 'type' }, { name: 'provider' }, { name: 'isDefault' }], actions: [...entityMasterRecordActions()] },\n create: { sections: [{ id: 'general' }], properties: [{ name: 'name' }, { name: 'type' }, { name: 'provider' }, { name: 'isDefault' }] },\n update: { sections: [{ id: 'general' }], properties: [{ name: 'name' }, { name: 'type' }, { name: 'provider' }, { name: 'isDefault' }] },\n },\n },\n };\n}\n"],"names":[],"mappings":";;;;AAIO,eAAe,oCAAoC,GAAA;IACxD,OAAO;AACL,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,uBAAuB,CAAC,IAAI;AACtD,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,uBAAuB,CAAC,KAAK;AACxD,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,uBAAuB,CAAC,IAAI;AACtD,QAAA,UAAU,EAAE;YACV,aAAa;YACb,eAAe;YACf,sBAAsB;YACtB,WAAW;YACX,gBAAgB;YAChB,aAAa;YACb,gBAAgB;YAChB,WAAW;YACX,YAAY;AACb,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,uBAAuB,CAAC,KAAK;AAC7D,YAAA,MAAM,EAAE,UAAU,CAAC,QAAQ,CAAC,uBAAuB,CAAC,WAAW;AAC/D,YAAA,YAAY,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,UAAU,CAAC,QAAQ,CAAC,uBAAuB,CAAC,KAAK,EAAE;AACtG,SAAA;QACD,MAAM,EAAE,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,gCAAgC,EAAE,CAAC;AACpE,QAAA,UAAU,EAAE;AACV,YAAA,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,6BAA6B,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,cAAc,CAAC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E,IAAI,EAAE,WAAW,EAAE,CAAC,EAAE;AACxI,gBAAA,MAAM,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC,EAAE;AACzI,aAAA;AACF,SAAA;KACF;AACH;;"}
|
|
@@ -22,7 +22,7 @@ const AXMSystemInsightQueryKeys = {
|
|
|
22
22
|
GetOne: 'SystemInsight:TraceSpan:GetOne',
|
|
23
23
|
},
|
|
24
24
|
TraceTimeline: {
|
|
25
|
-
Get: 'SystemInsight:
|
|
25
|
+
Get: 'SystemInsight:TraceEntry:GetTimeline',
|
|
26
26
|
},
|
|
27
27
|
ErrorEvent: {
|
|
28
28
|
List: 'SystemInsight:ErrorEvent:List',
|
|
@@ -42,4 +42,4 @@ const AXMSystemInsightQueryKeys = {
|
|
|
42
42
|
//#endregion
|
|
43
43
|
|
|
44
44
|
export { AXMSystemInsightQueryKeys as A };
|
|
45
|
-
//# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-
|
|
45
|
+
//# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-8eqBvMRF.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-8eqBvMRF.mjs","sources":["../../../../libs/modules/system-insight/contracts/src/queries.keys.ts"],"sourcesContent":["//#region ---- Query Keys ----\n\nexport const AXMSystemInsightQueryKeys = {\n LogEntry: {\n List: 'SystemInsight:LogEntry:List',\n GetOne: 'SystemInsight:LogEntry:GetOne',\n Aggregate: 'SystemInsight:LogEntry:Aggregate',\n },\n HttpRequestLog: {\n List: 'SystemInsight:HttpRequestLog:List',\n GetOne: 'SystemInsight:HttpRequestLog:GetOne',\n },\n JobExecutionLog: {\n List: 'SystemInsight:JobExecutionLog:List',\n GetOne: 'SystemInsight:JobExecutionLog:GetOne',\n },\n TraceEntry: {\n List: 'SystemInsight:TraceEntry:List',\n GetOne: 'SystemInsight:TraceEntry:GetOne',\n },\n TraceSpan: {\n List: 'SystemInsight:TraceSpan:List',\n GetOne: 'SystemInsight:TraceSpan:GetOne',\n },\n TraceTimeline: {\n Get: 'SystemInsight:TraceEntry:GetTimeline',\n },\n ErrorEvent: {\n List: 'SystemInsight:ErrorEvent:List',\n GetOne: 'SystemInsight:ErrorEvent:GetOne',\n Aggregate: 'SystemInsight:ErrorEvent:Aggregate',\n },\n SlowRequest: {\n List: 'SystemInsight:SlowRequest:List',\n GetOne: 'SystemInsight:SlowRequest:GetOne',\n },\n MetricPoint: {\n List: 'SystemInsight:MetricPoint:List',\n GetOne: 'SystemInsight:MetricPoint:GetOne',\n Range: 'SystemInsight:MetricPoint:Range',\n },\n} as const;\n\n//#endregion\n"],"names":[],"mappings":"AAAA;AAEO,MAAM,yBAAyB,GAAG;AACvC,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE,6BAA6B;AACnC,QAAA,MAAM,EAAE,+BAA+B;AACvC,QAAA,SAAS,EAAE,kCAAkC;AAC9C,KAAA;AACD,IAAA,cAAc,EAAE;AACd,QAAA,IAAI,EAAE,mCAAmC;AACzC,QAAA,MAAM,EAAE,qCAAqC;AAC9C,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,IAAI,EAAE,oCAAoC;AAC1C,QAAA,MAAM,EAAE,sCAAsC;AAC/C,KAAA;AACD,IAAA,UAAU,EAAE;AACV,QAAA,IAAI,EAAE,+BAA+B;AACrC,QAAA,MAAM,EAAE,iCAAiC;AAC1C,KAAA;AACD,IAAA,SAAS,EAAE;AACT,QAAA,IAAI,EAAE,8BAA8B;AACpC,QAAA,MAAM,EAAE,gCAAgC;AACzC,KAAA;AACD,IAAA,aAAa,EAAE;AACb,QAAA,GAAG,EAAE,sCAAsC;AAC5C,KAAA;AACD,IAAA,UAAU,EAAE;AACV,QAAA,IAAI,EAAE,+BAA+B;AACrC,QAAA,MAAM,EAAE,iCAAiC;AACzC,QAAA,SAAS,EAAE,oCAAoC;AAChD,KAAA;AACD,IAAA,WAAW,EAAE;AACX,QAAA,IAAI,EAAE,gCAAgC;AACtC,QAAA,MAAM,EAAE,kCAAkC;AAC3C,KAAA;AACD,IAAA,WAAW,EAAE;AACX,QAAA,IAAI,EAAE,gCAAgC;AACtC,QAAA,MAAM,EAAE,kCAAkC;AAC1C,QAAA,KAAK,EAAE,iCAAiC;AACzC,KAAA;;AAGH;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
|
|
2
2
|
import { entityMasterRecordActions, createAllQueryView, entityMasterCrudActions } from '@acorex-platform/framework-shared/entity';
|
|
3
|
-
import { R as RootConfig } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-
|
|
3
|
+
import { R as RootConfig } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-Bcovlxhp.mjs';
|
|
4
4
|
|
|
5
5
|
async function retentionPolicyEntityFactory() {
|
|
6
6
|
return {
|
|
@@ -8,6 +8,19 @@ async function retentionPolicyEntityFactory() {
|
|
|
8
8
|
name: RootConfig.entities.retentionPolicy.name,
|
|
9
9
|
title: RootConfig.entities.retentionPolicy.title,
|
|
10
10
|
icon: RootConfig.entities.retentionPolicy.icon,
|
|
11
|
+
searchTags: [
|
|
12
|
+
'retention',
|
|
13
|
+
'retention-policy',
|
|
14
|
+
'log-retention',
|
|
15
|
+
'data-retention',
|
|
16
|
+
'storage-policy',
|
|
17
|
+
'cleanup',
|
|
18
|
+
'observability',
|
|
19
|
+
'system-insight',
|
|
20
|
+
'سیاست نگهداری',
|
|
21
|
+
'نگهداری',
|
|
22
|
+
'بینش سیستم',
|
|
23
|
+
],
|
|
11
24
|
formats: {
|
|
12
25
|
individual: RootConfig.entities.retentionPolicy.title,
|
|
13
26
|
plural: RootConfig.entities.retentionPolicy.titlePlural,
|
|
@@ -76,4 +89,4 @@ async function retentionPolicyEntityFactory() {
|
|
|
76
89
|
}
|
|
77
90
|
|
|
78
91
|
export { retentionPolicyEntityFactory };
|
|
79
|
-
//# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entity-catalog-retention-policy.entity-
|
|
92
|
+
//# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entity-catalog-retention-policy.entity-C4ipn2nR.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-system-insight-client-contracts-entity-catalog-retention-policy.entity-C4ipn2nR.mjs","sources":["../../../../libs/modules/system-insight/contracts/src/entities/retention-policy/retention-policy.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nexport async function retentionPolicyEntityFactory(): Promise<AXPEntity | null> {\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.retentionPolicy.name,\n title: RootConfig.entities.retentionPolicy.title,\n icon: RootConfig.entities.retentionPolicy.icon,\n searchTags: [\n 'retention',\n 'retention-policy',\n 'log-retention',\n 'data-retention',\n 'storage-policy',\n 'cleanup',\n 'observability',\n 'system-insight',\n 'سیاست نگهداری',\n 'نگهداری',\n 'بینش سیستم',\n ],\n formats: {\n individual: RootConfig.entities.retentionPolicy.title,\n plural: RootConfig.entities.retentionPolicy.titlePlural,\n searchResult: { title: '{{ dataType }}', description: RootConfig.entities.retentionPolicy.title },\n },\n groups: [{ id: 'general', title: '@system-insight:groups.general' }],\n properties: [\n { name: 'dataType', title: '@system-insight:fields.data-type', groupId: 'general', schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.SelectBox, options: { dataSource: ['logs', 'traces', 'metrics', 'audit'] } } } },\n { name: 'retentionDays', title: '@system-insight:fields.retention-days', groupId: 'general', schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } } },\n { name: 'enabled', title: '@system-insight:fields.enabled', groupId: 'general', schema: { dataType: 'boolean', interface: { type: AXPWidgetsList.Editors.ToggleSwitch } } },\n {\n name: 'tenantId',\n title: '@system-insight:fields.tenant-id',\n groupId: 'general',\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'TenantManagement.Tenant',\n textField: 'title',\n valueField: 'id',\n look: 'select',\n expose: [\n { source: 'id', target: 'tenant.id' },\n { source: 'title', target: 'tenant.title' },\n ],\n },\n },\n },\n },\n {\n name: 'applicationId',\n title: '@system-insight:fields.application-id',\n groupId: 'general',\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'ApplicationManagement.Application',\n textField: 'title',\n valueField: 'id',\n look: 'select',\n expose: [\n { source: 'id', target: 'application.id' },\n { source: 'title', target: 'application.title' },\n ],\n },\n },\n },\n },\n ],\n columns: [{ name: 'dataType' }, { name: 'retentionDays' }, { name: 'enabled' }],\n interfaces: {\n master: {\n list: { actions: [...entityMasterCrudActions()], views: [createAllQueryView()] },\n single: { title: '{{ dataType }}', sections: [{ id: 'general' }], properties: [{ name: 'dataType' }, { name: 'retentionDays' }, { name: 'enabled' }], actions: [...entityMasterRecordActions()] },\n create: { sections: [{ id: 'general' }], properties: [{ name: 'dataType' }, { name: 'retentionDays' }, { name: 'enabled' }] },\n update: { sections: [{ id: 'general' }], properties: [{ name: 'dataType' }, { name: 'retentionDays' }, { name: 'enabled' }] },\n },\n },\n };\n}\n"],"names":[],"mappings":";;;;AAIO,eAAe,4BAA4B,GAAA;IAChD,OAAO;AACL,QAAA,MAAM,E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AA,MAAM,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAE;AAC9H,aAAA;AACF,SAAA;KACF;AACH;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
|
|
2
2
|
import { entityMasterRecordActions, createAllQueryView, entityMasterCrudActions } from '@acorex-platform/framework-shared/entity';
|
|
3
|
-
import { R as RootConfig } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-
|
|
3
|
+
import { R as RootConfig } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-Bcovlxhp.mjs';
|
|
4
4
|
|
|
5
5
|
async function savedViewEntityFactory() {
|
|
6
6
|
return {
|
|
@@ -8,6 +8,18 @@ async function savedViewEntityFactory() {
|
|
|
8
8
|
name: RootConfig.entities.savedView.name,
|
|
9
9
|
title: RootConfig.entities.savedView.title,
|
|
10
10
|
icon: RootConfig.entities.savedView.icon,
|
|
11
|
+
searchTags: [
|
|
12
|
+
'saved-view',
|
|
13
|
+
'saved-views',
|
|
14
|
+
'filter',
|
|
15
|
+
'saved-filter',
|
|
16
|
+
'observability',
|
|
17
|
+
'custom-view',
|
|
18
|
+
'system-insight',
|
|
19
|
+
'نمای ذخیرهشده',
|
|
20
|
+
'فیلتر',
|
|
21
|
+
'بینش سیستم',
|
|
22
|
+
],
|
|
11
23
|
formats: {
|
|
12
24
|
individual: RootConfig.entities.savedView.title,
|
|
13
25
|
plural: RootConfig.entities.savedView.titlePlural,
|
|
@@ -56,4 +68,4 @@ async function savedViewEntityFactory() {
|
|
|
56
68
|
}
|
|
57
69
|
|
|
58
70
|
export { savedViewEntityFactory };
|
|
59
|
-
//# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entity-catalog-saved-view.entity-
|
|
71
|
+
//# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entity-catalog-saved-view.entity-HevCnSJO.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-system-insight-client-contracts-entity-catalog-saved-view.entity-HevCnSJO.mjs","sources":["../../../../libs/modules/system-insight/contracts/src/entities/saved-view/saved-view.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n AXPEntityCommandScope,\n createAllQueryView,\n entityMasterCrudActions,\n entityMasterRecordActions,\n} from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nexport async function savedViewEntityFactory(): Promise<AXPEntity | null> {\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.savedView.name,\n title: RootConfig.entities.savedView.title,\n icon: RootConfig.entities.savedView.icon,\n searchTags: [\n 'saved-view',\n 'saved-views',\n 'filter',\n 'saved-filter',\n 'observability',\n 'custom-view',\n 'system-insight',\n 'نمای ذخیرهشده',\n 'فیلتر',\n 'بینش سیستم',\n ],\n formats: {\n individual: RootConfig.entities.savedView.title,\n plural: RootConfig.entities.savedView.titlePlural,\n searchResult: { title: '{{ title }}', description: RootConfig.entities.savedView.title },\n },\n groups: [{ id: 'general', title: '@system-insight:groups.general' }],\n properties: [\n { name: 'title', title: '@system-insight:fields.title', groupId: 'general', schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } }, validations: [{ rule: 'required' }] },\n { name: 'description', title: '@system-insight:fields.description', groupId: 'general', schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } } },\n { name: 'entityFullName', title: '@system-insight:fields.entity-full-name', groupId: 'general', schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } }, validations: [{ rule: 'required' }] },\n { name: 'isDefault', title: '@system-insight:fields.is-default', groupId: 'general', schema: { dataType: 'boolean', interface: { type: AXPWidgetsList.Editors.ToggleSwitch } } },\n { name: 'isShared', title: '@system-insight:fields.is-shared', groupId: 'general', schema: { dataType: 'boolean', interface: { type: AXPWidgetsList.Editors.ToggleSwitch } } },\n {\n name: 'tenantId',\n title: '@system-insight:fields.tenant-id',\n groupId: 'general',\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'TenantManagement.Tenant',\n textField: 'title',\n valueField: 'id',\n look: 'select',\n expose: [\n { source: 'id', target: 'tenant.id' },\n { source: 'title', target: 'tenant.title' },\n ],\n },\n },\n },\n },\n ],\n columns: [{ name: 'title' }, { name: 'entityFullName' }, { name: 'isDefault' }, { name: 'isShared' }],\n interfaces: {\n master: {\n list: { actions: [...entityMasterCrudActions()], views: [createAllQueryView()] },\n single: { title: '{{ title }}', sections: [{ id: 'general' }], properties: [{ name: 'title' }, { name: 'description' }, { name: 'entityFullName' }, { name: 'isDefault' }, { name: 'isShared' }], actions: [...entityMasterRecordActions()] },\n create: { sections: [{ id: 'general' }], properties: [{ name: 'title' }, { name: 'description' }, { name: 'entityFullName' }, { name: 'isDefault' }, { name: 'isShared' }] },\n update: { sections: [{ id: 'general' }], properties: [{ name: 'title' }, { name: 'description' }, { name: 'entityFullName' }, { name: 'isDefault' }, { name: 'isShared' }] },\n },\n },\n };\n}\n"],"names":[],"mappings":";;;;AAUO,eAAe,sBAAsB,GAAA;IAC1C,OAAO;AACL,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI;AACxC,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,KAAK;AAC1C,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI;AACxC,QAAA,UAAU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AAA;AACF,SAAA;KACF;AACH;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
|
|
2
2
|
import { AXPEntityCommandScope, AXPEntityQueryType, createAllQueryView } from '@acorex-platform/framework-shared/entity';
|
|
3
3
|
import { A as AXMSystemInsightCommandKeys } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-commands.keys-yv865ABJ.mjs';
|
|
4
|
-
import { A as AXMSystemInsightQueryKeys } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-
|
|
5
|
-
import { R as RootConfig } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-
|
|
4
|
+
import { A as AXMSystemInsightQueryKeys } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-8eqBvMRF.mjs';
|
|
5
|
+
import { R as RootConfig } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-Bcovlxhp.mjs';
|
|
6
6
|
|
|
7
7
|
const listFieldOptions = {
|
|
8
8
|
filter: { inline: { enabled: true }, advance: { enabled: true } },
|
|
@@ -76,6 +76,19 @@ async function slowRequestEntityFactory() {
|
|
|
76
76
|
name: RootConfig.entities.slowRequest.name,
|
|
77
77
|
title: RootConfig.entities.slowRequest.title,
|
|
78
78
|
icon: RootConfig.entities.slowRequest.icon,
|
|
79
|
+
searchTags: [
|
|
80
|
+
'slow-request',
|
|
81
|
+
'slow-requests',
|
|
82
|
+
'performance',
|
|
83
|
+
'latency',
|
|
84
|
+
'response-time',
|
|
85
|
+
'threshold',
|
|
86
|
+
'observability',
|
|
87
|
+
'system-insight',
|
|
88
|
+
'درخواست کند',
|
|
89
|
+
'کارایی',
|
|
90
|
+
'بینش سیستم',
|
|
91
|
+
],
|
|
79
92
|
formats: {
|
|
80
93
|
individual: RootConfig.entities.slowRequest.title,
|
|
81
94
|
plural: RootConfig.entities.slowRequest.titlePlural,
|
|
@@ -147,4 +160,4 @@ async function slowRequestEntityFactory() {
|
|
|
147
160
|
}
|
|
148
161
|
|
|
149
162
|
export { slowRequestEntityFactory };
|
|
150
|
-
//# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entity-catalog-slow-request.entity-
|
|
163
|
+
//# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entity-catalog-slow-request.entity-kdw-SNYp.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-system-insight-client-contracts-entity-catalog-slow-request.entity-kdw-SNYp.mjs","sources":["../../../../libs/modules/system-insight/contracts/src/entities/slow-request/slow-request.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n AXPEntityCommandScope,\n AXPEntityQueryType,\n createAllQueryView,\n} from '@acorex-platform/framework-shared/entity';\nimport { AXMSystemInsightCommandKeys } from '../../commands.keys';\nimport { AXMSystemInsightQueryKeys } from '../../queries.keys';\nimport { RootConfig } from '../../root-config';\n\nconst listFieldOptions = {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n sort: { enabled: true },\n};\n\nconst readOnlyCrud = async () => {\n throw new Error('Observability data is read-only');\n};\n\nexport async function slowRequestEntityFactory(): Promise<AXPEntity> {\n const i18n = RootConfig.config.i18n;\n\n const properties: AXPEntity['properties'] = [\n {\n name: 'timestamp',\n title: '@system-insight:fields.timestamp',\n groupId: 'general',\n schema: { dataType: 'date', interface: { type: AXPWidgetsList.Editors.DateTimeBox } },\n options: listFieldOptions,\n },\n {\n name: 'method',\n title: '@system-insight:fields.method',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'url',\n title: '@system-insight:fields.url',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'duration',\n title: '@system-insight:fields.duration',\n groupId: 'general',\n schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } },\n options: listFieldOptions,\n },\n {\n name: 'thresholdMs',\n title: '@system-insight:fields.threshold-ms',\n groupId: 'general',\n schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } },\n options: listFieldOptions,\n },\n {\n name: 'statusCode',\n title: '@system-insight:fields.status-code',\n groupId: 'general',\n schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } },\n options: listFieldOptions,\n },\n {\n name: 'serviceName',\n title: '@system-insight:fields.service-name',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'traceId',\n title: '@system-insight:fields.trace-id',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n ];\n\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.slowRequest.name,\n title: RootConfig.entities.slowRequest.title,\n icon: RootConfig.entities.slowRequest.icon,\n searchTags: [\n 'slow-request',\n 'slow-requests',\n 'performance',\n 'latency',\n 'response-time',\n 'threshold',\n 'observability',\n 'system-insight',\n 'درخواست کند',\n 'کارایی',\n 'بینش سیستم',\n ],\n formats: {\n individual: RootConfig.entities.slowRequest.title,\n plural: RootConfig.entities.slowRequest.titlePlural,\n searchResult: {\n title: '{{ method }} {{ url }}',\n description: RootConfig.entities.slowRequest.title,\n },\n },\n groups: [{ id: 'general', title: `@${i18n}:groups.general` }],\n properties,\n columns: [\n { name: 'timestamp' },\n { name: 'method' },\n { name: 'url' },\n { name: 'duration' },\n { name: 'statusCode' },\n { name: 'serviceName' },\n ],\n queries: {\n list: { execute: AXMSystemInsightQueryKeys.SlowRequest.List, type: AXPEntityQueryType.List },\n byKey: { execute: AXMSystemInsightQueryKeys.SlowRequest.GetOne, type: AXPEntityQueryType.Single },\n },\n commands: {\n create: { execute: readOnlyCrud },\n update: { execute: readOnlyCrud },\n delete: { execute: readOnlyCrud },\n },\n interfaces: {\n master: {\n list: {\n actions: [\n {\n title: '@general:actions.detail.title',\n icon: 'fa-light fa-eye',\n command: 'Entity:View',\n priority: 'primary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n default: true,\n },\n ],\n views: [\n createAllQueryView({\n sorts: [{ name: 'timestamp', dir: 'desc' }],\n }),\n ],\n },\n single: {\n title: '{{ method }} {{ url }}',\n sections: [{ id: 'general' }],\n properties: properties.map((property) => ({\n name: property.name,\n layout: { positions: { lg: { colSpan: 6 } } },\n })),\n actions: [\n {\n title: `@${i18n}:actions.view-trace.title`,\n command: AXMSystemInsightCommandKeys.Trace.OpenTimeline,\n priority: 'secondary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n hidden: `{{ !context.eval(\"traceId\") }}`,\n },\n ],\n },\n },\n },\n };\n}\n"],"names":[],"mappings":";;;;;;AAWA,MAAM,gBAAgB,GAAG;AACvB,IAAA,MAAM,EAAE,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;AACjE,IAAA,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;CACxB;AAED,MAAM,YAAY,GAAG,YAAW;AAC9B,IAAA,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC;AACpD,CAAC;AAEM,eAAe,wBAAwB,GAAA;AAC5C,IAAA,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI;AAEnC,IAAA,MAAM,UAAU,GAA4B;AAC1C,QAAA;AACE,YAAA,IAAI,EAAE,WAAW;AACjB,YAAA,KAAK,EAAE,kCAAkC;AACzC,YAAA,OAAO,EAAE,SAAS;AAClB,YAAA,MAAM,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,cAAc,CAAC,OAAO,CAAC,WAAW,EAAE,E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platform/framework-shared/core';
|
|
2
2
|
import { AXPEntityCommandScope, AXPEntityQueryType, createAllQueryView, createQueryView } from '@acorex-platform/framework-shared/entity';
|
|
3
3
|
import { A as AXMSystemInsightCommandKeys } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-commands.keys-yv865ABJ.mjs';
|
|
4
|
-
import { A as AXMSystemInsightQueryKeys } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-
|
|
4
|
+
import { A as AXMSystemInsightQueryKeys } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-8eqBvMRF.mjs';
|
|
5
5
|
import { A as AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS, a as AXPSystemInsightSettings } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-settings.keys-CI-iHRBX.mjs';
|
|
6
|
-
import { R as RootConfig } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-
|
|
6
|
+
import { R as RootConfig } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-Bcovlxhp.mjs';
|
|
7
7
|
|
|
8
8
|
/** Registry key for Trace Timeline custom entity page (tab on TraceEntry). */
|
|
9
9
|
const TRACE_TIMELINE_PAGE_COMPONENT_KEY = 'trace-timeline-page';
|
|
@@ -232,9 +232,9 @@ async function traceEntryEntityFactory() {
|
|
|
232
232
|
{ name: 'hasError' },
|
|
233
233
|
{ name: 'tenantId' },
|
|
234
234
|
],
|
|
235
|
-
// list
|
|
236
|
-
// byKey tries Jaeger/runtime timeline first, then the same ES document as the list.
|
|
235
|
+
// list and byKey use runtime queries mapped from OTel-native Elasticsearch (or Jaeger/runtime via env).
|
|
237
236
|
queries: {
|
|
237
|
+
list: { execute: AXMSystemInsightQueryKeys.TraceEntry.List, type: AXPEntityQueryType.List },
|
|
238
238
|
byKey: { execute: AXMSystemInsightQueryKeys.TraceEntry.GetOne, type: AXPEntityQueryType.Single },
|
|
239
239
|
},
|
|
240
240
|
commands: {
|
|
@@ -298,7 +298,7 @@ async function traceEntryEntityFactory() {
|
|
|
298
298
|
conditions: [
|
|
299
299
|
{
|
|
300
300
|
name: 'duration',
|
|
301
|
-
operator: { type: '
|
|
301
|
+
operator: { type: 'gte' },
|
|
302
302
|
value: slowRequestThresholdMs,
|
|
303
303
|
},
|
|
304
304
|
],
|
|
@@ -339,4 +339,4 @@ async function traceEntryEntityFactory() {
|
|
|
339
339
|
}
|
|
340
340
|
|
|
341
341
|
export { traceEntryEntityFactory };
|
|
342
|
-
//# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-entry.entity-
|
|
342
|
+
//# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-entry.entity-D3HM0Fbw.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-entry.entity-D3HM0Fbw.mjs","sources":["../../../../libs/modules/system-insight/contracts/src/trace-timeline-page.component-key.ts","../../../../libs/modules/system-insight/contracts/src/entities/trace-entry/trace-entry.entity.ts"],"sourcesContent":["/** Registry key for Trace Timeline custom entity page (tab on TraceEntry). */\r\nexport const TRACE_TIMELINE_PAGE_COMPONENT_KEY = 'trace-timeline-page';\r\n\r\n/** Registry key for Trace Flow chart custom entity page (tab on TraceEntry). */\r\nexport const TRACE_FLOW_PAGE_COMPONENT_KEY = 'trace-flow-page';\r\n","import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n AXPEntityCommandScope,\n AXPEntityQueryType,\n createAllQueryView,\n createQueryView,\n} from '@acorex-platform/framework-shared/entity';\nimport { AXMSystemInsightCommandKeys } from '../../commands.keys';\nimport { AXMSystemInsightQueryKeys } from '../../queries.keys';\nimport {\n AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS,\n AXPSystemInsightSettings,\n} from '../../settings.keys';\nimport {\n TRACE_FLOW_PAGE_COMPONENT_KEY,\n TRACE_TIMELINE_PAGE_COMPONENT_KEY,\n} from '../../trace-timeline-page.component-key';\nimport { RootConfig } from '../../root-config';\n\nconst slowRequestThresholdMs =\n AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS[AXPSystemInsightSettings.SlowRequestThresholdMs];\n\nconst listFieldOptions = {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n sort: { enabled: true },\n};\n\nconst booleanFieldOptions = {\n filter: { inline: { enabled: false }, advance: { enabled: true } },\n sort: { enabled: true },\n};\n\nconst readOnlyField = {\n readonly: true,\n nullable: true,\n} as const;\n\nconst readOnlyCrud = async () => {\n throw new Error('Observability data is read-only');\n};\n\nconst col = (name: string, colSpan = 6) => ({\n name,\n layout: { positions: { lg: { colSpan } } },\n});\n\nexport async function traceEntryEntityFactory(): Promise<AXPEntity> {\n const i18n = RootConfig.config.i18n;\n\n const properties: AXPEntity['properties'] = [\n {\n name: 'id',\n title: '@system-insight:fields.id',\n groupId: 'general',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n visible: false,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: { filter: { inline: { enabled: false }, advance: { enabled: true } }, sort: { enabled: true } },\n },\n {\n name: 'traceId',\n title: '@system-insight:fields.trace-id',\n groupId: 'general',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'kind',\n title: '@system-insight:fields.kind',\n groupId: 'general',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'operation',\n title: '@system-insight:fields.operation',\n groupId: 'general',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'rootServiceName',\n title: '@system-insight:fields.service-name',\n groupId: 'general',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'module',\n title: '@system-insight:fields.module',\n groupId: 'general',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'entityName',\n title: '@system-insight:fields.entity',\n groupId: 'general',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'startTime',\n title: '@system-insight:fields.start-time',\n groupId: 'general',\n schema: {\n dataType: 'datetime',\n ...readOnlyField,\n interface: {\n type: AXPWidgetsList.Editors.DateTimeBox,\n options: { type: 'datetime', readonly: true, disabled: true },\n },\n },\n options: listFieldOptions,\n },\n {\n name: 'duration',\n title: '@system-insight:fields.duration',\n groupId: 'general',\n schema: {\n dataType: 'number',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.NumberBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'spanCount',\n title: '@system-insight:fields.span-count',\n groupId: 'general',\n schema: {\n dataType: 'number',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.NumberBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'status',\n title: '@system-insight:fields.status',\n groupId: 'general',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'hasError',\n title: '@system-insight:fields.has-error',\n groupId: 'general',\n schema: {\n dataType: 'boolean',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.ToggleSwitch, options: { readonly: true, disabled: true } },\n },\n options: booleanFieldOptions,\n },\n {\n name: 'tenantId',\n title: '@system-insight:fields.tenant-id',\n groupId: 'general',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'TenantManagement.Tenant',\n textField: 'title',\n valueField: 'id',\n look: 'select',\n readonly: true,\n disabled: true,\n },\n },\n },\n options: listFieldOptions,\n },\n {\n name: 'applicationId',\n title: '@system-insight:fields.application-id',\n groupId: 'general',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n visible: false,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: { filter: { inline: { enabled: false }, advance: { enabled: true } }, sort: { enabled: true } },\n },\n ];\n\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.traceEntry.name,\n title: RootConfig.entities.traceEntry.title,\n icon: RootConfig.entities.traceEntry.icon,\n formats: {\n individual: RootConfig.entities.traceEntry.title,\n plural: RootConfig.entities.traceEntry.titlePlural,\n searchResult: {\n title: '{{ operation || rootOperation }}',\n description: RootConfig.entities.traceEntry.title,\n },\n },\n groups: [{ id: 'general', title: `@${i18n}:groups.general` }],\n plugins: [\n { name: 'trace', options: { enabled: false } },\n { name: 'log', options: { enabled: false } },\n ],\n properties,\n columns: [\n { name: 'startTime' },\n { name: 'kind' },\n { name: 'operation' },\n { name: 'rootServiceName' },\n { name: 'duration' },\n { name: 'spanCount' },\n { name: 'hasError' },\n { name: 'tenantId' },\n ],\n // list and byKey use runtime queries mapped from OTel-native Elasticsearch (or Jaeger/runtime via env).\n queries: {\n list: { execute: AXMSystemInsightQueryKeys.TraceEntry.List, type: AXPEntityQueryType.List },\n byKey: { execute: AXMSystemInsightQueryKeys.TraceEntry.GetOne, type: AXPEntityQueryType.Single },\n },\n commands: {\n create: { execute: readOnlyCrud },\n update: { execute: readOnlyCrud },\n delete: { execute: readOnlyCrud },\n },\n pages: [\n {\n componentKey: TRACE_TIMELINE_PAGE_COMPONENT_KEY,\n title: `@${i18n}:pages.trace-timeline.title`,\n icon: 'fa-light fa-chart-gantt',\n layout: { order: 1, position: 'after' },\n },\n {\n componentKey: TRACE_FLOW_PAGE_COMPONENT_KEY,\n title: `@${i18n}:pages.trace-flow.title`,\n icon: 'fa-light fa-diagram-project',\n layout: { order: 2, position: 'after' },\n },\n ],\n interfaces: {\n master: {\n list: {\n actions: [\n {\n title: '@general:actions.detail.title',\n icon: 'fa-light fa-eye',\n command: 'Entity:OpenDetails',\n priority: 'primary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n default: true,\n },\n {\n title: `@${i18n}:actions.view-timeline.title`,\n command: AXMSystemInsightCommandKeys.Trace.OpenTimeline,\n priority: 'secondary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n hidden: `{{ !context.eval(\"traceId\") }}`,\n },\n ],\n views: [\n createAllQueryView({\n sorts: [{ name: 'startTime', dir: 'desc' }],\n }),\n createQueryView('command', `@${i18n}:entities.trace-entry.views.command.title`, true, {\n conditions: [{ name: 'kind', operator: { type: 'equal' }, value: 'command' }],\n sorts: [{ name: 'startTime', dir: 'desc' }],\n }),\n createQueryView('query', `@${i18n}:entities.trace-entry.views.query.title`, true, {\n conditions: [{ name: 'kind', operator: { type: 'equal' }, value: 'query' }],\n sorts: [{ name: 'startTime', dir: 'desc' }],\n }),\n createQueryView('entity', `@${i18n}:entities.trace-entry.views.entity.title`, true, {\n conditions: [{ name: 'kind', operator: { type: 'equal' }, value: 'entity' }],\n sorts: [{ name: 'startTime', dir: 'desc' }],\n }),\n createQueryView('slow', `@${i18n}:entities.trace-entry.views.slow.title`, true, {\n conditions: [\n {\n name: 'duration',\n operator: { type: 'gte' },\n value: slowRequestThresholdMs,\n },\n ],\n sorts: [{ name: 'startTime', dir: 'desc' }],\n }),\n createQueryView('error', `@${i18n}:entities.trace-entry.views.error.title`, true, {\n conditions: [{ name: 'hasError', operator: { type: 'equal' }, value: true }],\n sorts: [{ name: 'startTime', dir: 'desc' }],\n }),\n ],\n },\n single: {\n title: '{{ operation || rootOperation }}',\n sections: [{ id: 'general' }],\n properties: [\n col('traceId', 12),\n col('kind'),\n col('operation'),\n col('rootServiceName'),\n col('module'),\n col('entityName'),\n col('startTime'),\n col('duration'),\n col('spanCount'),\n col('status'),\n col('hasError'),\n col('tenantId'),\n ],\n actions: [],\n },\n update: {\n sections: [],\n properties: [],\n },\n },\n },\n };\n}\n"],"names":[],"mappings":";;;;;;;AAAA;AACO,MAAM,iCAAiC,GAAG,qBAAqB;AAEtE;AACO,MAAM,6BAA6B,GAAG,iBAAiB;;ACgB9D,MAAM,sBAAsB,GAC1B,mCAAmC,CAAC,wBAAwB,CAAC,sBAAsB,CAAC;AAEtF,MAAM,gBAAgB,GAAG;AACvB,IAAA,MAAM,EAAE,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;AACjE,IAAA,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;CACxB;AAED,MAAM,mBAAmB,GAAG;AAC1B,IAAA,MAAM,EAAE,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;AAClE,IAAA,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;CACxB;AAED,MAAM,aAAa,GAAG;AACpB,IAAA,QAAQ,EAAE,IAAI;AACd,IAAA,QAAQ,EAAE,IAAI;CACN;AAEV,MAAM,YAAY,GAAG,YAAW;AAC9B,IAAA,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC;AACpD,CAAC;AAED,MAAM,GAAG,GAAG,CAAC,IAAY,EAAE,OAAO,GAAG,CAAC,MAAM;IAC1C,IAAI;IACJ,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;AAC3C,CAAA,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A,UAAU,EAAE;AACV,wBAAA,GAAG,CAAC,SAAS,EAAE,EAAE,CAAC;wBAClB,GAAG,CAAC,MAAM,CAAC;wBACX,GAAG,CAAC,WAAW,CAAC;wBAChB,GAAG,CAAC,iBAAiB,CAAC;wBACtB,GAAG,CAAC,QAAQ,CAAC;wBACb,GAAG,CAAC,YAAY,CAAC;wBACjB,GAAG,CAAC,WAAW,CAAC;wBAChB,GAAG,CAAC,UAAU,CAAC;wBACf,GAAG,CAAC,WAAW,CAAC;wBAChB,GAAG,CAAC,QAAQ,CAAC;wBACb,GAAG,CAAC,UAAU,CAAC;wBACf,GAAG,CAAC,UAAU,CAAC;AAChB,qBAAA;AACD,oBAAA,OAAO,EAAE,EAAE;AACZ,iBAAA;AACD,gBAAA,MAAM,EAAE;AACN,oBAAA,QAAQ,EAAE,EAAE;AACZ,oBAAA,UAAU,EAAE,EAAE;AACf,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AACH;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
|
|
2
2
|
import { AXPEntityCommandScope, AXPEntityQueryType, createAllQueryView } from '@acorex-platform/framework-shared/entity';
|
|
3
3
|
import { A as AXMSystemInsightCommandKeys } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-commands.keys-yv865ABJ.mjs';
|
|
4
|
-
import { A as AXMSystemInsightQueryKeys } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-
|
|
5
|
-
import { R as RootConfig } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-
|
|
4
|
+
import { A as AXMSystemInsightQueryKeys } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-8eqBvMRF.mjs';
|
|
5
|
+
import { R as RootConfig } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-Bcovlxhp.mjs';
|
|
6
6
|
|
|
7
7
|
const listFieldOptions = {
|
|
8
8
|
filter: { inline: { enabled: true }, advance: { enabled: true } },
|
|
@@ -69,6 +69,19 @@ async function traceSpanEntityFactory() {
|
|
|
69
69
|
name: RootConfig.entities.traceSpan.name,
|
|
70
70
|
title: RootConfig.entities.traceSpan.title,
|
|
71
71
|
icon: RootConfig.entities.traceSpan.icon,
|
|
72
|
+
searchTags: [
|
|
73
|
+
'span',
|
|
74
|
+
'trace-span',
|
|
75
|
+
'distributed-tracing',
|
|
76
|
+
'trace',
|
|
77
|
+
'operation',
|
|
78
|
+
'duration',
|
|
79
|
+
'observability',
|
|
80
|
+
'system-insight',
|
|
81
|
+
'Span',
|
|
82
|
+
'Trace',
|
|
83
|
+
'بینش سیستم',
|
|
84
|
+
],
|
|
72
85
|
formats: {
|
|
73
86
|
individual: RootConfig.entities.traceSpan.title,
|
|
74
87
|
plural: RootConfig.entities.traceSpan.titlePlural,
|
|
@@ -78,6 +91,10 @@ async function traceSpanEntityFactory() {
|
|
|
78
91
|
},
|
|
79
92
|
},
|
|
80
93
|
groups: [{ id: 'general', title: `@${i18n}:groups.general` }],
|
|
94
|
+
plugins: [
|
|
95
|
+
{ name: 'trace', options: { enabled: false } },
|
|
96
|
+
{ name: 'log', options: { enabled: false } },
|
|
97
|
+
],
|
|
81
98
|
properties,
|
|
82
99
|
columns: [
|
|
83
100
|
{ name: 'startTime' },
|
|
@@ -139,4 +156,4 @@ async function traceSpanEntityFactory() {
|
|
|
139
156
|
}
|
|
140
157
|
|
|
141
158
|
export { traceSpanEntityFactory };
|
|
142
|
-
//# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-span.entity-
|
|
159
|
+
//# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-span.entity-DqvCcxQO.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-span.entity-DqvCcxQO.mjs","sources":["../../../../libs/modules/system-insight/contracts/src/entities/trace-span/trace-span.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n AXPEntityCommandScope,\n AXPEntityQueryType,\n createAllQueryView,\n} from '@acorex-platform/framework-shared/entity';\nimport { AXMSystemInsightCommandKeys } from '../../commands.keys';\nimport { AXMSystemInsightQueryKeys } from '../../queries.keys';\nimport { RootConfig } from '../../root-config';\n\nconst listFieldOptions = {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n sort: { enabled: true },\n};\n\nconst readOnlyCrud = async () => {\n throw new Error('Observability data is read-only');\n};\n\nexport async function traceSpanEntityFactory(): Promise<AXPEntity> {\n const i18n = RootConfig.config.i18n;\n\n const properties: AXPEntity['properties'] = [\n {\n name: 'spanId',\n title: '@system-insight:fields.span-id',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'traceId',\n title: '@system-insight:fields.trace-id',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'operationName',\n title: '@system-insight:fields.operation',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'serviceName',\n title: '@system-insight:fields.service-name',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'startTime',\n title: '@system-insight:fields.start-time',\n groupId: 'general',\n schema: { dataType: 'date', interface: { type: AXPWidgetsList.Editors.DateTimeBox } },\n options: listFieldOptions,\n },\n {\n name: 'duration',\n title: '@system-insight:fields.duration',\n groupId: 'general',\n schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } },\n options: listFieldOptions,\n },\n {\n name: 'status',\n title: '@system-insight:fields.status',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n ];\n\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.traceSpan.name,\n title: RootConfig.entities.traceSpan.title,\n icon: RootConfig.entities.traceSpan.icon,\n searchTags: [\n 'span',\n 'trace-span',\n 'distributed-tracing',\n 'trace',\n 'operation',\n 'duration',\n 'observability',\n 'system-insight',\n 'Span',\n 'Trace',\n 'بینش سیستم',\n ],\n formats: {\n individual: RootConfig.entities.traceSpan.title,\n plural: RootConfig.entities.traceSpan.titlePlural,\n searchResult: {\n title: '{{ operationName }}',\n description: RootConfig.entities.traceSpan.title,\n },\n },\n groups: [{ id: 'general', title: `@${i18n}:groups.general` }],\n plugins: [\n { name: 'trace', options: { enabled: false } },\n { name: 'log', options: { enabled: false } },\n ],\n properties,\n columns: [\n { name: 'startTime' },\n { name: 'operationName' },\n { name: 'serviceName' },\n { name: 'duration' },\n { name: 'status' },\n ],\n queries: {\n list: { execute: AXMSystemInsightQueryKeys.TraceSpan.List, type: AXPEntityQueryType.List },\n byKey: { execute: AXMSystemInsightQueryKeys.TraceSpan.GetOne, type: AXPEntityQueryType.Single },\n },\n commands: {\n create: { execute: readOnlyCrud },\n update: { execute: readOnlyCrud },\n delete: { execute: readOnlyCrud },\n },\n interfaces: {\n master: {\n list: {\n actions: [\n {\n title: '@general:actions.detail.title',\n icon: 'fa-light fa-eye',\n command: 'Entity:View',\n priority: 'primary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n default: true,\n },\n ],\n views: [\n createAllQueryView({\n sorts: [{ name: 'startTime', dir: 'desc' }],\n }),\n ],\n },\n single: {\n title: '{{ operationName }}',\n sections: [{ id: 'general' }],\n properties: properties.map((property) => ({\n name: property.name,\n layout: { positions: { lg: { colSpan: 6 } } },\n })),\n actions: [\n {\n title: `@${i18n}:actions.view-trace.title`,\n command: AXMSystemInsightCommandKeys.Trace.OpenTimeline,\n priority: 'secondary',\n type: 'view',\n scope: AXPE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AAC,GAAG,CAAC,CAAC,QAAQ,MAAM;wBACxC,IAAI,EAAE,QAAQ,CAAC,IAAI;AACnB,wBAAA,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE;AAC9C,qBAAA,CAAC,CAAC;AACH,oBAAA,OAAO,EAAE;AACP,wBAAA;4BACE,KAAK,EAAE,CAAA,CAAA,EAAI,IAAI,CAAA,yBAAA,CAA2B;AAC1C,4BAAA,OAAO,EAAE,2BAA2B,CAAC,KAAK,CAAC,YAAY;AACvD,4BAAA,QAAQ,EAAE,WAAW;AACrB,4BAAA,IAAI,EAAE,MAAM;4BACZ,KAAK,EAAE,qBAAqB,CAAC,UAAU;AACvC,4BAAA,MAAM,EAAE,CAAA,8BAAA,CAAgC;AACzC,yBAAA;AACF,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AACH;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { s as systemInsightLocalEntityCatalog } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-
|
|
1
|
+
export { s as systemInsightLocalEntityCatalog } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-Bcovlxhp.mjs';
|
|
2
2
|
//# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entity-catalog.mjs.map
|
|
@@ -124,7 +124,7 @@ const AXMSystemInsightQueryKeys = {
|
|
|
124
124
|
GetOne: 'SystemInsight:TraceSpan:GetOne',
|
|
125
125
|
},
|
|
126
126
|
TraceTimeline: {
|
|
127
|
-
Get: 'SystemInsight:
|
|
127
|
+
Get: 'SystemInsight:TraceEntry:GetTimeline',
|
|
128
128
|
},
|
|
129
129
|
ErrorEvent: {
|
|
130
130
|
List: 'SystemInsight:ErrorEvent:List',
|
|
@@ -278,6 +278,26 @@ const RootConfig = {
|
|
|
278
278
|
},
|
|
279
279
|
};
|
|
280
280
|
|
|
281
|
+
//#region ---- Imports ----
|
|
282
|
+
//#endregion
|
|
283
|
+
//#region ---- Manifest Definition ----
|
|
284
|
+
/**
|
|
285
|
+
* System Insight Module Manifest.
|
|
286
|
+
* Defines module metadata, features, and provider references.
|
|
287
|
+
*/
|
|
288
|
+
const SystemInsightManifest = {
|
|
289
|
+
name: RootConfig.module.name,
|
|
290
|
+
version: '1.0.0',
|
|
291
|
+
title: RootConfig.module.title,
|
|
292
|
+
icon: RootConfig.module.icon,
|
|
293
|
+
i18n: RootConfig.config.i18n,
|
|
294
|
+
type: 'platform',
|
|
295
|
+
domain: 'platform',
|
|
296
|
+
// Module dependencies
|
|
297
|
+
dependencies: ['ReportManagement'],
|
|
298
|
+
};
|
|
299
|
+
//#endregion
|
|
300
|
+
|
|
281
301
|
/** Registry key for Trace Timeline custom entity page (tab on TraceEntry). */
|
|
282
302
|
const TRACE_TIMELINE_PAGE_COMPONENT_KEY = 'trace-timeline-page';
|
|
283
303
|
/** Registry key for Trace Flow chart custom entity page (tab on TraceEntry). */
|
|
@@ -289,5 +309,5 @@ const TRACE_FLOW_PAGE_COMPONENT_KEY = 'trace-flow-page';
|
|
|
289
309
|
* Generated bundle index. Do not edit.
|
|
290
310
|
*/
|
|
291
311
|
|
|
292
|
-
export { AXMSystemInsightCommandKeys, AXMSystemInsightMenuKeys, AXMSystemInsightPermissionKeys, AXMSystemInsightQueryKeys, AXPAdministrationPermissionKeys, AXPSystemInsightServerCommands, AXPSystemInsightSettings, AXP_SYSTEM_INSIGHT_RETENTION_PURGE_COMMAND_KEY, AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS, RootConfig, TRACE_FLOW_PAGE_COMPONENT_KEY, TRACE_TIMELINE_PAGE_COMPONENT_KEY };
|
|
312
|
+
export { AXMSystemInsightCommandKeys, AXMSystemInsightMenuKeys, AXMSystemInsightPermissionKeys, AXMSystemInsightQueryKeys, AXPAdministrationPermissionKeys, AXPSystemInsightServerCommands, AXPSystemInsightSettings, AXP_SYSTEM_INSIGHT_RETENTION_PURGE_COMMAND_KEY, AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS, RootConfig, SystemInsightManifest, TRACE_FLOW_PAGE_COMPONENT_KEY, TRACE_TIMELINE_PAGE_COMPONENT_KEY };
|
|
293
313
|
//# sourceMappingURL=acorex-platform-module-system-insight-client-contracts.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-system-insight-client-contracts.mjs","sources":["../../../../libs/modules/system-insight/contracts/src/menu.keys.ts","../../../../libs/modules/system-insight/contracts/src/permission.keys.ts","../../../../libs/modules/system-insight/contracts/src/settings.keys.ts","../../../../libs/modules/system-insight/contracts/src/server-commands.ts","../../../../libs/modules/system-insight/contracts/src/queries.keys.ts","../../../../libs/modules/system-insight/contracts/src/commands.keys.ts","../../../../libs/modules/system-insight/contracts/src/dto/scope-context.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/system-insight-paged.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/log-entry.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/trace.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/metric.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/error-event.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/saved-view.dto.ts","../../../../libs/modules/system-insight/contracts/src/root-config.ts","../../../../libs/modules/system-insight/contracts/src/trace-timeline-page.component-key.ts","../../../../libs/modules/system-insight/contracts/src/index.ts","../../../../libs/modules/system-insight/contracts/src/acorex-platform-module-system-insight-client-contracts.ts"],"sourcesContent":["export const AXMSystemInsightMenuKeys = {\n Root: 'SystemInsight:Menu',\n Logs: 'SystemInsight:Menu:Logs',\n Traces: 'SystemInsight:Menu:Traces',\n Errors: 'SystemInsight:Menu:Errors',\n SlowRequests: 'SystemInsight:Menu:SlowRequests',\n Metrics: 'SystemInsight:Menu:Metrics',\n AlertRules: 'SystemInsight:Menu:AlertRules',\n SavedViews: 'SystemInsight:Menu:SavedViews',\n DataSources: 'SystemInsight:Menu:DataSources',\n RetentionPolicies: 'SystemInsight:Menu:RetentionPolicies',\n AuditLog: 'SystemInsight:Menu:AuditLog',\n} as const;\n","/**\n * Administration capabilities used by this module.\n * Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).\n */\nexport const AXPAdministrationPermissionKeys = {\n Access: 'Administration:Permission:Access',\n MaintainUsersAndRoles: 'Administration:Permission:MaintainUsersAndRoles',\n ManageSessions: 'Administration:Permission:ManageSessions',\n MaintainPolicies: 'Administration:Permission:MaintainPolicies',\n ViewIntegrations: 'Administration:Permission:ViewIntegrations',\n MaintainConnections: 'Administration:Permission:MaintainConnections',\n MaintainWorkflows: 'Administration:Permission:MaintainWorkflows',\n ManageWorkflowActions: 'Administration:Permission:ManageWorkflowActions',\n ViewRules: 'Administration:Permission:ViewRules',\n MaintainRules: 'Administration:Permission:MaintainRules',\n ManageRuleActions: 'Administration:Permission:ManageRuleActions',\n MaintainAi: 'Administration:Permission:MaintainAi',\n UseAiAssist: 'Administration:Permission:UseAiAssist',\n MaintainDashboards: 'Administration:Permission:MaintainDashboards',\n ViewJobs: 'Administration:Permission:ViewJobs',\n ManageJobActions: 'Administration:Permission:ManageJobActions',\n ViewObservability: 'Administration:Permission:ViewObservability',\n MaintainObservability: 'Administration:Permission:MaintainObservability',\n} as const;\n\n/**\n * @deprecated Prefer {@link AXPAdministrationPermissionKeys}.\n * Legacy nested shape kept so existing imports compile during migration.\n */\nexport const AXMSystemInsightPermissionKeys = {\n SystemInsight: {\n Logs: { View: AXPAdministrationPermissionKeys.ViewObservability },\n Traces: { View: AXPAdministrationPermissionKeys.ViewObservability },\n Metrics: { View: AXPAdministrationPermissionKeys.ViewObservability },\n Errors: { View: AXPAdministrationPermissionKeys.ViewObservability },\n Alerts: { Manage: AXPAdministrationPermissionKeys.MaintainObservability },\n SavedViews: { Manage: AXPAdministrationPermissionKeys.MaintainObservability },\n Admin: AXPAdministrationPermissionKeys.MaintainObservability,\n Management: AXPAdministrationPermissionKeys.MaintainObservability,\n AuditLog: {\n Management: AXPAdministrationPermissionKeys.MaintainObservability,\n },\n },\n} as const;\n","export enum AXPSystemInsightSettings {\n //#region ---- Retention Settings ----\n\n RetentionEnabled = 'SystemInsight:Setting:Retention.Enabled',\n RetentionPeriod = 'SystemInsight:Setting:Retention.Period',\n RetentionBatchSize = 'SystemInsight:Setting:Retention.BatchSize',\n RetentionPurgeCron = 'SystemInsight:Setting:Retention.PurgeCron',\n\n //#endregion\n\n //#region ---- Critical Error File Fallback ----\n\n StorageLocation = 'SystemInsight:Setting:Storage.Location',\n CriticalErrorFileEnabled = 'SystemInsight:Setting:Storage.CriticalErrorFileEnabled',\n\n //#endregion\n\n //#region ---- Log Level Settings ----\n\n DefaultLogLevel = 'SystemInsight:Setting:Level.Default',\n\n //#endregion\n\n //#region ---- Performance Settings ----\n\n AsyncLogging = 'SystemInsight:Setting:Performance.AsyncEnabled',\n BatchSize = 'SystemInsight:Setting:Performance.BatchSize',\n FlushInterval = 'SystemInsight:Setting:Performance.FlushInterval',\n SlowRequestThresholdMs = 'SystemInsight:Setting:Performance.SlowRequestThresholdMs',\n\n //#endregion\n}\n\nexport const AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS = {\n [AXPSystemInsightSettings.RetentionEnabled]: true,\n [AXPSystemInsightSettings.RetentionPeriod]: 30,\n [AXPSystemInsightSettings.RetentionBatchSize]: 500,\n [AXPSystemInsightSettings.RetentionPurgeCron]: '0 4 * * *',\n [AXPSystemInsightSettings.StorageLocation]: './logs/acorex',\n [AXPSystemInsightSettings.CriticalErrorFileEnabled]: true,\n [AXPSystemInsightSettings.DefaultLogLevel]: 'info',\n [AXPSystemInsightSettings.AsyncLogging]: true,\n [AXPSystemInsightSettings.BatchSize]: 100,\n [AXPSystemInsightSettings.FlushInterval]: 5000,\n [AXPSystemInsightSettings.SlowRequestThresholdMs]: 500,\n} as const;\n","//#region ---- System Insight server commands ----\n\nexport const AXPSystemInsightServerCommands = {\n RetentionPurge: 'system-insight.retention.purge',\n} as const;\n\n/** Stable scope key for the platform log retention purge schedule. */\nexport const AXP_SYSTEM_INSIGHT_RETENTION_PURGE_COMMAND_KEY = AXPSystemInsightServerCommands.RetentionPurge;\n\n//#endregion\n","//#region ---- Query Keys ----\n\nexport const AXMSystemInsightQueryKeys = {\n LogEntry: {\n List: 'SystemInsight:LogEntry:List',\n GetOne: 'SystemInsight:LogEntry:GetOne',\n Aggregate: 'SystemInsight:LogEntry:Aggregate',\n },\n HttpRequestLog: {\n List: 'SystemInsight:HttpRequestLog:List',\n GetOne: 'SystemInsight:HttpRequestLog:GetOne',\n },\n JobExecutionLog: {\n List: 'SystemInsight:JobExecutionLog:List',\n GetOne: 'SystemInsight:JobExecutionLog:GetOne',\n },\n TraceEntry: {\n List: 'SystemInsight:TraceEntry:List',\n GetOne: 'SystemInsight:TraceEntry:GetOne',\n },\n TraceSpan: {\n List: 'SystemInsight:TraceSpan:List',\n GetOne: 'SystemInsight:TraceSpan:GetOne',\n },\n TraceTimeline: {\n Get: 'SystemInsight:TraceTimeline:Get',\n },\n ErrorEvent: {\n List: 'SystemInsight:ErrorEvent:List',\n GetOne: 'SystemInsight:ErrorEvent:GetOne',\n Aggregate: 'SystemInsight:ErrorEvent:Aggregate',\n },\n SlowRequest: {\n List: 'SystemInsight:SlowRequest:List',\n GetOne: 'SystemInsight:SlowRequest:GetOne',\n },\n MetricPoint: {\n List: 'SystemInsight:MetricPoint:List',\n GetOne: 'SystemInsight:MetricPoint:GetOne',\n Range: 'SystemInsight:MetricPoint:Range',\n },\n} as const;\n\n//#endregion\n","//#region ---- Command Keys ----\n\nexport const AXMSystemInsightCommandKeys = {\n LogEntry: {\n Export: 'SystemInsight:LogEntry:Export',\n Clear: 'SystemInsight:LogEntry:Clear',\n },\n AlertRule: {\n CreateFromFilter: 'SystemInsight:AlertRule:CreateFromFilter',\n },\n Notification: {\n SendAlert: 'SystemInsight:Notification:SendAlert',\n },\n Trace: {\n OpenTimeline: 'SystemInsight:Trace:OpenTimeline',\n },\n} as const;\n\n//#endregion\n","//#region ---- Scope context ----\n\nexport interface SystemInsightScopeContext {\n tenantId?: string;\n applicationId?: string;\n userId?: string;\n}\n\n//#endregion\n","//#region ---- Paged results ----\n\nexport interface SystemInsightPagedResult<T> {\n items: T[];\n total: number;\n cursor?: string;\n}\n\nexport interface SystemInsightAggregateBucket {\n key: string;\n count: number;\n}\n\nexport interface SystemInsightAggregateResult {\n buckets: SystemInsightAggregateBucket[];\n total: number;\n}\n\nexport interface SystemInsightExportResult {\n downloadUrl?: string;\n contentType: string;\n fileName: string;\n data?: string;\n}\n\nexport interface SystemInsightClearResult {\n deleted: number;\n}\n\n//#endregion\n","import type { SystemInsightScopeContext } from './scope-context.dto';\n\n//#region ---- Log DTOs ----\n\nexport interface LogEntryDto {\n id: string;\n /** Event time (OTel Timestamp). */\n timestamp: string;\n /** Severity text (OTel SeverityText). */\n level: string;\n /** OTel SeverityNumber (TRACE=1 … FATAL=21). */\n severityNumber?: number;\n /** Log body (OTel Body). */\n message: string;\n serviceName?: string;\n requestId?: string;\n traceId?: string;\n spanId?: string;\n userId?: string;\n tenantId?: string;\n applicationId?: string;\n module?: string;\n entity?: string;\n operation?: string;\n method?: string;\n url?: string;\n statusCode?: number;\n duration?: number;\n /** Additional attributes (OTel Attributes). */\n properties?: Record<string, unknown>;\n source?: string;\n}\n\nexport interface HttpRequestLogDto extends LogEntryDto {\n method?: string;\n url?: string;\n statusCode?: number;\n duration?: number;\n userAgent?: string;\n clientIp?: string;\n}\n\nexport interface JobExecutionLogDto extends LogEntryDto {\n jobId?: string;\n jobName?: string;\n status?: string;\n startedAt?: string;\n finishedAt?: string;\n duration?: number;\n error?: string;\n}\n\nexport interface SystemInsightLogQueryDto extends SystemInsightScopeContext {\n from?: string;\n to?: string;\n skip?: number;\n take?: number;\n cursor?: string;\n levels?: string[];\n serviceName?: string;\n requestId?: string;\n traceId?: string;\n spanId?: string;\n module?: string;\n entity?: string;\n operation?: string;\n quickSearch?: string;\n hasHttpAccess?: boolean;\n minDuration?: number;\n filter?: unknown;\n sort?: unknown;\n /** Entity-list operators keyed by field (`contains`, `equal`, …). */\n fieldOperators?: Record<string, string>;\n}\n\nexport interface SystemInsightAggregateQueryDto extends SystemInsightLogQueryDto {\n groupBy: string;\n}\n\n//#endregion\n","import type { SystemInsightScopeContext } from './scope-context.dto';\r\n\r\n//#region ---- Trace DTOs ----\r\n\r\nexport type TraceKind = 'command' | 'query' | 'entity' | 'http' | 'custom';\r\n\r\nexport type TraceSpanKind = 'op' | 'middleware' | 'backend' | 'handler';\r\n\r\nexport interface TraceEntryDto {\r\n id: string;\r\n traceId: string;\r\n kind?: TraceKind;\r\n operation?: string;\r\n /** @deprecated Prefer operation — kept for older Jaeger-mapped rows. */\r\n rootOperation?: string;\r\n rootServiceName?: string;\r\n serviceName?: string;\r\n module?: string;\r\n entityName?: string;\r\n startTime: string;\r\n duration: number;\r\n status?: string;\r\n spanCount?: number;\r\n hasError?: boolean;\r\n requestId?: string;\r\n tenantId?: string;\r\n applicationId?: string;\r\n userId?: string;\r\n hasAi?: boolean;\r\n aiModel?: string;\r\n aiInputTokens?: number;\r\n aiOutputTokens?: number;\r\n}\r\n\r\nexport interface TraceSpanDto {\r\n id: string;\r\n spanId: string;\r\n traceId: string;\r\n parentSpanId?: string;\r\n operationName: string;\r\n serviceName?: string;\r\n spanKind?: TraceSpanKind;\r\n startTime: string;\r\n duration: number;\r\n status?: string;\r\n middlewareName?: string;\r\n order?: number;\r\n nextMiddleware?: string;\r\n input?: unknown;\r\n output?: unknown;\r\n error?: string;\r\n tags?: Record<string, unknown>;\r\n logs?: Array<Record<string, unknown>>;\r\n}\r\n\r\nexport interface TraceTimelineDto {\r\n traceId: string;\r\n kind?: TraceKind;\r\n operation?: string;\r\n spans: TraceSpanDto[];\r\n startTime: string;\r\n duration: number;\r\n services: string[];\r\n hasError?: boolean;\r\n module?: string;\r\n entityName?: string;\r\n requestId?: string;\r\n tenantId?: string;\r\n applicationId?: string;\r\n hasAi?: boolean;\r\n aiModel?: string;\r\n aiInputTokens?: number;\r\n aiOutputTokens?: number;\r\n}\r\n\r\nexport interface SystemInsightTraceQueryDto extends SystemInsightScopeContext {\r\n from?: string;\r\n to?: string;\r\n skip?: number;\r\n take?: number;\r\n serviceName?: string;\r\n traceId?: string;\r\n kind?: TraceKind | TraceKind[];\r\n operation?: string;\r\n module?: string;\r\n entityName?: string;\r\n hasError?: boolean;\r\n /** Minimum root trace duration in milliseconds (slow traces). */\r\n minDuration?: number;\r\n quickSearch?: string;\r\n requestId?: string;\r\n /** Entity-list operators keyed by field (`contains`, `equal`, …). */\r\n fieldOperators?: Record<string, string>;\r\n}\r\n\r\n//#endregion\r\n","import type { SystemInsightScopeContext } from './scope-context.dto';\n\n//#region ---- Metric DTOs ----\n\nexport type SystemInsightMetricType = 'counter' | 'gauge' | 'histogram';\n\nexport interface MetricPointDto {\n id: string;\n name: string;\n labels?: Record<string, string>;\n timestamp: string;\n value: number;\n type: SystemInsightMetricType;\n}\n\nexport interface SystemInsightMetricQueryDto extends SystemInsightScopeContext {\n from?: string;\n to?: string;\n skip?: number;\n take?: number;\n names?: string[];\n serviceName?: string;\n step?: string;\n}\n\nexport interface SystemInsightMetricRangeResult {\n series: Array<{\n name: string;\n labels?: Record<string, string>;\n points: Array<{ timestamp: string; value: number }>;\n }>;\n}\n\n//#endregion\n","import type { SystemInsightScopeContext } from './scope-context.dto';\n\n//#region ---- Error / slow request DTOs ----\n\nexport interface ErrorEventDto {\n id: string;\n timestamp: string;\n errorType?: string;\n message: string;\n stackTrace?: string;\n serviceName?: string;\n traceId?: string;\n requestId?: string;\n userId?: string;\n tenantId?: string;\n fingerprint?: string;\n}\n\nexport interface SlowRequestDto {\n id: string;\n timestamp: string;\n method?: string;\n url?: string;\n duration: number;\n thresholdMs?: number;\n statusCode?: number;\n serviceName?: string;\n traceId?: string;\n requestId?: string;\n}\n\nexport interface SystemInsightErrorQueryDto extends SystemInsightScopeContext {\n from?: string;\n to?: string;\n skip?: number;\n take?: number;\n serviceName?: string;\n traceId?: string;\n requestId?: string;\n quickSearch?: string;\n}\n\nexport interface SystemInsightSlowRequestQueryDto extends SystemInsightErrorQueryDto {\n thresholdMs?: number;\n}\n\n//#endregion\n","//#region ---- Config entity DTOs ----\n\nexport interface SavedViewDto {\n id: string;\n title: string;\n description?: string;\n entityFullName: string;\n filter?: unknown;\n sorts?: unknown;\n columns?: unknown;\n timeRange?: { from?: string; to?: string };\n isDefault?: boolean;\n isShared?: boolean;\n ownerUserId?: string;\n tenantId?: string;\n}\n\nexport interface AlertRuleDto {\n id: string;\n name: string;\n enabled: boolean;\n entityFullName: string;\n condition?: unknown;\n threshold?: number;\n windowMinutes?: number;\n severity?: string;\n notificationChannels?: string[];\n lastTriggeredAt?: string;\n tenantId?: string;\n}\n\nexport interface ObservabilityDataSourceDto {\n id: string;\n name: string;\n type: 'logs' | 'traces' | 'metrics';\n provider: 'elasticsearch' | 'jaeger' | 'prometheus' | 'fake';\n connectionConfig?: Record<string, unknown>;\n isDefault?: boolean;\n tenantId?: string;\n}\n\nexport interface RetentionPolicyDto {\n id: string;\n dataType: 'logs' | 'traces' | 'metrics' | 'audit';\n retentionDays: number;\n enabled: boolean;\n tenantId?: string;\n applicationId?: string;\n}\n\nexport interface DashboardWidgetConfigDto {\n id: string;\n title: string;\n widgetType: string;\n query?: unknown;\n layout?: unknown;\n order?: number;\n dashboardKey: string;\n tenantId?: string;\n}\n\nexport interface CreateAlertFromFilterInput {\n name: string;\n entityFullName: string;\n filter?: unknown;\n threshold?: number;\n windowMinutes?: number;\n severity?: string;\n notificationChannels?: string[];\n}\n\n//#endregion\n","const config = {\n i18n: 'system-insight',\n};\n\nexport const RootConfig = {\n config,\n module: {\n route: 'system-insight',\n module: 'system-insight',\n name: 'SystemInsight',\n title: '@system-insight:module.title',\n icon: 'fa-light fa-monitor-waveform',\n },\n entities: {\n auditLog: {\n name: 'AuditLog',\n title: '@system-insight:logs.entities.audit-log.title',\n titlePlural: '@system-insight:logs.entities.audit-log.plural',\n icon: 'fa-light fa-file-code',\n },\n logEntry: {\n name: 'LogEntry',\n title: '@system-insight:entities.log-entry.title',\n titlePlural: '@system-insight:entities.log-entry.plural',\n icon: 'fa-light fa-file-lines',\n },\n httpRequestLog: {\n name: 'HttpRequestLog',\n title: '@system-insight:entities.http-request-log.title',\n titlePlural: '@system-insight:entities.http-request-log.plural',\n icon: 'fa-light fa-globe',\n },\n jobExecutionLog: {\n name: 'JobExecutionLog',\n title: '@system-insight:entities.job-execution-log.title',\n titlePlural: '@system-insight:entities.job-execution-log.plural',\n icon: 'fa-light fa-clock',\n },\n traceEntry: {\n name: 'TraceEntry',\n title: '@system-insight:entities.trace-entry.title',\n titlePlural: '@system-insight:entities.trace-entry.plural',\n icon: 'fa-light fa-route',\n },\n traceSpan: {\n name: 'TraceSpan',\n title: '@system-insight:entities.trace-span.title',\n titlePlural: '@system-insight:entities.trace-span.plural',\n icon: 'fa-light fa-diagram-project',\n },\n errorEvent: {\n name: 'ErrorEvent',\n title: '@system-insight:entities.error-event.title',\n titlePlural: '@system-insight:entities.error-event.plural',\n icon: 'fa-light fa-circle-exclamation',\n },\n slowRequest: {\n name: 'SlowRequest',\n title: '@system-insight:entities.slow-request.title',\n titlePlural: '@system-insight:entities.slow-request.plural',\n icon: 'fa-light fa-hourglass-half',\n },\n metricPoint: {\n name: 'MetricPoint',\n title: '@system-insight:entities.metric-point.title',\n titlePlural: '@system-insight:entities.metric-point.plural',\n icon: 'fa-light fa-chart-line',\n },\n savedView: {\n name: 'SavedView',\n title: '@system-insight:entities.saved-view.title',\n titlePlural: '@system-insight:entities.saved-view.plural',\n icon: 'fa-light fa-bookmark',\n },\n alertRule: {\n name: 'AlertRule',\n title: '@system-insight:entities.alert-rule.title',\n titlePlural: '@system-insight:entities.alert-rule.plural',\n icon: 'fa-light fa-bell',\n },\n observabilityDataSource: {\n name: 'ObservabilityDataSource',\n title: '@system-insight:entities.observability-data-source.title',\n titlePlural: '@system-insight:entities.observability-data-source.plural',\n icon: 'fa-light fa-database',\n },\n retentionPolicy: {\n name: 'RetentionPolicy',\n title: '@system-insight:entities.retention-policy.title',\n titlePlural: '@system-insight:entities.retention-policy.plural',\n icon: 'fa-light fa-calendar-clock',\n },\n dashboardWidgetConfig: {\n name: 'DashboardWidgetConfig',\n title: '@system-insight:entities.dashboard-widget-config.title',\n titlePlural: '@system-insight:entities.dashboard-widget-config.plural',\n icon: 'fa-light fa-grid-2',\n },\n },\n} as const;\n","/** Registry key for Trace Timeline custom entity page (tab on TraceEntry). */\r\nexport const TRACE_TIMELINE_PAGE_COMPONENT_KEY = 'trace-timeline-page';\r\n\r\n/** Registry key for Trace Flow chart custom entity page (tab on TraceEntry). */\r\nexport const TRACE_FLOW_PAGE_COMPONENT_KEY = 'trace-flow-page';\r\n","//#region ---- Contracts barrel ----\r\n\r\nexport * from './menu.keys';\r\nexport * from './permission.keys';\r\nexport * from './settings.keys';\r\nexport * from './server-commands';\r\nexport * from './queries.keys';\r\nexport * from './commands.keys';\r\nexport * from './dto';\r\n\r\nexport * from './root-config';\r\nexport * from './trace-timeline-page.component-key';\r\n\r\n//#endregion\r\n\r\nexport * from './entities';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAO,MAAM,wBAAwB,GAAG;AACtC,IAAA,IAAI,EAAE,oBAAoB;AAC1B,IAAA,IAAI,EAAE,yBAAyB;AAC/B,IAAA,MAAM,EAAE,2BAA2B;AACnC,IAAA,MAAM,EAAE,2BAA2B;AACnC,IAAA,YAAY,EAAE,iCAAiC;AAC/C,IAAA,OAAO,EAAE,4BAA4B;AACrC,IAAA,UAAU,EAAE,+BAA+B;AAC3C,IAAA,UAAU,EAAE,+BAA+B;AAC3C,IAAA,WAAW,EAAE,gCAAgC;AAC7C,IAAA,iBAAiB,EAAE,sCAAsC;AACzD,IAA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C7B,SAAA;AACD,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,WAAW;AACjB,YAAA,KAAK,EAAE,2CAA2C;AAClD,YAAA,WAAW,EAAE,4CAA4C;AACzD,YAAA,IAAI,EAAE,kBAAkB;AACzB,SAAA;AACD,QAAA,uBAAuB,EAAE;AACvB,YAAA,IAAI,EAAE,yBAAyB;AAC/B,YAAA,KAAK,EAAE,0DAA0D;AACjE,YAAA,WAAW,EAAE,2DAA2D;AACxE,YAAA,IAAI,EAAE,sBAAsB;AAC7B,SAAA;AACD,QAAA,eAAe,EAAE;AACf,YAAA,IAAI,EAAE,iBAAiB;AACvB,YAAA,KAAK,EAAE,iDAAiD;AACxD,YAAA,WAAW,EAAE,kDAAkD;AAC/D,YAAA,IAAI,EAAE,4BAA4B;AACnC,SAAA;AACD,QAAA,qBAAqB,EAAE;AACrB,YAAA,IAAI,EAAE,uBAAuB;AAC7B,YAAA,KAAK,EAAE,wDAAwD;AAC/D,YAAA,WAAW,EAAE,yDAAyD;AACtE,YAAA,IAAI,EAAE,oBAAoB;AAC3B,SAAA;AACF,KAAA;;;AClGH;AACO,MAAM,iCAAiC,GAAG;AAEjD;AACO,MAAM,6BAA6B,GAAG;;ACJ7C;;ACAA;;AAEG;;"}
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-system-insight-client-contracts.mjs","sources":["../../../../libs/modules/system-insight/contracts/src/menu.keys.ts","../../../../libs/modules/system-insight/contracts/src/permission.keys.ts","../../../../libs/modules/system-insight/contracts/src/settings.keys.ts","../../../../libs/modules/system-insight/contracts/src/server-commands.ts","../../../../libs/modules/system-insight/contracts/src/queries.keys.ts","../../../../libs/modules/system-insight/contracts/src/commands.keys.ts","../../../../libs/modules/system-insight/contracts/src/dto/scope-context.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/system-insight-paged.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/log-entry.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/trace.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/metric.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/error-event.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/saved-view.dto.ts","../../../../libs/modules/system-insight/contracts/src/root-config.ts","../../../../libs/modules/system-insight/contracts/src/manifest.ts","../../../../libs/modules/system-insight/contracts/src/trace-timeline-page.component-key.ts","../../../../libs/modules/system-insight/contracts/src/index.ts","../../../../libs/modules/system-insight/contracts/src/acorex-platform-module-system-insight-client-contracts.ts"],"sourcesContent":["export const AXMSystemInsightMenuKeys = {\n Root: 'SystemInsight:Menu',\n Logs: 'SystemInsight:Menu:Logs',\n Traces: 'SystemInsight:Menu:Traces',\n Errors: 'SystemInsight:Menu:Errors',\n SlowRequests: 'SystemInsight:Menu:SlowRequests',\n Metrics: 'SystemInsight:Menu:Metrics',\n AlertRules: 'SystemInsight:Menu:AlertRules',\n SavedViews: 'SystemInsight:Menu:SavedViews',\n DataSources: 'SystemInsight:Menu:DataSources',\n RetentionPolicies: 'SystemInsight:Menu:RetentionPolicies',\n AuditLog: 'SystemInsight:Menu:AuditLog',\n} as const;\n","/**\n * Administration capabilities used by this module.\n * Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).\n */\nexport const AXPAdministrationPermissionKeys = {\n Access: 'Administration:Permission:Access',\n MaintainUsersAndRoles: 'Administration:Permission:MaintainUsersAndRoles',\n ManageSessions: 'Administration:Permission:ManageSessions',\n MaintainPolicies: 'Administration:Permission:MaintainPolicies',\n ViewIntegrations: 'Administration:Permission:ViewIntegrations',\n MaintainConnections: 'Administration:Permission:MaintainConnections',\n MaintainWorkflows: 'Administration:Permission:MaintainWorkflows',\n ManageWorkflowActions: 'Administration:Permission:ManageWorkflowActions',\n ViewRules: 'Administration:Permission:ViewRules',\n MaintainRules: 'Administration:Permission:MaintainRules',\n ManageRuleActions: 'Administration:Permission:ManageRuleActions',\n MaintainAi: 'Administration:Permission:MaintainAi',\n UseAiAssist: 'Administration:Permission:UseAiAssist',\n MaintainDashboards: 'Administration:Permission:MaintainDashboards',\n ViewJobs: 'Administration:Permission:ViewJobs',\n ManageJobActions: 'Administration:Permission:ManageJobActions',\n ViewObservability: 'Administration:Permission:ViewObservability',\n MaintainObservability: 'Administration:Permission:MaintainObservability',\n} as const;\n\n/**\n * @deprecated Prefer {@link AXPAdministrationPermissionKeys}.\n * Legacy nested shape kept so existing imports compile during migration.\n */\nexport const AXMSystemInsightPermissionKeys = {\n SystemInsight: {\n Logs: { View: AXPAdministrationPermissionKeys.ViewObservability },\n Traces: { View: AXPAdministrationPermissionKeys.ViewObservability },\n Metrics: { View: AXPAdministrationPermissionKeys.ViewObservability },\n Errors: { View: AXPAdministrationPermissionKeys.ViewObservability },\n Alerts: { Manage: AXPAdministrationPermissionKeys.MaintainObservability },\n SavedViews: { Manage: AXPAdministrationPermissionKeys.MaintainObservability },\n Admin: AXPAdministrationPermissionKeys.MaintainObservability,\n Management: AXPAdministrationPermissionKeys.MaintainObservability,\n AuditLog: {\n Management: AXPAdministrationPermissionKeys.MaintainObservability,\n },\n },\n} as const;\n","export enum AXPSystemInsightSettings {\n //#region ---- Retention Settings ----\n\n RetentionEnabled = 'SystemInsight:Setting:Retention.Enabled',\n RetentionPeriod = 'SystemInsight:Setting:Retention.Period',\n RetentionBatchSize = 'SystemInsight:Setting:Retention.BatchSize',\n RetentionPurgeCron = 'SystemInsight:Setting:Retention.PurgeCron',\n\n //#endregion\n\n //#region ---- Critical Error File Fallback ----\n\n StorageLocation = 'SystemInsight:Setting:Storage.Location',\n CriticalErrorFileEnabled = 'SystemInsight:Setting:Storage.CriticalErrorFileEnabled',\n\n //#endregion\n\n //#region ---- Log Level Settings ----\n\n DefaultLogLevel = 'SystemInsight:Setting:Level.Default',\n\n //#endregion\n\n //#region ---- Performance Settings ----\n\n AsyncLogging = 'SystemInsight:Setting:Performance.AsyncEnabled',\n BatchSize = 'SystemInsight:Setting:Performance.BatchSize',\n FlushInterval = 'SystemInsight:Setting:Performance.FlushInterval',\n SlowRequestThresholdMs = 'SystemInsight:Setting:Performance.SlowRequestThresholdMs',\n\n //#endregion\n}\n\nexport const AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS = {\n [AXPSystemInsightSettings.RetentionEnabled]: true,\n [AXPSystemInsightSettings.RetentionPeriod]: 30,\n [AXPSystemInsightSettings.RetentionBatchSize]: 500,\n [AXPSystemInsightSettings.RetentionPurgeCron]: '0 4 * * *',\n [AXPSystemInsightSettings.StorageLocation]: './logs/acorex',\n [AXPSystemInsightSettings.CriticalErrorFileEnabled]: true,\n [AXPSystemInsightSettings.DefaultLogLevel]: 'info',\n [AXPSystemInsightSettings.AsyncLogging]: true,\n [AXPSystemInsightSettings.BatchSize]: 100,\n [AXPSystemInsightSettings.FlushInterval]: 5000,\n [AXPSystemInsightSettings.SlowRequestThresholdMs]: 500,\n} as const;\n","//#region ---- System Insight server commands ----\n\nexport const AXPSystemInsightServerCommands = {\n RetentionPurge: 'system-insight.retention.purge',\n} as const;\n\n/** Stable scope key for the platform log retention purge schedule. */\nexport const AXP_SYSTEM_INSIGHT_RETENTION_PURGE_COMMAND_KEY = AXPSystemInsightServerCommands.RetentionPurge;\n\n//#endregion\n","//#region ---- Query Keys ----\n\nexport const AXMSystemInsightQueryKeys = {\n LogEntry: {\n List: 'SystemInsight:LogEntry:List',\n GetOne: 'SystemInsight:LogEntry:GetOne',\n Aggregate: 'SystemInsight:LogEntry:Aggregate',\n },\n HttpRequestLog: {\n List: 'SystemInsight:HttpRequestLog:List',\n GetOne: 'SystemInsight:HttpRequestLog:GetOne',\n },\n JobExecutionLog: {\n List: 'SystemInsight:JobExecutionLog:List',\n GetOne: 'SystemInsight:JobExecutionLog:GetOne',\n },\n TraceEntry: {\n List: 'SystemInsight:TraceEntry:List',\n GetOne: 'SystemInsight:TraceEntry:GetOne',\n },\n TraceSpan: {\n List: 'SystemInsight:TraceSpan:List',\n GetOne: 'SystemInsight:TraceSpan:GetOne',\n },\n TraceTimeline: {\n Get: 'SystemInsight:TraceEntry:GetTimeline',\n },\n ErrorEvent: {\n List: 'SystemInsight:ErrorEvent:List',\n GetOne: 'SystemInsight:ErrorEvent:GetOne',\n Aggregate: 'SystemInsight:ErrorEvent:Aggregate',\n },\n SlowRequest: {\n List: 'SystemInsight:SlowRequest:List',\n GetOne: 'SystemInsight:SlowRequest:GetOne',\n },\n MetricPoint: {\n List: 'SystemInsight:MetricPoint:List',\n GetOne: 'SystemInsight:MetricPoint:GetOne',\n Range: 'SystemInsight:MetricPoint:Range',\n },\n} as const;\n\n//#endregion\n","//#region ---- Command Keys ----\n\nexport const AXMSystemInsightCommandKeys = {\n LogEntry: {\n Export: 'SystemInsight:LogEntry:Export',\n Clear: 'SystemInsight:LogEntry:Clear',\n },\n AlertRule: {\n CreateFromFilter: 'SystemInsight:AlertRule:CreateFromFilter',\n },\n Notification: {\n SendAlert: 'SystemInsight:Notification:SendAlert',\n },\n Trace: {\n OpenTimeline: 'SystemInsight:Trace:OpenTimeline',\n },\n} as const;\n\n//#endregion\n","//#region ---- Scope context ----\n\nexport interface SystemInsightScopeContext {\n tenantId?: string;\n applicationId?: string;\n userId?: string;\n}\n\n//#endregion\n","//#region ---- Paged results ----\n\nexport interface SystemInsightPagedResult<T> {\n items: T[];\n total: number;\n cursor?: string;\n}\n\nexport interface SystemInsightAggregateBucket {\n key: string;\n count: number;\n}\n\nexport interface SystemInsightAggregateResult {\n buckets: SystemInsightAggregateBucket[];\n total: number;\n}\n\nexport interface SystemInsightExportResult {\n downloadUrl?: string;\n contentType: string;\n fileName: string;\n data?: string;\n}\n\nexport interface SystemInsightClearResult {\n deleted: number;\n}\n\n//#endregion\n","import type { SystemInsightScopeContext } from './scope-context.dto';\n\n//#region ---- Log DTOs ----\n\nexport interface LogEntryDto {\n id: string;\n /** Event time (OTel Timestamp). */\n timestamp: string;\n /** Severity text (OTel SeverityText). */\n level: string;\n /** OTel SeverityNumber (TRACE=1 … FATAL=21). */\n severityNumber?: number;\n /** Log body (OTel Body). */\n message: string;\n serviceName?: string;\n requestId?: string;\n traceId?: string;\n spanId?: string;\n userId?: string;\n tenantId?: string;\n applicationId?: string;\n module?: string;\n entity?: string;\n operation?: string;\n method?: string;\n url?: string;\n statusCode?: number;\n duration?: number;\n /** Additional attributes (OTel Attributes). */\n properties?: Record<string, unknown>;\n source?: string;\n}\n\nexport interface HttpRequestLogDto extends LogEntryDto {\n method?: string;\n url?: string;\n statusCode?: number;\n duration?: number;\n userAgent?: string;\n clientIp?: string;\n}\n\nexport interface JobExecutionLogDto extends LogEntryDto {\n jobId?: string;\n jobName?: string;\n status?: string;\n startedAt?: string;\n finishedAt?: string;\n duration?: number;\n error?: string;\n}\n\nexport interface SystemInsightLogQueryDto extends SystemInsightScopeContext {\n from?: string;\n to?: string;\n skip?: number;\n take?: number;\n cursor?: string;\n levels?: string[];\n serviceName?: string;\n requestId?: string;\n traceId?: string;\n spanId?: string;\n module?: string;\n entity?: string;\n operation?: string;\n quickSearch?: string;\n hasHttpAccess?: boolean;\n minDuration?: number;\n filter?: unknown;\n sort?: unknown;\n /** Entity-list operators keyed by field (`contains`, `equal`, …). */\n fieldOperators?: Record<string, string>;\n}\n\nexport interface SystemInsightAggregateQueryDto extends SystemInsightLogQueryDto {\n groupBy: string;\n}\n\n//#endregion\n","import type { SystemInsightScopeContext } from './scope-context.dto';\r\n\r\n//#region ---- Trace DTOs ----\r\n\r\nexport type TraceKind = 'command' | 'query' | 'entity' | 'http' | 'custom';\r\n\r\nexport type TraceSpanKind = 'op' | 'middleware' | 'backend' | 'handler';\r\n\r\nexport interface TraceEntryDto {\r\n id: string;\r\n traceId: string;\r\n kind?: TraceKind;\r\n operation?: string;\r\n /** @deprecated Prefer operation — kept for older Jaeger-mapped rows. */\r\n rootOperation?: string;\r\n rootServiceName?: string;\r\n serviceName?: string;\r\n module?: string;\r\n entityName?: string;\r\n startTime: string;\r\n duration: number;\r\n status?: string;\r\n spanCount?: number;\r\n hasError?: boolean;\r\n requestId?: string;\r\n tenantId?: string;\r\n applicationId?: string;\r\n userId?: string;\r\n hasAi?: boolean;\r\n aiModel?: string;\r\n aiInputTokens?: number;\r\n aiOutputTokens?: number;\r\n}\r\n\r\nexport interface TraceSpanDto {\r\n id: string;\r\n spanId: string;\r\n traceId: string;\r\n parentSpanId?: string;\r\n operationName: string;\r\n serviceName?: string;\r\n spanKind?: TraceSpanKind;\r\n startTime: string;\r\n duration: number;\r\n status?: string;\r\n middlewareName?: string;\r\n order?: number;\r\n nextMiddleware?: string;\r\n input?: unknown;\r\n output?: unknown;\r\n error?: string;\r\n tags?: Record<string, unknown>;\r\n logs?: Array<Record<string, unknown>>;\r\n}\r\n\r\nexport interface TraceTimelineDto {\r\n traceId: string;\r\n kind?: TraceKind;\r\n operation?: string;\r\n spans: TraceSpanDto[];\r\n startTime: string;\r\n duration: number;\r\n services: string[];\r\n hasError?: boolean;\r\n module?: string;\r\n entityName?: string;\r\n requestId?: string;\r\n tenantId?: string;\r\n applicationId?: string;\r\n hasAi?: boolean;\r\n aiModel?: string;\r\n aiInputTokens?: number;\r\n aiOutputTokens?: number;\r\n}\r\n\r\nexport interface SystemInsightTraceQueryDto extends SystemInsightScopeContext {\r\n from?: string;\r\n to?: string;\r\n skip?: number;\r\n take?: number;\r\n serviceName?: string;\r\n traceId?: string;\r\n kind?: TraceKind | TraceKind[];\r\n operation?: string;\r\n module?: string;\r\n entityName?: string;\r\n hasError?: boolean;\r\n /** Minimum root trace duration in milliseconds (slow traces). */\r\n minDuration?: number;\r\n quickSearch?: string;\r\n requestId?: string;\r\n /** Entity-list operators keyed by field (`contains`, `equal`, …). */\r\n fieldOperators?: Record<string, string>;\r\n}\r\n\r\n//#endregion\r\n","import type { SystemInsightScopeContext } from './scope-context.dto';\n\n//#region ---- Metric DTOs ----\n\nexport type SystemInsightMetricType = 'counter' | 'gauge' | 'histogram';\n\nexport interface MetricPointDto {\n id: string;\n name: string;\n labels?: Record<string, string>;\n timestamp: string;\n value: number;\n type: SystemInsightMetricType;\n}\n\nexport interface SystemInsightMetricQueryDto extends SystemInsightScopeContext {\n from?: string;\n to?: string;\n skip?: number;\n take?: number;\n names?: string[];\n serviceName?: string;\n step?: string;\n}\n\nexport interface SystemInsightMetricRangeResult {\n series: Array<{\n name: string;\n labels?: Record<string, string>;\n points: Array<{ timestamp: string; value: number }>;\n }>;\n}\n\n//#endregion\n","import type { SystemInsightScopeContext } from './scope-context.dto';\n\n//#region ---- Error / slow request DTOs ----\n\nexport interface ErrorEventDto {\n id: string;\n timestamp: string;\n errorType?: string;\n message: string;\n stackTrace?: string;\n serviceName?: string;\n traceId?: string;\n requestId?: string;\n userId?: string;\n tenantId?: string;\n fingerprint?: string;\n}\n\nexport interface SlowRequestDto {\n id: string;\n timestamp: string;\n method?: string;\n url?: string;\n duration: number;\n thresholdMs?: number;\n statusCode?: number;\n serviceName?: string;\n traceId?: string;\n requestId?: string;\n}\n\nexport interface SystemInsightErrorQueryDto extends SystemInsightScopeContext {\n from?: string;\n to?: string;\n skip?: number;\n take?: number;\n serviceName?: string;\n traceId?: string;\n requestId?: string;\n quickSearch?: string;\n}\n\nexport interface SystemInsightSlowRequestQueryDto extends SystemInsightErrorQueryDto {\n thresholdMs?: number;\n}\n\n//#endregion\n","//#region ---- Config entity DTOs ----\n\nexport interface SavedViewDto {\n id: string;\n title: string;\n description?: string;\n entityFullName: string;\n filter?: unknown;\n sorts?: unknown;\n columns?: unknown;\n timeRange?: { from?: string; to?: string };\n isDefault?: boolean;\n isShared?: boolean;\n ownerUserId?: string;\n tenantId?: string;\n}\n\nexport interface AlertRuleDto {\n id: string;\n name: string;\n enabled: boolean;\n entityFullName: string;\n condition?: unknown;\n threshold?: number;\n windowMinutes?: number;\n severity?: string;\n notificationChannels?: string[];\n lastTriggeredAt?: string;\n tenantId?: string;\n}\n\nexport interface ObservabilityDataSourceDto {\n id: string;\n name: string;\n type: 'logs' | 'traces' | 'metrics';\n provider: 'elasticsearch' | 'jaeger' | 'prometheus' | 'fake';\n connectionConfig?: Record<string, unknown>;\n isDefault?: boolean;\n tenantId?: string;\n}\n\nexport interface RetentionPolicyDto {\n id: string;\n dataType: 'logs' | 'traces' | 'metrics' | 'audit';\n retentionDays: number;\n enabled: boolean;\n tenantId?: string;\n applicationId?: string;\n}\n\nexport interface DashboardWidgetConfigDto {\n id: string;\n title: string;\n widgetType: string;\n query?: unknown;\n layout?: unknown;\n order?: number;\n dashboardKey: string;\n tenantId?: string;\n}\n\nexport interface CreateAlertFromFilterInput {\n name: string;\n entityFullName: string;\n filter?: unknown;\n threshold?: number;\n windowMinutes?: number;\n severity?: string;\n notificationChannels?: string[];\n}\n\n//#endregion\n","const config = {\n i18n: 'system-insight',\n};\n\nexport const RootConfig = {\n config,\n module: {\n route: 'system-insight',\n module: 'system-insight',\n name: 'SystemInsight',\n title: '@system-insight:module.title',\n icon: 'fa-light fa-monitor-waveform',\n },\n entities: {\n auditLog: {\n name: 'AuditLog',\n title: '@system-insight:logs.entities.audit-log.title',\n titlePlural: '@system-insight:logs.entities.audit-log.plural',\n icon: 'fa-light fa-file-code',\n },\n logEntry: {\n name: 'LogEntry',\n title: '@system-insight:entities.log-entry.title',\n titlePlural: '@system-insight:entities.log-entry.plural',\n icon: 'fa-light fa-file-lines',\n },\n httpRequestLog: {\n name: 'HttpRequestLog',\n title: '@system-insight:entities.http-request-log.title',\n titlePlural: '@system-insight:entities.http-request-log.plural',\n icon: 'fa-light fa-globe',\n },\n jobExecutionLog: {\n name: 'JobExecutionLog',\n title: '@system-insight:entities.job-execution-log.title',\n titlePlural: '@system-insight:entities.job-execution-log.plural',\n icon: 'fa-light fa-clock',\n },\n traceEntry: {\n name: 'TraceEntry',\n title: '@system-insight:entities.trace-entry.title',\n titlePlural: '@system-insight:entities.trace-entry.plural',\n icon: 'fa-light fa-route',\n },\n traceSpan: {\n name: 'TraceSpan',\n title: '@system-insight:entities.trace-span.title',\n titlePlural: '@system-insight:entities.trace-span.plural',\n icon: 'fa-light fa-diagram-project',\n },\n errorEvent: {\n name: 'ErrorEvent',\n title: '@system-insight:entities.error-event.title',\n titlePlural: '@system-insight:entities.error-event.plural',\n icon: 'fa-light fa-circle-exclamation',\n },\n slowRequest: {\n name: 'SlowRequest',\n title: '@system-insight:entities.slow-request.title',\n titlePlural: '@system-insight:entities.slow-request.plural',\n icon: 'fa-light fa-hourglass-half',\n },\n metricPoint: {\n name: 'MetricPoint',\n title: '@system-insight:entities.metric-point.title',\n titlePlural: '@system-insight:entities.metric-point.plural',\n icon: 'fa-light fa-chart-line',\n },\n savedView: {\n name: 'SavedView',\n title: '@system-insight:entities.saved-view.title',\n titlePlural: '@system-insight:entities.saved-view.plural',\n icon: 'fa-light fa-bookmark',\n },\n alertRule: {\n name: 'AlertRule',\n title: '@system-insight:entities.alert-rule.title',\n titlePlural: '@system-insight:entities.alert-rule.plural',\n icon: 'fa-light fa-bell',\n },\n observabilityDataSource: {\n name: 'ObservabilityDataSource',\n title: '@system-insight:entities.observability-data-source.title',\n titlePlural: '@system-insight:entities.observability-data-source.plural',\n icon: 'fa-light fa-database',\n },\n retentionPolicy: {\n name: 'RetentionPolicy',\n title: '@system-insight:entities.retention-policy.title',\n titlePlural: '@system-insight:entities.retention-policy.plural',\n icon: 'fa-light fa-calendar-clock',\n },\n dashboardWidgetConfig: {\n name: 'DashboardWidgetConfig',\n title: '@system-insight:entities.dashboard-widget-config.title',\n titlePlural: '@system-insight:entities.dashboard-widget-config.plural',\n icon: 'fa-light fa-grid-2',\n },\n },\n} as const;\n","//#region ---- Imports ----\n\nimport { AXPModuleManifest } from '@acorex-platform/framework-shared/core';\nimport { RootConfig } from './root-config';\n\n//#endregion\n\n//#region ---- Manifest Definition ----\n\n/**\n * System Insight Module Manifest.\n * Defines module metadata, features, and provider references.\n */\nexport const SystemInsightManifest: AXPModuleManifest = {\n name: RootConfig.module.name,\n version: '1.0.0',\n title: RootConfig.module.title,\n icon: RootConfig.module.icon,\n i18n: RootConfig.config.i18n,\n\n type: 'platform',\n domain: 'platform',\n // Module dependencies\n dependencies: ['ReportManagement'],\n};\n\n//#endregion\n\n","/** Registry key for Trace Timeline custom entity page (tab on TraceEntry). */\r\nexport const TRACE_TIMELINE_PAGE_COMPONENT_KEY = 'trace-timeline-page';\r\n\r\n/** Registry key for Trace Flow chart custom entity page (tab on TraceEntry). */\r\nexport const TRACE_FLOW_PAGE_COMPONENT_KEY = 'trace-flow-page';\r\n","//#region ---- Contracts barrel ----\r\n\r\nexport * from './menu.keys';\r\nexport * from './permission.keys';\r\nexport * from './settings.keys';\r\nexport * from './server-commands';\r\nexport * from './queries.keys';\r\nexport * from './commands.keys';\r\nexport * from './dto';\r\n\r\nexport * from './root-config';\nexport * from './manifest';\r\nexport * from './trace-timeline-page.component-key';\r\n\r\n//#endregion\r\n\r\nexport * from './entities';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAO,MAAM,wBAAwB,GAAG;AACtC,IAAA,IAAI,EAAE,oBAAoB;AAC1B,IAAA,IAAI,EAAE,yBAAyB;AAC/B,IAAA,MAAM,EAAE,2BAA2B;AACnC,IAAA,MAAM,EAAE,2BAA2B;AACnC,IAAA,YAAY,EAAE,iCAAiC;AAC/C,IAAA,OAAO,EAAE,4BAA4B;AACrC,IAAA,UAAU,EAAE,+BAA+B;AAC3C,IAAA,UAAU,EAAE,+BAA+B;AAC3C,IAAA,WAAW,EAAE,gCAAgC;AAC7C,IAAA,iBAAiB,EAAE,sCAAsC;AACzD,IAAA,QAAQ,EAAE,6BAA6B;;;ACXzC;;;AAGG;AACI,MAAM,+BAA+B,GAAG;AAC7C,IAAA,MAAM,EAAE,kCAAkC;AAC1C,IAAA,qBAAqB,EAAE,iDAAiD;AACxE,IAAA,cAAc,EAAE,0CAA0C;AAC1D,IAAA,gBAAgB,EAAE,4CAA4C;AAC9D,IAAA,gBAAgB,EAAE,4CAA4C;AAC9D,IAAA,mBAAmB,EAAE,+CAA+C;AACpE,IAAA,iBAAiB,EAAE,6CAA6C;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