@acorex-platform/module-system-insight-client 1.0.2 → 2.0.0-beta.1
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 +1 -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-error-event.mjs +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +41 -17
- 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 +1 -0
- 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 +1 -1
- 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-slow-request.mjs +1 -0
- 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 +74 -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 +1 -0
- 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-Bcovlxhp.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-BSOZhUeA.mjs} +15 -15
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-Bcovlxhp.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-BSOZhUeA.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-alert-rule.entity-DuUn71Sz.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-alert-rule.entity-D36GADM2.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-alert-rule.entity-DuUn71Sz.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-alert-rule.entity-D36GADM2.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-audit-log.entity-DZ1CmaFi.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-audit-log.entity-sXB6Wv3w.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-audit-log.entity-DZ1CmaFi.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-audit-log.entity-sXB6Wv3w.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-commands.keys-yv865ABJ.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-commands.keys-CAlbW8kl.mjs} +2 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-commands.keys-CAlbW8kl.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-dashboard-widget-config.entity-BQak4AZc.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-dashboard-widget-config.entity-DOvbi-UR.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-dashboard-widget-config.entity-BQak4AZc.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-dashboard-widget-config.entity-DOvbi-UR.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-error-event.entity-DaZislZB.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-error-event.entity-De23vVeo.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-error-event.entity-DaZislZB.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-error-event.entity-De23vVeo.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-http-request-log.entity-DbLd4t7F.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-http-request-log.entity-CAKmY_LV.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-http-request-log.entity-DbLd4t7F.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-http-request-log.entity-CAKmY_LV.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-job-execution-log.entity-sX-AHmPB.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-job-execution-log.entity-CbXAgEZu.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-job-execution-log.entity-sX-AHmPB.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-job-execution-log.entity-CbXAgEZu.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-log-entry.entity-76GPKu4M.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-log-entry.entity-BWDW3t-C.mjs} +30 -62
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-log-entry.entity-BWDW3t-C.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-metric-point.entity-DJFXCRCy.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-metric-point.entity-D-mPaNmo.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-metric-point.entity-DJFXCRCy.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-metric-point.entity-D-mPaNmo.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-observability-data-source.entity-Bd3Bvtgl.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-observability-data-source.entity-DbRJkcZR.mjs} +3 -3
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-observability-data-source.entity-DbRJkcZR.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-8eqBvMRF.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-DY-72L6A.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-8eqBvMRF.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-DY-72L6A.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-retention-policy.entity-C4ipn2nR.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-retention-policy.entity-S-1ve3bx.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-retention-policy.entity-C4ipn2nR.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-retention-policy.entity-S-1ve3bx.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-saved-view.entity-HevCnSJO.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-saved-view.entity-C3WPkIT3.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-saved-view.entity-HevCnSJO.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-saved-view.entity-C3WPkIT3.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-settings.keys-xb9BwOOp.mjs +95 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-settings.keys-xb9BwOOp.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-slow-request.entity-kdw-SNYp.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-slow-request.entity-C7bWznKb.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-slow-request.entity-kdw-SNYp.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-slow-request.entity-C7bWznKb.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-entry.entity-D3HM0Fbw.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-entry.entity-B9RXE6k-.mjs} +19 -5
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-entry.entity-B9RXE6k-.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-span.entity-DqvCcxQO.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-span.entity-CWIMJv_t.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-span.entity-DqvCcxQO.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-span.entity-CWIMJv_t.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog.mjs +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts.mjs +17 -3
- package/fesm2022/acorex-platform-module-system-insight-client-contracts.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-open-trace-timeline.command-DPbr-AYZ.mjs → acorex-platform-module-system-insight-client-open-trace-timeline.command-B6U-ZtMy.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-open-trace-timeline.command-DPbr-AYZ.mjs.map → acorex-platform-module-system-insight-client-open-trace-timeline.command-B6U-ZtMy.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-index-BXIflPDZ.mjs → acorex-platform-module-system-insight-client-traces-BqhmtVFB.mjs} +2 -2
- package/fesm2022/acorex-platform-module-system-insight-client-traces-BqhmtVFB.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client.mjs +77 -58
- package/fesm2022/acorex-platform-module-system-insight-client.mjs.map +1 -1
- package/i18n/en-AU/system-insight.json +56 -7
- package/i18n/en-US/system-insight.json +56 -7
- package/i18n/fa-IR/system-insight.json +56 -7
- package/package.json +1 -1
- package/types/acorex-platform-module-system-insight-client-contracts.d.ts +13 -3
- package/types/acorex-platform-module-system-insight-client.d.ts +1 -2
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-commands.keys-yv865ABJ.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-log-entry.entity-76GPKu4M.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-observability-data-source.entity-Bd3Bvtgl.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-settings.keys-CI-iHRBX.mjs +0 -38
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-settings.keys-CI-iHRBX.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-entry.entity-D3HM0Fbw.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-system-insight-client-index-BXIflPDZ.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-system-insight-client-open-trace-timeline.command-
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-system-insight-client-open-trace-timeline.command-B6U-ZtMy.mjs","sources":["../../../../libs/modules/system-insight/client/src/lib/commands/open-trace-timeline.command.ts"],"sourcesContent":["import { AXPSessionService } from '@acorex-platform/framework-client/auth';\nimport { axpNavigateAppPath } from '@acorex-platform/framework-client/common';\nimport { AXPRuntimeCommandResult } from '@acorex-platform/framework-shared/core';\nimport { AXPCommand, type AXPCommandExecuteResultPromise } from '@acorex-platform/framework-shared/runtime';\nimport { TRACE_TIMELINE_PAGE_COMPONENT_KEY } from '@acorex-platform/module-system-insight-client/contracts';\nimport { inject, Injectable } from '@angular/core';\nimport { Router } from '@angular/router';\n\nconst SYSTEM_INSIGHT_MODULE = 'SystemInsight';\nconst TRACE_ENTRY_ENTITY = 'TraceEntry';\n\n/**\n * Opens TraceEntry entity details on the Timeline tab (entity custom page).\n */\n@Injectable({ providedIn: 'root' })\nexport class AXMOpenTraceTimelineCommand implements AXPCommand<any, void> {\n private readonly sessionService = inject(AXPSessionService);\n private readonly router = inject(Router);\n\n async execute(input: any): AXPCommandExecuteResultPromise<void> {\n const row = input?.data ?? input?.data ?? input;\n const traceId = (row?.traceId ?? row?.id ?? input?.traceId)?.toString?.().trim();\n if (!traceId) {\n return {\n success: false,\n message: { text: 'Trace ID is required' },\n };\n }\n\n const app = this.sessionService.application?.name;\n if (!app) {\n return {\n success: false,\n message: { text: 'Application context is not available' },\n };\n }\n\n const entityId = (row?.id ?? traceId)?.toString?.().trim() || traceId;\n const url = `/${app}/m/${SYSTEM_INSIGHT_MODULE}/e/${TRACE_ENTRY_ENTITY}/${entityId}/view`;\n await axpNavigateAppPath(this.router, url, {\n queryParams: { page: TRACE_TIMELINE_PAGE_COMPONENT_KEY },\n });\n\n return { success: true, kind: 'object', data: undefined };\n }\n}\n"],"names":[],"mappings":";;;;;;;AAQA,MAAM,qBAAqB,GAAG,eAAe;AAC7C,MAAM,kBAAkB,GAAG,YAAY;AAEvC;;AAEG;MAEU,2BAA2B,CAAA;AADxC,IAAA,WAAA,GAAA;AAEmB,QA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3D;8GA7BW,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAA3B,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,2BAA2B,cADd,MAAM,EAAA,CAAA,CAAA;;2FACnB,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBADvC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;"}
|
|
@@ -258,7 +258,7 @@ class AXMTraceTimelinePageComponent extends AXPPageLayoutBaseComponent {
|
|
|
258
258
|
</div>
|
|
259
259
|
</div>
|
|
260
260
|
</ng-template>
|
|
261
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDataTableModule }, { kind: "component", type: i3.AXDataTableComponent, selector: "ax-data-table", inputs: ["dataSource", "selectedRows", "parentField", "hasChildrenField", "rowDetailsTemplate", "rowCssClass", "cellCssClass", "highlightText", "look", "rowTemplate", "emptyTemplate", "noDataTemplate", "alternative", "showHeader", "fixedHeader", "showFooter", "fixedFooter", "itemHeight", "allowReordering", "paging", "fetchDataMode", "loading", "focusedRow"], outputs: ["selectedRowsChange", "focusedRowChange", "onRowClick", "onRowDbClick", "onColumnsOrderChanged", "onColumnSizeChanged", "onPageChanged"] }, { kind: "component", type: i3.AXDataTableTextColumnComponent, selector: "ax-text-column", inputs: ["width", "caption", "allowSorting", "allowResizing", "fixed", "hasTitle", "customExpandIcon", "customCollapseIcon", "dataField", "expandHandler", "wrapText", "translate", "cellTemplate", "footerTemplate", "headerTemplate", "format", "formatOptions"] }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i4.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: AXProgressBarModule }, { kind: "component", type: i5.AXProgressBarComponent, selector: "ax-progress-bar", inputs: ["color", "mode", "progress", "height"], outputs: ["ValueChange", "sizeChange"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i6.AsyncPipe, name: "async" }, { kind: "pipe", type: i7.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
261
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDataTableModule }, { kind: "component", type: i3.AXDataTableComponent, selector: "ax-data-table", inputs: ["dataSource", "selectedRows", "parentField", "hasChildrenField", "rowDetailsTemplate", "rowCssClass", "cellCssClass", "highlightText", "look", "autoFitMaxWidth", "constrainColumnsToWrapper", "rowTemplate", "emptyTemplate", "noDataTemplate", "alternative", "showHeader", "fixedHeader", "showFooter", "fixedFooter", "itemHeight", "allowReordering", "paging", "fetchDataMode", "loading", "focusedRow"], outputs: ["selectedRowsChange", "focusedRowChange", "onRowClick", "onRowPointerDown", "onRowDbClick", "onColumnsOrderChanged", "onColumnSizeChanged", "onPageChanged"] }, { kind: "component", type: i3.AXDataTableTextColumnComponent, selector: "ax-text-column", inputs: ["width", "caption", "allowSorting", "allowResizing", "fixed", "hasTitle", "customExpandIcon", "customCollapseIcon", "dataField", "expandHandler", "wrapText", "translate", "cellTemplate", "footerTemplate", "headerTemplate", "format", "formatOptions"] }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i4.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: AXProgressBarModule }, { kind: "component", type: i5.AXProgressBarComponent, selector: "ax-progress-bar", inputs: ["color", "mode", "progress", "height"], outputs: ["ValueChange", "sizeChange"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i6.AsyncPipe, name: "async" }, { kind: "pipe", type: i7.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
262
262
|
}
|
|
263
263
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMTraceTimelinePageComponent, decorators: [{
|
|
264
264
|
type: Component,
|
|
@@ -831,4 +831,4 @@ var traceFlowPage_component = /*#__PURE__*/Object.freeze({
|
|
|
831
831
|
});
|
|
832
832
|
|
|
833
833
|
export { AXMTraceFlowPageComponent, AXMTraceTimelinePageComponent, AXMTraceTimelinePageComponentProvider, buildTraceFlowDiagram, hasChildSpans, normalizeTraceDisplayValue, resolveRootOpSpanId };
|
|
834
|
-
//# sourceMappingURL=acorex-platform-module-system-insight-client-
|
|
834
|
+
//# sourceMappingURL=acorex-platform-module-system-insight-client-traces-BqhmtVFB.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-system-insight-client-traces-BqhmtVFB.mjs","sources":["../../../../libs/modules/system-insight/client/src/lib/features/traces/trace-timeline-page-component.provider.ts","../../../../libs/modules/system-insight/client/src/lib/features/traces/trace-timeline-page.component.ts","../../../../libs/modules/system-insight/client/src/lib/features/traces/trace-flow-diagram.utils.ts","../../../../libs/modules/system-insight/client/src/lib/features/traces/trace-flow-display.util.ts","../../../../libs/modules/system-insight/client/src/lib/features/traces/trace-flow-page.component.ts","../../../../libs/modules/system-insight/client/src/lib/features/traces/trace-flow-page.component.html"],"sourcesContent":["import { AXPPageComponentDefinition, AXPPageComponentProvider } from '@acorex-platform/framework-client/layout/components';\r\nimport {\r\n TRACE_FLOW_PAGE_COMPONENT_KEY,\r\n TRACE_TIMELINE_PAGE_COMPONENT_KEY,\r\n} from '@acorex-platform/module-system-insight-client/contracts';\r\nimport { Injectable } from '@angular/core';\r\n\r\n//#region ---- Trace page providers ----\r\n\r\n@Injectable()\r\nexport class AXMTraceTimelinePageComponentProvider implements AXPPageComponentProvider {\r\n async components(): Promise<AXPPageComponentDefinition[]> {\r\n return [\r\n {\r\n key: TRACE_TIMELINE_PAGE_COMPONENT_KEY,\r\n loader: () =>\r\n import('./trace-timeline-page.component').then((m) => m.AXMTraceTimelinePageComponent),\r\n },\r\n {\r\n key: TRACE_FLOW_PAGE_COMPONENT_KEY,\r\n loader: () => import('./trace-flow-page.component').then((m) => m.AXMTraceFlowPageComponent),\r\n },\r\n ];\r\n }\r\n}\r\n\r\n//#endregion\r\n","import { convertArrayToDataSource } from '@acorex/cdk/common';\nimport { AXBadgeModule } from '@acorex/components/badge';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXDataTableModule } from '@acorex/components/data-table';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXProgressBarModule } from '@acorex/components/progress-bar';\nimport { AXTranslationModule, AXTranslationService } from '@acorex/core/translation';\nimport {\n AXPPageLayoutBase,\n AXPPageLayoutBaseComponent,\n} from '@acorex-platform/framework-client/layout/views';\nimport { AXPQueryExecutor } from '@acorex-platform/framework-client/runtime';\nimport { runtimeQueryPayloadData } from '@acorex-platform/framework-shared/core';\nimport {\n AXMSystemInsightQueryKeys,\n type TraceSpanDto,\n type TraceTimelineDto,\n} from '@acorex-platform/module-system-insight-client/contracts';\nimport { CommonModule } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n effect,\n inject,\n input,\n signal,\n} from '@angular/core';\n\n//#region ---- Types ----\n\ntype TimelineSpanRow = TraceSpanDto & {\n offsetPercent: number;\n widthPercent: number;\n durationShare: number;\n};\n\n//#endregion\n\n/**\n * TraceEntry detail tab — same hosting pattern as workflow Activities / RuleSet Simulate.\n * Chrome comes from entity details; content uses ACOREX controls only.\n */\n@Component({\n selector: 'axm-trace-timeline-page',\n standalone: true,\n imports: [\n CommonModule,\n AXBadgeModule,\n AXButtonModule,\n AXDataTableModule,\n AXLoadingModule,\n AXProgressBarModule,\n AXTranslationModule,\n ],\n template: `\n <div class=\"axm-trace-timeline flex flex-col gap-4 p-4 w-full min-h-0\">\n @if (loading()) {\n <div class=\"flex justify-center py-10\">\n <ax-loading />\n </div>\n } @else if (timeline(); as data) {\n <div class=\"flex flex-wrap items-center gap-2\">\n <ax-badge [text]=\"spanCountBadge()\" color=\"primary\" size=\"sm\"></ax-badge>\n @for (service of data.services; track service) {\n <ax-badge [text]=\"service\" color=\"secondary\" size=\"sm\"></ax-badge>\n }\n <span class=\"text-sm text-muted ms-auto\">\n {{ '@system-insight:pages.trace-timeline.duration' | translate | async }}:\n {{ data.duration }} ms\n </span>\n <ax-button\n look=\"outline\"\n color=\"primary\"\n [text]=\"('@system-insight:pages.trace-timeline.view-logs' | translate | async) || ''\"\n (onClick)=\"goToRelatedLogs()\"\n ></ax-button>\n </div>\n\n <ax-data-table\n class=\"w-full border border-lightest rounded-md overflow-hidden\"\n [paging]=\"false\"\n [dataSource]=\"dataSource()\"\n >\n <ax-text-column\n dataField=\"operationName\"\n [caption]=\"'@system-insight:fields.operation' | translate | async\"\n [width]=\"'200px'\"\n [allowResizing]=\"true\"\n ></ax-text-column>\n <ax-text-column\n dataField=\"serviceName\"\n [caption]=\"'@system-insight:fields.service-name' | translate | async\"\n [width]=\"'140px'\"\n [allowResizing]=\"true\"\n ></ax-text-column>\n <ax-text-column\n dataField=\"status\"\n [caption]=\"'@system-insight:fields.status' | translate | async\"\n [width]=\"'100px'\"\n [cellTemplate]=\"statusTpl\"\n [allowResizing]=\"true\"\n ></ax-text-column>\n <ax-text-column\n dataField=\"duration\"\n [caption]=\"'@system-insight:fields.duration' | translate | async\"\n [width]=\"'110px'\"\n [cellTemplate]=\"durationTpl\"\n [allowResizing]=\"true\"\n ></ax-text-column>\n <ax-text-column\n dataField=\"durationShare\"\n [caption]=\"'@system-insight:pages.trace-timeline.timeline' | translate | async\"\n [width]=\"'280px'\"\n [cellTemplate]=\"timelineTpl\"\n [allowResizing]=\"true\"\n ></ax-text-column>\n <ax-text-column\n dataField=\"spanId\"\n [caption]=\"'@system-insight:fields.span-id' | translate | async\"\n [width]=\"'180px'\"\n [allowResizing]=\"true\"\n ></ax-text-column>\n </ax-data-table>\n } @else {\n <p class=\"text-sm text-muted p-2\">\n {{ '@system-insight:pages.trace-timeline.not-found' | translate | async }}\n </p>\n }\n </div>\n\n <ng-template #statusTpl let-item>\n <ax-badge\n [text]=\"item.data?.status || 'ok'\"\n [color]=\"item.data?.status === 'error' ? 'danger' : 'success'\"\n size=\"sm\"\n ></ax-badge>\n </ng-template>\n\n <ng-template #durationTpl let-item>{{ item.data?.duration ?? 0 }} ms</ng-template>\n\n <ng-template #timelineTpl let-item>\n <div class=\"flex w-full items-center gap-0 py-1\">\n <div class=\"shrink-0\" [style.width.%]=\"item.data?.offsetPercent ?? 0\"></div>\n <div class=\"min-w-0\" [style.width.%]=\"item.data?.widthPercent ?? 3\">\n <ax-progress-bar\n [progress]=\"100\"\n [color]=\"item.data?.status === 'error' ? 'danger' : 'primary'\"\n [style.height.px]=\"10\"\n ></ax-progress-bar>\n </div>\n </div>\n </ng-template>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: AXPPageLayoutBase,\n useExisting: AXMTraceTimelinePageComponent,\n },\n ],\n host: { class: 'axm-trace-timeline-page block w-full min-h-0' },\n})\nexport class AXMTraceTimelinePageComponent extends AXPPageLayoutBaseComponent {\n private readonly queryExecutor = inject(AXPQueryExecutor);\n private readonly translationService = inject(AXTranslationService);\n\n /** Entity record from TraceEntry detail host. */\n rootContext = input<Record<string, unknown>>();\n pageConfig = input<Record<string, unknown>>();\n\n readonly loading = signal(true);\n readonly timeline = signal<TraceTimelineDto | null>(null);\n readonly spanRows = signal<TimelineSpanRow[]>([]);\n readonly spansLabel = signal('Spans');\n\n readonly spanCountBadge = computed(() => `${this.spanRows().length} ${this.spansLabel()}`);\n\n readonly dataSource = signal(convertArrayToDataSource<TimelineSpanRow>([], { key: 'id', pageSize: 100 }));\n\n readonly traceId = computed(() => {\n const ctx = this.rootContext() ?? {};\n const fromTraceId = typeof ctx['traceId'] === 'string' ? ctx['traceId'].trim() : '';\n if (fromTraceId) {\n return fromTraceId;\n }\n const fromId = typeof ctx['id'] === 'string' ? ctx['id'].trim() : '';\n return fromId;\n });\n\n #loadEffect = effect(() => {\n const id = this.traceId();\n void this.loadTimeline(id);\n });\n\n constructor() {\n super();\n void this.translationService\n .translateAsync('@system-insight:pages.trace-timeline.spans')\n .then((label) => this.spansLabel.set(label));\n }\n\n override async getPageTitle(): Promise<string> {\n return this.translationService.translateAsync('@system-insight:pages.trace-timeline.title');\n }\n\n goToRelatedLogs(): void {\n const traceId = this.timeline()?.traceId ?? this.traceId();\n if (!traceId) {\n return;\n }\n const app = this.sessionService.application?.name;\n if (!app) {\n return;\n }\n void this.router.navigate([`/${app}/m/SystemInsight/e/LogEntry/list`], {\n queryParams: { traceId },\n });\n }\n\n private async loadTimeline(traceId: string): Promise<void> {\n if (!traceId) {\n this.timeline.set(null);\n this.spanRows.set([]);\n this.dataSource.set(convertArrayToDataSource<TimelineSpanRow>([], { key: 'id', pageSize: 100 }));\n this.loading.set(false);\n return;\n }\n\n this.loading.set(true);\n try {\n const result = await this.queryExecutor.fetch<string, TraceTimelineDto>(\n AXMSystemInsightQueryKeys.TraceTimeline.Get,\n traceId,\n );\n const timeline = runtimeQueryPayloadData(result) ?? null;\n const rows = this.buildSpanRows(timeline);\n this.timeline.set(timeline);\n this.spanRows.set(rows);\n this.dataSource.set(convertArrayToDataSource(rows, { key: 'id', pageSize: 100 }));\n this.recompute();\n } finally {\n this.loading.set(false);\n }\n }\n\n private buildSpanRows(timeline: TraceTimelineDto | null | undefined): TimelineSpanRow[] {\n if (!timeline?.spans?.length) {\n return [];\n }\n\n const spanStarts = timeline.spans\n .map((span) => Date.parse(span.startTime))\n .filter((value) => Number.isFinite(value));\n const rootStart = spanStarts.length ? Math.min(...spanStarts) : Date.parse(timeline.startTime) || 0;\n const maxEnd = Math.max(\n ...timeline.spans.map((span) => {\n const start = Date.parse(span.startTime);\n const startMs = Number.isFinite(start) ? start : rootStart;\n return startMs + (span.duration || 0);\n }),\n rootStart + (timeline.duration || 0),\n );\n const total = Math.max(maxEnd - rootStart, timeline.duration || 1, 1);\n\n return timeline.spans.map((span) => {\n const start = Date.parse(span.startTime);\n const offsetMs = Number.isFinite(start) ? Math.max(0, start - rootStart) : 0;\n const widthPercent = Math.max(3, Math.min(100, ((span.duration || 0) / total) * 100));\n const offsetPercent = Math.max(0, Math.min(100 - widthPercent, (offsetMs / total) * 100));\n return {\n ...span,\n offsetPercent,\n widthPercent,\n durationShare: span.duration ?? 0,\n };\n });\n }\n}\n","//#region ---- Imports ----\n\nimport {\n arrangeWorkflowDiagram,\n type AXPWorkflowDiagramModel,\n type AXPWorkflowNode,\n type AXPWorkflowSemanticColor,\n} from '@acorex-platform/module-platform-management-client';\nimport type { TraceSpanDto, TraceTimelineDto } from '@acorex-platform/module-system-insight-client/contracts';\n\n//#endregion\n\n//#region ---- Constants ----\n\nconst DEFAULT_NODE_W = 220;\nconst DEFAULT_NODE_H = 88;\n\n//#endregion\n\n//#region ---- Helpers ----\n\nfunction spanTitle(span: TraceSpanDto): string {\n if (span.middlewareName) {\n return span.middlewareName;\n }\n return span.operationName;\n}\n\nfunction spanSubtitle(span: TraceSpanDto): string {\n const parts: string[] = [];\n if (span.spanKind) {\n parts.push(span.spanKind);\n }\n if (span.duration != null) {\n parts.push(`${span.duration} ms`);\n }\n if (span.nextMiddleware) {\n parts.push(`→ ${span.nextMiddleware}`);\n }\n return parts.join(' · ');\n}\n\nfunction statusColors(status: string | undefined): {\n color?: AXPWorkflowSemanticColor;\n borderColor?: AXPWorkflowSemanticColor;\n} {\n if (status === 'error') {\n return { color: 'danger', borderColor: 'danger' };\n }\n if (status === 'running') {\n return { color: 'warning', borderColor: 'warning' };\n }\n return { borderColor: 'success' };\n}\n\nfunction sortSpans(spans: TraceSpanDto[]): TraceSpanDto[] {\n return [...spans].sort((a, b) => {\n const aStart = Date.parse(a.startTime) || 0;\n const bStart = Date.parse(b.startTime) || 0;\n if (aStart !== bStart) {\n return aStart - bStart;\n }\n return (a.order ?? 0) - (b.order ?? 0);\n });\n}\n\nexport function resolveRootOpSpanId(spans: TraceSpanDto[]): string | undefined {\n const ops = spans.filter((span) => span.spanKind === 'op');\n const rootOp = ops.find((span) => !span.parentSpanId);\n return rootOp?.spanId ?? ops[0]?.spanId;\n}\n\nexport function hasChildSpans(spans: TraceSpanDto[], parentSpanId: string): boolean {\n return spans.some((span) => span.parentSpanId === parentSpanId);\n}\n\nfunction childrenByParent(spans: TraceSpanDto[]): Map<string, TraceSpanDto[]> {\n const map = new Map<string, TraceSpanDto[]>();\n for (const span of spans) {\n const parentId = span.parentSpanId;\n if (!parentId) {\n continue;\n }\n const siblings = map.get(parentId);\n if (siblings) {\n siblings.push(span);\n } else {\n map.set(parentId, [span]);\n }\n }\n for (const [parentId, siblings] of map) {\n map.set(parentId, sortSpans(siblings));\n }\n return map;\n}\n\n/**\n * Current layer under a focused op:\n * - flatten onion middleware/backend descendants\n * - stop at nested `op` spans (those stay one drill-in step)\n */\nfunction layerSpansForFocus(spans: TraceSpanDto[], focusSpanId: string): TraceSpanDto[] {\n const childrenOf = childrenByParent(spans);\n const layer: TraceSpanDto[] = [];\n\n const visit = (parentId: string): void => {\n const children = childrenOf.get(parentId) ?? [];\n for (const child of children) {\n layer.push(child);\n if (child.spanKind !== 'op') {\n visit(child.spanId);\n }\n }\n };\n\n visit(focusSpanId);\n return layer;\n}\n\n//#endregion\n\n//#region ---- Builder ----\n\nexport function buildTraceFlowDiagram(\n timeline: TraceTimelineDto | null | undefined,\n focusSpanId?: string | null,\n): AXPWorkflowDiagramModel | null {\n if (!timeline?.spans?.length) {\n return null;\n }\n\n const spans = sortSpans(timeline.spans);\n const activeOpId = focusSpanId ?? resolveRootOpSpanId(spans);\n if (!activeOpId) {\n return null;\n }\n\n const layerSpans = layerSpansForFocus(spans, activeOpId);\n if (!layerSpans.length) {\n return null;\n }\n\n const nodes: AXPWorkflowNode[] = layerSpans.map((span, index) => {\n const colors = statusColors(span.status);\n const isNestedOp = span.spanKind === 'op';\n const drillable = isNestedOp && hasChildSpans(spans, span.spanId);\n\n return {\n id: span.spanId,\n type: span.spanKind ?? 'span',\n title: spanTitle(span),\n icon: isNestedOp\n ? 'fa-light fa-diagram-project'\n : span.spanKind === 'middleware'\n ? 'fa-light fa-layer-group'\n : span.spanKind === 'backend'\n ? 'fa-light fa-database'\n : 'fa-light fa-play',\n shape: 'rounded-rectangle',\n position: { x: index * 280, y: 40 },\n size: { width: DEFAULT_NODE_W, height: DEFAULT_NODE_H },\n inboundPorts: [{ id: `${span.spanId}:in`, kind: 'inbound', side: 'left', ratio: 0.5 }],\n outboundPorts: [{ id: `${span.spanId}:out`, kind: 'outbound', side: 'right', ratio: 0.5 }],\n readonly: true,\n color: colors.color as AXPWorkflowSemanticColor | undefined,\n borderColor: colors.borderColor as AXPWorkflowSemanticColor | undefined,\n data: {\n subtitle: spanSubtitle(span),\n span,\n drillable,\n drillTarget: drillable ? span.spanId : undefined,\n },\n };\n });\n\n const connectors = [];\n for (let i = 0; i < nodes.length - 1; i += 1) {\n const source = nodes[i];\n const target = nodes[i + 1];\n const sourceSpan = layerSpans[i];\n connectors.push({\n id: `${source.id}->${target.id}`,\n sourceNodeId: source.id,\n sourcePortId: `${source.id}:out`,\n targetNodeId: target.id,\n targetPortId: `${target.id}:in`,\n readonly: true,\n borderColor: (sourceSpan.status === 'error' ? 'danger' : 'primary') as AXPWorkflowSemanticColor,\n });\n }\n\n return arrangeWorkflowDiagram(\n {\n nodes,\n connectors,\n data: {\n traceId: timeline.traceId,\n kind: timeline.kind,\n operation: timeline.operation,\n focusSpanId: activeOpId,\n },\n },\n { direction: 'horizontal' },\n );\n}\n\n//#endregion\n","//#region ---- Trace flow display normalization ----\n\n/**\n * Prepares a value for the Trace Flow detail viewer:\n * - plain string → unchanged\n * - JSON string → parsed object/array (recursively)\n * - object/array → nested JSON strings expanded\n */\nexport function normalizeTraceDisplayValue(value: unknown, depth = 0): unknown {\n if (depth > 8) {\n return value;\n }\n\n if (typeof value === 'string') {\n return tryParseJsonString(value, depth);\n }\n\n if (Array.isArray(value)) {\n return value.map((entry) => normalizeTraceDisplayValue(entry, depth + 1));\n }\n\n if (value && typeof value === 'object') {\n const result: Record<string, unknown> = {};\n for (const [key, entry] of Object.entries(value as Record<string, unknown>)) {\n result[key] = normalizeTraceDisplayValue(entry, depth + 1);\n }\n return result;\n }\n\n return value;\n}\n\nfunction tryParseJsonString(value: string, depth: number): unknown {\n const trimmed = value.trim();\n if (!trimmed) {\n return value;\n }\n\n const looksLikeJson =\n (trimmed.startsWith('{') && trimmed.endsWith('}')) ||\n (trimmed.startsWith('[') && trimmed.endsWith(']')) ||\n ((trimmed.startsWith('\"') && trimmed.endsWith('\"')) && trimmed.length > 1);\n\n if (!looksLikeJson) {\n return value;\n }\n\n try {\n const parsed = JSON.parse(trimmed) as unknown;\n return normalizeTraceDisplayValue(parsed, depth + 1);\n } catch {\n return value;\n }\n}\n\n//#endregion\n","//#region ---- Imports ----\n\nimport { AXBadgeModule } from '@acorex/components/badge';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXTranslationModule, AXTranslationService } from '@acorex/core/translation';\nimport {\n AXPPageLayoutBase,\n AXPPageLayoutBaseComponent,\n} from '@acorex-platform/framework-client/layout/views';\nimport { AXPQueryExecutor } from '@acorex-platform/framework-client/runtime';\nimport { runtimeQueryPayloadData } from '@acorex-platform/framework-shared/core';\nimport {\n AXMSystemInsightQueryKeys,\n type TraceSpanDto,\n type TraceTimelineDto,\n} from '@acorex-platform/module-system-insight-client/contracts';\nimport {\n AXPWorkflowDesignerComponent,\n type AXPWorkflowDiagramModel,\n type AXPWorkflowNode,\n} from '@acorex-platform/module-platform-management-client';\nimport { CommonModule } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n effect,\n inject,\n input,\n signal,\n} from '@angular/core';\nimport {\n buildTraceFlowDiagram,\n resolveRootOpSpanId,\n} from './trace-flow-diagram.utils';\nimport { normalizeTraceDisplayValue } from './trace-flow-display.util';\n\n//#endregion\n\n//#region ---- Types ----\n\ninterface TraceFlowBreadcrumbItem {\n spanId: string;\n label: string;\n}\n\n//#endregion\n\n//#region ---- Component ----\n\n/**\n * TraceEntry detail tab — readonly flow chart of spans (middleware chain),\n * same hosting pattern as Timeline / workflow history Visual.\n */\n@Component({\n selector: 'axm-trace-flow-page',\n standalone: true,\n imports: [\n CommonModule,\n AXBadgeModule,\n AXButtonModule,\n AXLoadingModule,\n AXTranslationModule,\n AXPWorkflowDesignerComponent,\n ],\n templateUrl: './trace-flow-page.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: AXPPageLayoutBase,\n useExisting: AXMTraceFlowPageComponent,\n },\n ],\n host: { class: 'axm-trace-flow-page block w-full min-h-0' },\n})\nexport class AXMTraceFlowPageComponent extends AXPPageLayoutBaseComponent {\n //#region ---- Services & Dependencies ----\n\n private readonly queryExecutor = inject(AXPQueryExecutor);\n private readonly translationService = inject(AXTranslationService);\n\n //#endregion\n\n //#region ---- Inputs ----\n\n /** Entity record from TraceEntry detail host. */\n rootContext = input<Record<string, unknown>>();\n pageConfig = input<Record<string, unknown>>();\n\n //#endregion\n\n //#region ---- State Signals ----\n\n readonly loading = signal(true);\n readonly timeline = signal<TraceTimelineDto | null>(null);\n readonly selectedSpan = signal<TraceSpanDto | null>(null);\n readonly focusSpanStack = signal<string[]>([]);\n #suppressNodeDrill = false;\n\n readonly focusSpanId = computed(() => {\n const stack = this.focusSpanStack();\n if (stack.length) {\n return stack[stack.length - 1];\n }\n const spans = this.timeline()?.spans;\n return spans?.length ? resolveRootOpSpanId(spans) : undefined;\n });\n\n readonly diagram = computed<AXPWorkflowDiagramModel | null>(() =>\n buildTraceFlowDiagram(this.timeline(), this.focusSpanId()),\n );\n\n readonly drillBreadcrumbs = computed<TraceFlowBreadcrumbItem[]>(() => {\n const timeline = this.timeline();\n if (!timeline?.spans?.length) {\n return [];\n }\n\n const spans = timeline.spans;\n const rootId = resolveRootOpSpanId(spans);\n if (!rootId) {\n return [];\n }\n\n const items: TraceFlowBreadcrumbItem[] = [];\n const rootSpan = spans.find((span) => span.spanId === rootId);\n items.push({\n spanId: rootId,\n label: rootSpan?.operationName ?? timeline.operation ?? rootId,\n });\n\n for (const spanId of this.focusSpanStack()) {\n const span = spans.find((item) => item.spanId === spanId);\n if (span) {\n items.push({ spanId, label: span.operationName });\n }\n }\n\n return items;\n });\n\n readonly highlightedNodeIds = computed(() => {\n const id = this.selectedSpan()?.spanId;\n return id ? [id] : [];\n });\n\n readonly traceId = computed(() => {\n const ctx = this.rootContext() ?? {};\n const fromTraceId = typeof ctx['traceId'] === 'string' ? ctx['traceId'].trim() : '';\n if (fromTraceId) {\n return fromTraceId;\n }\n const fromId = typeof ctx['id'] === 'string' ? ctx['id'].trim() : '';\n return fromId;\n });\n\n //#endregion\n\n //#region ---- Lifecycle ----\n\n #loadEffect = effect(() => {\n const id = this.traceId();\n void this.loadTimeline(id);\n });\n\n //#endregion\n\n //#region ---- Page metadata ----\n\n override async getPageTitle(): Promise<string> {\n return this.translationService.translateAsync('@system-insight:pages.trace-flow.title');\n }\n\n //#endregion\n\n //#region ---- Event Handlers ----\n\n onNodeClick(event: { node: AXPWorkflowNode }): void {\n const nodeId = event.node.id;\n const fromData = event.node.data?.['span'] as TraceSpanDto | undefined;\n const fromTimeline = this.timeline()?.spans?.find(\n (span) => span.spanId === nodeId || span.id === nodeId,\n );\n const span = fromData ?? fromTimeline ?? null;\n this.selectedSpan.set(span);\n\n const drillTarget = event.node.data?.['drillTarget'];\n if (\n !this.#suppressNodeDrill &&\n typeof drillTarget === 'string' &&\n drillTarget &&\n !this.focusSpanStack().includes(drillTarget)\n ) {\n this.#suppressNodeDrill = true;\n this.focusSpanStack.update((stack) => [...stack, drillTarget]);\n this.#releaseDrillSuppress();\n }\n\n this.recompute();\n }\n\n onBreadcrumbClick(index: number): void {\n this.#suppressNodeDrill = true;\n if (index <= 0) {\n this.focusSpanStack.set([]);\n } else {\n this.focusSpanStack.set(this.focusSpanStack().slice(0, index));\n }\n this.selectedSpan.set(null);\n this.#releaseDrillSuppress();\n this.recompute();\n }\n\n hasValue(value: unknown): boolean {\n if (value === undefined || value === null) {\n return false;\n }\n if (typeof value === 'string') {\n return value.trim().length > 0;\n }\n if (Array.isArray(value)) {\n return value.length > 0;\n }\n if (typeof value === 'object') {\n return Object.keys(value as Record<string, unknown>).length > 0;\n }\n return true;\n }\n\n /**\n * Display rules:\n * - plain string → as-is\n * - JSON string → parse, then pretty JSON\n * - object/array → pretty JSON (nested JSON strings also expanded)\n */\n formatJson(value: unknown): string {\n const normalized = normalizeTraceDisplayValue(value);\n if (typeof normalized === 'string') {\n return normalized;\n }\n try {\n return JSON.stringify(normalized, null, 2);\n } catch {\n return String(value);\n }\n }\n\n //#endregion\n\n //#region ---- Drill-in ----\n\n #releaseDrillSuppress(): void {\n queueMicrotask(() => {\n setTimeout(() => {\n this.#suppressNodeDrill = false;\n }, 250);\n });\n }\n\n //#endregion\n\n //#region ---- Data Loading ----\n\n private async loadTimeline(traceId: string): Promise<void> {\n if (!traceId) {\n this.timeline.set(null);\n this.selectedSpan.set(null);\n this.focusSpanStack.set([]);\n this.loading.set(false);\n return;\n }\n\n this.loading.set(true);\n try {\n const result = await this.queryExecutor.fetch<string, TraceTimelineDto>(\n AXMSystemInsightQueryKeys.TraceTimeline.Get,\n traceId,\n );\n const timeline = runtimeQueryPayloadData(result) ?? null;\n this.#suppressNodeDrill = true;\n this.timeline.set(timeline);\n this.focusSpanStack.set([]);\n this.selectedSpan.set(null);\n this.recompute();\n this.#releaseDrillSuppress();\n } finally {\n this.loading.set(false);\n }\n }\n\n //#endregion\n}\n\n//#endregion\n","<!-- ----- Trace flow chart page ----- -->\n<div class=\"axm-trace-flow flex flex-col gap-4 p-4 w-full min-h-0 h-full\">\n @if (loading()) {\n <!-- ----- Loading indicator while timeline is fetched ----- -->\n <div class=\"flex justify-center py-10\">\n <ax-loading />\n </div>\n }\n <!-- ----- Empty state when timeline is missing ----- -->\n @else if (!timeline()) {\n <p class=\"typo-caption text-muted\">\n {{ '@system-insight:pages.trace-flow.not-found' | translate | async }}\n </p>\n }\n <!-- ----- Flow chart + span details ----- -->\n @else {\n <div class=\"flex flex-wrap items-center gap-2\">\n @if (timeline()?.kind; as kind) {\n <ax-badge [text]=\"kind\" color=\"primary\" size=\"sm\"></ax-badge>\n }\n @if (timeline()?.operation; as operation) {\n <span class=\"text-sm\">{{ operation }}</span>\n }\n <span class=\"text-sm text-muted ms-auto\">\n {{ '@system-insight:pages.trace-flow.duration' | translate | async }}:\n {{ timeline()?.duration }} ms\n </span>\n </div>\n\n @if (drillBreadcrumbs().length > 1) {\n <!-- ----- Breadcrumb drill-in path ----- -->\n <nav class=\"flex flex-wrap items-center gap-1 text-sm\" [attr.aria-label]=\"('@system-insight:pages.trace-flow.layers-aria' | translate | async) ?? ''\">\n @for (item of drillBreadcrumbs(); track item.spanId; let i = $index) {\n @if (i > 0) {\n <span class=\"text-muted px-1\">/</span>\n }\n @if (i < drillBreadcrumbs().length - 1) {\n <button\n type=\"button\"\n class=\"text-primary hover:underline truncate max-w-[240px]\"\n (click)=\"onBreadcrumbClick(i)\"\n >\n {{ item.label }}\n </button>\n }\n <!-- ----- Current layer label (not clickable) ----- -->\n @else {\n <span class=\"font-medium truncate max-w-[320px]\">{{ item.label }}</span>\n }\n }\n </nav>\n }\n\n <div class=\"axm-trace-flow__canvas border border-lightest rounded-md overflow-hidden min-h-[360px] flex-1\">\n @if (diagram(); as model) {\n <!-- ----- Readonly span flow chart ----- -->\n <axp-workflow-designer\n [model]=\"model\"\n [readonly]=\"true\"\n [showPortLabels]=\"false\"\n [highlightedNodeIds]=\"highlightedNodeIds()\"\n (nodeClick)=\"onNodeClick($event)\"\n />\n }\n <!-- ----- Empty diagram fallback ----- -->\n @else {\n <p class=\"typo-caption text-muted p-4\">\n {{ '@system-insight:pages.trace-flow.empty' | translate | async }}\n </p>\n }\n </div>\n\n @if (selectedSpan(); as span) {\n <!-- ----- Selected span details (metadata + IO) ----- -->\n <div class=\"border border-lightest rounded-md p-4 flex flex-col gap-4\">\n <div class=\"flex flex-wrap items-center gap-2\">\n <strong class=\"text-base\">{{ span.operationName }}</strong>\n @if (span.spanKind) {\n <ax-badge [text]=\"span.spanKind\" color=\"primary\" size=\"sm\"></ax-badge>\n }\n @if (span.middlewareName) {\n <ax-badge [text]=\"span.middlewareName\" color=\"secondary\" size=\"sm\"></ax-badge>\n }\n @if (span.status) {\n <ax-badge\n [text]=\"span.status\"\n [color]=\"span.status === 'error' ? 'danger' : 'success'\"\n size=\"sm\"\n ></ax-badge>\n }\n </div>\n\n <!-- ----- Span metadata grid ----- -->\n <div class=\"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-3 text-sm\">\n <div>\n <div class=\"text-muted mb-1\">\n {{ '@system-insight:pages.trace-flow.span-id' | translate | async }}\n </div>\n <div class=\"font-mono break-all\">{{ span.spanId }}</div>\n </div>\n @if (span.parentSpanId) {\n <div>\n <div class=\"text-muted mb-1\">\n {{ '@system-insight:pages.trace-flow.parent-span-id' | translate | async }}\n </div>\n <div class=\"font-mono break-all\">{{ span.parentSpanId }}</div>\n </div>\n }\n @if (span.serviceName) {\n <div>\n <div class=\"text-muted mb-1\">\n {{ '@system-insight:fields.service-name' | translate | async }}\n </div>\n <div>{{ span.serviceName }}</div>\n </div>\n }\n <div>\n <div class=\"text-muted mb-1\">\n {{ '@system-insight:pages.trace-flow.duration' | translate | async }}\n </div>\n <div>{{ span.duration ?? 0 }} ms</div>\n </div>\n <div>\n <div class=\"text-muted mb-1\">\n {{ '@system-insight:fields.start-time' | translate | async }}\n </div>\n <div>{{ span.startTime }}</div>\n </div>\n @if (span.order != null) {\n <div>\n <div class=\"text-muted mb-1\">\n {{ '@system-insight:fields.order' | translate | async }}\n </div>\n <div>{{ span.order }}</div>\n </div>\n }\n @if (span.nextMiddleware) {\n <div>\n <div class=\"text-muted mb-1\">\n {{ '@system-insight:pages.trace-flow.next-middleware' | translate | async }}\n </div>\n <div>{{ span.nextMiddleware }}</div>\n </div>\n }\n </div>\n\n @if (span.error) {\n <!-- ----- Span error ----- -->\n <div>\n <div class=\"text-sm font-medium mb-1 text-danger\">\n {{ '@system-insight:fields.error' | translate | async }}\n </div>\n <pre class=\"text-sm whitespace-pre-wrap m-0 p-2 rounded-md bg-lightest overflow-auto max-h-40\">{{\n span.error\n }}</pre>\n </div>\n }\n\n <!-- ----- Input snapshot (always visible) ----- -->\n <div>\n <div class=\"text-sm font-medium mb-1\">\n {{ '@system-insight:pages.trace-flow.input' | translate | async }}\n </div>\n @if (hasValue(span.input)) {\n <pre class=\"text-xs whitespace-pre-wrap m-0 p-2 rounded-md bg-lightest overflow-auto max-h-56\">{{\n formatJson(span.input)\n }}</pre>\n }\n @else {\n <p class=\"typo-caption text-muted m-0\">\n {{ '@system-insight:pages.trace-flow.no-input' | translate | async }}\n </p>\n }\n </div>\n\n <!-- ----- Output snapshot (always visible) ----- -->\n <div>\n <div class=\"text-sm font-medium mb-1\">\n {{ '@system-insight:pages.trace-flow.output' | translate | async }}\n </div>\n @if (hasValue(span.output)) {\n <pre class=\"text-xs whitespace-pre-wrap m-0 p-2 rounded-md bg-lightest overflow-auto max-h-56\">{{\n formatJson(span.output)\n }}</pre>\n }\n @else {\n <p class=\"typo-caption text-muted m-0\">\n {{ '@system-insight:pages.trace-flow.no-output' | translate | async }}\n </p>\n }\n </div>\n\n @if (hasValue(span.tags)) {\n <!-- ----- Span tags / attributes ----- -->\n <div>\n <div class=\"text-sm font-medium mb-1\">\n {{ '@system-insight:pages.trace-flow.attributes' | translate | async }}\n </div>\n <pre class=\"text-xs whitespace-pre-wrap m-0 p-2 rounded-md bg-lightest overflow-auto max-h-56\">{{\n formatJson(span.tags)\n }}</pre>\n </div>\n }\n\n @if (span.logs?.length) {\n <!-- ----- Span logs / events ----- -->\n <div>\n <div class=\"text-sm font-medium mb-1\">\n {{ '@system-insight:pages.trace-flow.events' | translate | async }}\n </div>\n <pre class=\"text-xs whitespace-pre-wrap m-0 p-2 rounded-md bg-lightest overflow-auto max-h-56\">{{\n formatJson(span.logs)\n }}</pre>\n </div>\n }\n </div>\n }\n }\n</div>\n"],"names":["i2","i3","i4"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAOA;MAGa,qCAAqC,CAAA;AAChD,IAAA,MAAM,UAAU,GAAA;QACd,OAAO;AACL,YAAA;AACE,gBAAA,GAAG,EAAE,iCAAiC;AACtC,gBAAA,MAAM,EAAE,MACN,2EAAyC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,6BAA6B,CAAC;AACzF,aAAA;AACD,YAAA;AACE,gBAAA,GAAG,EAAE,6BAA6B;AAClC,gBAAA,MAAM,EAAE,MAAM,uEAAqC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,yBAAyB,CAAC;AAC7F,aAAA;SACF;IACH;8GAbW,qCAAqC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AA,EAAA,kBAAA,CAAA,EAAA,OAAA,EAAA,CAAA,aAAA,EAAA,YAAA,EAAA,qBAAA,EAAA,eAAA,EAAA,qBAAA,EAAA,iBAAA,EAAA,WAAA,EAAA,iBAAA,EAAA,iBAAA,EAAA,eAAA,EAAA,aAAA,EAAA,iBAAA,EAAA,eAAA,EAAA,cAAA,EAAA,aAAA,EAAA,gBAAA,EAAA,sBAAA,EAAA,mBAAA,EAAA,oBAAA,EAAA,kBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAAC,EAAA,CAAA,SAAA,EAAA,IAAA,EAAA,OAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAAC,EAAA,CAAA,gBAAA,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAYnB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBArBrC,SAAS;+BACE,qBAAqB,EAAA,UAAA,EACnB,IAAI,EAAA,OAAA,EACP;wBACP,YAAY;wBACZ,aAAa;wBACb,cAAc;wBACd,eAAe;wBACf,mBAAmB;wBACnB,4BAA4B;qBAC7B,EAAA,eAAA,EAEgB,uBAAuB,CAAC,MAAM,EAAA,SAAA,EACpC;AACT,wBAAA;AACE,4BAAA,OAAO,EAAE,iBAAiB;AAC1B,4BAAA,WAAW,EAAA,yBAA2B;AACvC,yBAAA;AACF,qBAAA,EAAA,IAAA,EACK,EAAE,KAAK,EAAE,0CAA0C,EAAE,EAAA,QAAA,EAAA,0sQAAA,EAAA;;;;;;;;"}
|
|
@@ -7,8 +7,8 @@ import { inject, Injectable, NgModule } from '@angular/core';
|
|
|
7
7
|
import { AXPSearchCommandProvider, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex-platform/framework-client/common';
|
|
8
8
|
import { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';
|
|
9
9
|
import { AXPCommonMenuKeys, AXPCommonPermissionGroupKeys } from '@acorex-platform/module-common-client/contracts';
|
|
10
|
-
import { RootConfig, AXPAdministrationPermissionKeys, AXMSystemInsightMenuKeys, AXPSystemInsightSettings } from '@acorex-platform/module-system-insight-client/contracts';
|
|
11
|
-
import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
|
|
10
|
+
import { RootConfig, AXPAdministrationPermissionKeys, AXMSystemInsightMenuKeys, AXPSystemInsightSettings, AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS } from '@acorex-platform/module-system-insight-client/contracts';
|
|
11
|
+
import { AXP_LOG_LEVELS, AXPWidgetsList, AXP_DEBUG_CHANNELS } from '@acorex-platform/framework-shared/core';
|
|
12
12
|
|
|
13
13
|
//#region ---- Imports ----
|
|
14
14
|
//#endregion
|
|
@@ -54,18 +54,25 @@ class AXMSystemInsightMenuProvider {
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
+
//#region ----- Imports -----
|
|
58
|
+
//#endregion
|
|
59
|
+
//#region ----- Constants -----
|
|
60
|
+
const RECORDED_LEVELS_I18N = '@system-insight:logs.settings.level.items.recorded';
|
|
61
|
+
const DEBUG_CHANNELS_I18N = '@system-insight:logs.settings.level.items.debug-channels';
|
|
62
|
+
const RECORDED_LEVEL_OPTIONS = AXP_LOG_LEVELS.filter((level) => level !== 'trace');
|
|
63
|
+
const TRACES_I18N = '@system-insight:logs.settings.traces';
|
|
64
|
+
//#endregion
|
|
65
|
+
//#region ----- Setting Provider -----
|
|
57
66
|
/**
|
|
58
|
-
* Provides configuration definitions for
|
|
59
|
-
* Settings are consumed on the server for retention, log level, indexing, and critical-error file fallback.
|
|
67
|
+
* Provides configuration definitions for platform logging and trace recording.
|
|
60
68
|
*/
|
|
61
69
|
class AXPSystemInsightSettingProvider {
|
|
62
70
|
async provide(context) {
|
|
63
71
|
const retentionVisibility = `{{ context.eval('${AXPSystemInsightSettings.RetentionEnabled}') }}`;
|
|
64
|
-
const asyncVisibility = `{{ context.eval('${AXPSystemInsightSettings.AsyncLogging}') }}`;
|
|
65
72
|
const fileFallbackVisibility = `{{ context.eval('${AXPSystemInsightSettings.CriticalErrorFileEnabled}') }}`;
|
|
66
73
|
context
|
|
67
74
|
.addGroup('system-insight', '@system-insight:logs.settings.group.title', '@system-insight:logs.settings.group.description', 'fa-light fa-file-lines', undefined, 900)
|
|
68
|
-
//#region
|
|
75
|
+
//#region ----- Retention -----
|
|
69
76
|
.addSection('retention', '@system-insight:logs.settings.retention.title', '@system-insight:logs.settings.retention.description')
|
|
70
77
|
.addSetting({
|
|
71
78
|
key: AXPSystemInsightSettings.RetentionEnabled,
|
|
@@ -131,7 +138,7 @@ class AXPSystemInsightSettingProvider {
|
|
|
131
138
|
})
|
|
132
139
|
.endSection()
|
|
133
140
|
//#endregion
|
|
134
|
-
//#region
|
|
141
|
+
//#region ----- Critical Error File Fallback -----
|
|
135
142
|
.addSection('storage', '@system-insight:logs.settings.storage.title', '@system-insight:logs.settings.storage.description')
|
|
136
143
|
.addSetting({
|
|
137
144
|
key: AXPSystemInsightSettings.CriticalErrorFileEnabled,
|
|
@@ -164,98 +171,109 @@ class AXPSystemInsightSettingProvider {
|
|
|
164
171
|
})
|
|
165
172
|
.endSection()
|
|
166
173
|
//#endregion
|
|
167
|
-
//#region
|
|
174
|
+
//#region ----- Log Levels -----
|
|
168
175
|
.addSection('level', '@system-insight:logs.settings.level.title', '@system-insight:logs.settings.level.description')
|
|
169
176
|
.addSetting({
|
|
170
|
-
key: AXPSystemInsightSettings.
|
|
171
|
-
title:
|
|
172
|
-
description:
|
|
177
|
+
key: AXPSystemInsightSettings.RecordedLogLevels,
|
|
178
|
+
title: `${RECORDED_LEVELS_I18N}.title`,
|
|
179
|
+
description: `${RECORDED_LEVELS_I18N}.description`,
|
|
173
180
|
scope: 'P',
|
|
174
181
|
overridableAt: [],
|
|
175
182
|
isInherited: false,
|
|
176
|
-
defaultValue:
|
|
183
|
+
defaultValue: [...AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS[AXPSystemInsightSettings.RecordedLogLevels]],
|
|
177
184
|
widget: {
|
|
178
|
-
type: AXPWidgetsList.Editors.
|
|
185
|
+
type: AXPWidgetsList.Editors.SelectionList,
|
|
179
186
|
options: {
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
{ id: 'warn', title: '@system-insight:logs.settings.level.items.default.options.warn' },
|
|
185
|
-
{ id: 'info', title: '@system-insight:logs.settings.level.items.default.options.info' },
|
|
186
|
-
{ id: 'debug', title: '@system-insight:logs.settings.level.items.default.options.debug' },
|
|
187
|
-
{ id: 'trace', title: '@system-insight:logs.settings.level.items.default.options.trace' },
|
|
188
|
-
],
|
|
187
|
+
multiple: true,
|
|
188
|
+
valueField: 'value',
|
|
189
|
+
textField: 'text',
|
|
190
|
+
dataSource: RECORDED_LEVEL_OPTIONS.map((value) => ({ value, text: `${RECORDED_LEVELS_I18N}.options.${value}` })),
|
|
189
191
|
},
|
|
190
192
|
},
|
|
191
193
|
})
|
|
192
|
-
.endSection()
|
|
193
|
-
//#endregion
|
|
194
|
-
//#region ---- Performance ----
|
|
195
|
-
.addSection('performance', '@system-insight:logs.settings.performance.title', '@system-insight:logs.settings.performance.description')
|
|
196
194
|
.addSetting({
|
|
197
|
-
key: AXPSystemInsightSettings.
|
|
198
|
-
title:
|
|
199
|
-
description:
|
|
195
|
+
key: AXPSystemInsightSettings.DebugChannels,
|
|
196
|
+
title: `${DEBUG_CHANNELS_I18N}.title`,
|
|
197
|
+
description: `${DEBUG_CHANNELS_I18N}.description`,
|
|
200
198
|
scope: 'P',
|
|
201
199
|
overridableAt: [],
|
|
202
200
|
isInherited: false,
|
|
203
|
-
defaultValue:
|
|
201
|
+
defaultValue: [...AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS[AXPSystemInsightSettings.DebugChannels]],
|
|
204
202
|
widget: {
|
|
205
|
-
type: AXPWidgetsList.Editors.
|
|
203
|
+
type: AXPWidgetsList.Editors.SelectionList,
|
|
206
204
|
options: {
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
205
|
+
multiple: true,
|
|
206
|
+
valueField: 'value',
|
|
207
|
+
textField: 'text',
|
|
208
|
+
direction: 'vertical',
|
|
209
|
+
visibility: `{{
|
|
210
|
+
const levels = context.eval('${AXPSystemInsightSettings.RecordedLogLevels}');
|
|
211
|
+
return Array.isArray(levels) && levels.some((item) => {
|
|
212
|
+
const level = typeof item === 'string' ? item : item?.value;
|
|
213
|
+
return typeof level === 'string' && level.trim().toLowerCase() === 'debug';
|
|
214
|
+
});
|
|
215
|
+
}}`,
|
|
216
|
+
dataSource: AXP_DEBUG_CHANNELS.map((value) => ({ value, text: `${DEBUG_CHANNELS_I18N}.options.${value}` })),
|
|
211
217
|
},
|
|
212
218
|
},
|
|
213
219
|
})
|
|
220
|
+
.endSection()
|
|
221
|
+
//#endregion
|
|
222
|
+
//#region ----- Traces -----
|
|
223
|
+
.addSection('traces', `${TRACES_I18N}.title`, `${TRACES_I18N}.description`)
|
|
214
224
|
.addSetting({
|
|
215
|
-
key: AXPSystemInsightSettings.
|
|
216
|
-
title:
|
|
217
|
-
description:
|
|
225
|
+
key: AXPSystemInsightSettings.TraceEnabled,
|
|
226
|
+
title: `${TRACES_I18N}.items.trace-enabled.title`,
|
|
227
|
+
description: `${TRACES_I18N}.items.trace-enabled.description`,
|
|
218
228
|
scope: 'P',
|
|
219
229
|
overridableAt: [],
|
|
220
230
|
isInherited: false,
|
|
221
|
-
defaultValue:
|
|
231
|
+
defaultValue: AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS[AXPSystemInsightSettings.TraceEnabled],
|
|
222
232
|
widget: {
|
|
223
233
|
type: AXPWidgetsList.Editors.ToggleSwitch,
|
|
224
234
|
},
|
|
225
235
|
})
|
|
226
236
|
.addSetting({
|
|
227
|
-
key: AXPSystemInsightSettings.
|
|
228
|
-
title:
|
|
229
|
-
description:
|
|
237
|
+
key: AXPSystemInsightSettings.TraceLevel,
|
|
238
|
+
title: `${TRACES_I18N}.items.trace-level.title`,
|
|
239
|
+
description: `${TRACES_I18N}.items.trace-level.description`,
|
|
230
240
|
scope: 'P',
|
|
231
241
|
overridableAt: [],
|
|
232
242
|
isInherited: false,
|
|
233
|
-
defaultValue:
|
|
243
|
+
defaultValue: AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS[AXPSystemInsightSettings.TraceLevel],
|
|
234
244
|
widget: {
|
|
235
|
-
type: AXPWidgetsList.Editors.
|
|
245
|
+
type: AXPWidgetsList.Editors.SelectBox,
|
|
236
246
|
options: {
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
visibility:
|
|
247
|
+
valueField: 'value',
|
|
248
|
+
textField: 'text',
|
|
249
|
+
visibility: `{{ context.eval('${AXPSystemInsightSettings.TraceEnabled}') }}`,
|
|
250
|
+
dataSource: [
|
|
251
|
+
{ value: 'low', text: `${TRACES_I18N}.items.trace-level.options.low` },
|
|
252
|
+
{ value: 'normal', text: `${TRACES_I18N}.items.trace-level.options.normal` },
|
|
253
|
+
{ value: 'full', text: `${TRACES_I18N}.items.trace-level.options.full` },
|
|
254
|
+
],
|
|
240
255
|
},
|
|
241
256
|
},
|
|
242
257
|
})
|
|
258
|
+
.endSection()
|
|
259
|
+
//#endregion
|
|
260
|
+
//#region ----- Performance -----
|
|
261
|
+
.addSection('performance', '@system-insight:logs.settings.performance.title', '@system-insight:logs.settings.performance.description')
|
|
243
262
|
.addSetting({
|
|
244
|
-
key: AXPSystemInsightSettings.
|
|
245
|
-
title: '@system-insight:logs.settings.performance.items.
|
|
246
|
-
description: '@system-insight:logs.settings.performance.items.
|
|
263
|
+
key: AXPSystemInsightSettings.SlowRequestThresholdMs,
|
|
264
|
+
title: '@system-insight:logs.settings.performance.items.slow-request-threshold.title',
|
|
265
|
+
description: '@system-insight:logs.settings.performance.items.slow-request-threshold.description',
|
|
247
266
|
scope: 'P',
|
|
248
267
|
overridableAt: [],
|
|
249
268
|
isInherited: false,
|
|
250
|
-
defaultValue:
|
|
269
|
+
defaultValue: 500,
|
|
251
270
|
widget: {
|
|
252
271
|
type: AXPWidgetsList.Editors.NumberBox,
|
|
253
272
|
options: {
|
|
254
|
-
minValue:
|
|
273
|
+
minValue: 100,
|
|
255
274
|
maxValue: 60000,
|
|
256
|
-
step:
|
|
275
|
+
step: 100,
|
|
257
276
|
suffix: 'ms',
|
|
258
|
-
visibility: asyncVisibility,
|
|
259
277
|
},
|
|
260
278
|
},
|
|
261
279
|
})
|
|
@@ -264,6 +282,7 @@ class AXPSystemInsightSettingProvider {
|
|
|
264
282
|
.endGroup();
|
|
265
283
|
}
|
|
266
284
|
}
|
|
285
|
+
//#endregion
|
|
267
286
|
|
|
268
287
|
class AXMSystemInsightSearchCommandProvider extends AXPSearchCommandProvider {
|
|
269
288
|
constructor() {
|
|
@@ -306,10 +325,10 @@ class AXMSystemInsightModule {
|
|
|
306
325
|
provideCommandSetups([
|
|
307
326
|
{
|
|
308
327
|
key: 'SystemInsight:Trace:OpenTimeline',
|
|
309
|
-
command: () => import('./acorex-platform-module-system-insight-client-open-trace-timeline.command-
|
|
328
|
+
command: () => import('./acorex-platform-module-system-insight-client-open-trace-timeline.command-B6U-ZtMy.mjs').then((m) => m.AXMOpenTraceTimelineCommand),
|
|
310
329
|
},
|
|
311
330
|
]),
|
|
312
|
-
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-platform-module-system-insight-client-
|
|
331
|
+
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-platform-module-system-insight-client-traces-BqhmtVFB.mjs').then((m) => m.AXMTraceTimelinePageComponentProvider)),
|
|
313
332
|
{ provide: AXP_PERMISSION_DEFINITION_PROVIDER, useClass: AXMSystemInsightPermissionDefinitionProvider, multi: true },
|
|
314
333
|
{ provide: AXP_MENU_PROVIDER, useClass: AXMSystemInsightMenuProvider, multi: true },
|
|
315
334
|
{ provide: AXP_SETTING_DEFINITION_PROVIDER, useClass: AXPSystemInsightSettingProvider, multi: true },
|
|
@@ -324,10 +343,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
324
343
|
provideCommandSetups([
|
|
325
344
|
{
|
|
326
345
|
key: 'SystemInsight:Trace:OpenTimeline',
|
|
327
|
-
command: () => import('./acorex-platform-module-system-insight-client-open-trace-timeline.command-
|
|
346
|
+
command: () => import('./acorex-platform-module-system-insight-client-open-trace-timeline.command-B6U-ZtMy.mjs').then((m) => m.AXMOpenTraceTimelineCommand),
|
|
328
347
|
},
|
|
329
348
|
]),
|
|
330
|
-
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-platform-module-system-insight-client-
|
|
349
|
+
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-platform-module-system-insight-client-traces-BqhmtVFB.mjs').then((m) => m.AXMTraceTimelinePageComponentProvider)),
|
|
331
350
|
{ provide: AXP_PERMISSION_DEFINITION_PROVIDER, useClass: AXMSystemInsightPermissionDefinitionProvider, multi: true },
|
|
332
351
|
{ provide: AXP_MENU_PROVIDER, useClass: AXMSystemInsightMenuProvider, multi: true },
|
|
333
352
|
{ provide: AXP_SETTING_DEFINITION_PROVIDER, useClass: AXPSystemInsightSettingProvider, multi: true },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-system-insight-client.mjs","sources":["../../../../libs/modules/system-insight/client/src/lib/menu.provider.ts","../../../../libs/modules/system-insight/client/src/lib/settings.provider.ts","../../../../libs/modules/system-insight/client/src/lib/search-command.provider.ts","../../../../libs/modules/system-insight/client/src/lib/permission-definition.provider.ts","../../../../libs/modules/system-insight/client/src/lib/system-insight.module.ts","../../../../libs/modules/system-insight/client/src/acorex-platform-module-system-insight-client.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPMenuProvider, AXPMenuProviderContext } from '@acorex-platform/framework-client/common';\nimport { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport { inject } from '@angular/core';\nimport { AXPCommonMenuKeys } from '@acorex-platform/module-common-client/contracts';\nimport {\n AXPAdministrationPermissionKeys,\n AXMSystemInsightMenuKeys,\n RootConfig,\n} from '@acorex-platform/module-system-insight-client/contracts';\n\n//#endregion\n\nexport class AXMSystemInsightMenuProvider implements AXPMenuProvider {\n private readonly entityService = inject(AXPEntityService);\n\n async provide(context: AXPMenuProviderContext): Promise<void> {\n const module = RootConfig.module;\n const entityPath = (entityName: string) => this.entityService.createPath(module.name, entityName);\n const viewObservabilityPolicy = {\n features: [module.name],\n permissions: [AXPAdministrationPermissionKeys.ViewObservability],\n };\n\n context.find(AXPCommonMenuKeys.Administration).addItems([\n {\n name: AXMSystemInsightMenuKeys.Root,\n priority: 3,\n text: module.title,\n icon: module.icon,\n type: 'menu',\n policy: viewObservabilityPolicy,\n children: [\n {\n name: AXMSystemInsightMenuKeys.Logs,\n text: RootConfig.entities.logEntry.titlePlural,\n path: entityPath(RootConfig.entities.logEntry.name),\n icon: RootConfig.entities.logEntry.icon,\n priority: 1,\n policy: viewObservabilityPolicy,\n },\n {\n name: AXMSystemInsightMenuKeys.Traces,\n text: RootConfig.entities.traceEntry.titlePlural,\n path: entityPath(RootConfig.entities.traceEntry.name),\n icon: RootConfig.entities.traceEntry.icon,\n priority: 2,\n policy: viewObservabilityPolicy,\n },\n ],\n },\n ]);\n }\n}\n","import { AXPSettingDefinitionProvider, AXPSettingDefinitionProviderContext } from '@acorex-platform/framework-client/common';\nimport { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPSystemInsightSettings } from '@acorex-platform/module-system-insight-client/contracts';\n\n/**\n * Provides configuration definitions for the System Insight module.\n * Settings are consumed on the server for retention, log level, indexing, and critical-error file fallback.\n */\nexport class AXPSystemInsightSettingProvider implements AXPSettingDefinitionProvider {\n async provide(context: AXPSettingDefinitionProviderContext): Promise<void> {\n const retentionVisibility = `{{ context.eval('${AXPSystemInsightSettings.RetentionEnabled}') }}`;\n const asyncVisibility = `{{ context.eval('${AXPSystemInsightSettings.AsyncLogging}') }}`;\n const fileFallbackVisibility = `{{ context.eval('${AXPSystemInsightSettings.CriticalErrorFileEnabled}') }}`;\n\n context\n .addGroup(\n 'system-insight',\n '@system-insight:logs.settings.group.title',\n '@system-insight:logs.settings.group.description',\n 'fa-light fa-file-lines',\n undefined,\n 900,\n )\n\n //#region ---- Retention ----\n .addSection(\n 'retention',\n '@system-insight:logs.settings.retention.title',\n '@system-insight:logs.settings.retention.description',\n )\n .addSetting({\n key: AXPSystemInsightSettings.RetentionEnabled,\n title: '@system-insight:logs.settings.retention.items.enabled.title',\n description: '@system-insight:logs.settings.retention.items.enabled.description',\n scope: 'P',\n overridableAt: [],\n isInherited: false,\n defaultValue: true,\n widget: {\n type: AXPWidgetsList.Editors.ToggleSwitch,\n },\n })\n .addSetting({\n key: AXPSystemInsightSettings.RetentionPeriod,\n title: '@system-insight:logs.settings.retention.items.period.title',\n description: '@system-insight:logs.settings.retention.items.period.description',\n scope: 'P',\n overridableAt: [],\n isInherited: false,\n defaultValue: 30,\n widget: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: {\n minValue: 1,\n maxValue: 365,\n visibility: retentionVisibility,\n },\n },\n validationRules: [{ rule: 'required' }],\n })\n .addSetting({\n key: AXPSystemInsightSettings.RetentionBatchSize,\n title: '@system-insight:logs.settings.retention.items.batch-size.title',\n description: '@system-insight:logs.settings.retention.items.batch-size.description',\n scope: 'P',\n overridableAt: [],\n isInherited: false,\n defaultValue: 500,\n widget: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: {\n minValue: 1,\n maxValue: 5000,\n visibility: retentionVisibility,\n },\n },\n validationRules: [{ rule: 'required' }],\n })\n .addSetting({\n key: AXPSystemInsightSettings.RetentionPurgeCron,\n title: '@system-insight:logs.settings.retention.items.purge-cron.title',\n description: '@system-insight:logs.settings.retention.items.purge-cron.description',\n scope: 'P',\n overridableAt: [],\n isInherited: false,\n defaultValue: '0 4 * * *',\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n options: { visibility: retentionVisibility },\n },\n validationRules: [{ rule: 'required' }],\n })\n .endSection()\n //#endregion\n\n //#region ---- Critical Error File Fallback ----\n .addSection(\n 'storage',\n '@system-insight:logs.settings.storage.title',\n '@system-insight:logs.settings.storage.description',\n )\n .addSetting({\n key: AXPSystemInsightSettings.CriticalErrorFileEnabled,\n title: '@system-insight:logs.settings.storage.items.critical-file-enabled.title',\n description: '@system-insight:logs.settings.storage.items.critical-file-enabled.description',\n scope: 'P',\n overridableAt: [],\n isInherited: false,\n defaultValue: true,\n widget: {\n type: AXPWidgetsList.Editors.ToggleSwitch,\n },\n })\n .addSetting({\n key: AXPSystemInsightSettings.StorageLocation,\n title: '@system-insight:logs.settings.storage.items.location.title',\n description: '@system-insight:logs.settings.storage.items.location.description',\n scope: 'P',\n overridableAt: [],\n isInherited: false,\n defaultValue: './logs/acorex',\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@system-insight:logs.settings.storage.items.location.placeholder',\n visibility: fileFallbackVisibility,\n },\n },\n validationRules: [{ rule: 'required' }],\n })\n .endSection()\n //#endregion\n\n //#region ---- Log Level ----\n .addSection(\n 'level',\n '@system-insight:logs.settings.level.title',\n '@system-insight:logs.settings.level.description',\n )\n .addSetting({\n key: AXPSystemInsightSettings.DefaultLogLevel,\n title: '@system-insight:logs.settings.level.items.default.title',\n description: '@system-insight:logs.settings.level.items.default.description',\n scope: 'P',\n overridableAt: [],\n isInherited: false,\n defaultValue: 'info',\n widget: {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n valueField: 'id',\n textField: 'title',\n dataSource: [\n { id: 'error', title: '@system-insight:logs.settings.level.items.default.options.error' },\n { id: 'warn', title: '@system-insight:logs.settings.level.items.default.options.warn' },\n { id: 'info', title: '@system-insight:logs.settings.level.items.default.options.info' },\n { id: 'debug', title: '@system-insight:logs.settings.level.items.default.options.debug' },\n { id: 'trace', title: '@system-insight:logs.settings.level.items.default.options.trace' },\n ],\n },\n },\n })\n .endSection()\n //#endregion\n\n //#region ---- Performance ----\n .addSection(\n 'performance',\n '@system-insight:logs.settings.performance.title',\n '@system-insight:logs.settings.performance.description',\n )\n .addSetting({\n key: AXPSystemInsightSettings.SlowRequestThresholdMs,\n title: '@system-insight:logs.settings.performance.items.slow-request-threshold.title',\n description: '@system-insight:logs.settings.performance.items.slow-request-threshold.description',\n scope: 'P',\n overridableAt: [],\n isInherited: false,\n defaultValue: 500,\n widget: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: {\n minValue: 100,\n maxValue: 60000,\n step: 100,\n suffix: 'ms',\n },\n },\n })\n .addSetting({\n key: AXPSystemInsightSettings.AsyncLogging,\n title: '@system-insight:logs.settings.performance.items.async.title',\n description: '@system-insight:logs.settings.performance.items.async.description',\n scope: 'P',\n overridableAt: [],\n isInherited: false,\n defaultValue: true,\n widget: {\n type: AXPWidgetsList.Editors.ToggleSwitch,\n },\n })\n .addSetting({\n key: AXPSystemInsightSettings.BatchSize,\n title: '@system-insight:logs.settings.performance.items.batch-size.title',\n description: '@system-insight:logs.settings.performance.items.batch-size.description',\n scope: 'P',\n overridableAt: [],\n isInherited: false,\n defaultValue: 100,\n widget: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: {\n minValue: 1,\n maxValue: 1000,\n visibility: asyncVisibility,\n },\n },\n })\n .addSetting({\n key: AXPSystemInsightSettings.FlushInterval,\n title: '@system-insight:logs.settings.performance.items.flush-interval.title',\n description: '@system-insight:logs.settings.performance.items.flush-interval.description',\n scope: 'P',\n overridableAt: [],\n isInherited: false,\n defaultValue: 5000,\n widget: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: {\n minValue: 1000,\n maxValue: 60000,\n step: 1000,\n suffix: 'ms',\n visibility: asyncVisibility,\n },\n },\n })\n .endSection()\n //#endregion\n\n .endGroup();\n }\n}\n","import { AXPSearchCommandProvider, AXPSearchResult } from '@acorex-platform/framework-client/common';\n\nexport class AXMSystemInsightSearchCommandProvider extends AXPSearchCommandProvider {\n commands: AXPSearchResult[] = [];\n}\n","//#region ---- Imports ----\n\nimport {\n AXPPermissionDefinitionProvider,\n AXPPermissionDefinitionProviderContext,\n} from '@acorex-platform/framework-client/auth';\nimport { AXPCommonPermissionGroupKeys } from '@acorex-platform/module-common-client/contracts';\nimport { AXPAdministrationPermissionKeys } from '@acorex-platform/module-system-insight-client/contracts';\nimport { Injectable } from '@angular/core';\n\n//#endregion\n\n//#region ---- Permission Definition Provider ----\n\n/**\n * Registers Observability section capabilities under Administration.\n */\n@Injectable()\nexport class AXMSystemInsightPermissionDefinitionProvider implements AXPPermissionDefinitionProvider {\n async define(context: AXPPermissionDefinitionProviderContext): Promise<void> {\n const keys = AXPAdministrationPermissionKeys;\n const groups = AXPCommonPermissionGroupKeys;\n const P = '@common:administration.permissions';\n const G = '@common:permission-groups';\n\n context.addGroup(groups.Administration.Root, `${G}.administration.title`, `${G}.administration.description`, { order: 120 });\n\n context\n .addGroup(\n groups.Administration.Observability,\n `${G}.administration-observability.title`,\n `${G}.administration-observability.description`,\n { parent: groups.Administration.Root, order: 80 },\n )\n .addPermission(\n keys.ViewObservability,\n `${P}.view-observability.title`,\n `${P}.view-observability.description`,\n )\n .endPermission()\n .addPermission(\n keys.MaintainObservability,\n `${P}.maintain-observability.title`,\n `${P}.maintain-observability.description`,\n )\n .endPermission()\n .endGroup();\n }\n}\n\n//#endregion\n","import { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/auth';\nimport { provideLazyProvider } from '@acorex-platform/framework-client/core';\nimport { AXP_PAGE_COMPONENT_PROVIDER } from '@acorex-platform/framework-client/layout/components';\nimport { AXPRuntimeModule, provideCommandSetups } from '@acorex-platform/framework-client/runtime';\nimport { NgModule } from '@angular/core';\nimport { AXP_MENU_PROVIDER, AXP_SEARCH_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/common';\nimport { AXMSystemInsightMenuProvider } from './menu.provider';\n\nimport { AXPSystemInsightSettingProvider } from './settings.provider';\nimport { AXMSystemInsightSearchCommandProvider } from './search-command.provider';\nimport { AXMSystemInsightPermissionDefinitionProvider } from './permission-definition.provider';\n\n@NgModule({\n imports: [AXPRuntimeModule],\n providers: [\n provideCommandSetups([\n {\n key: 'SystemInsight:Trace:OpenTimeline',\n command: () => import('./commands/open-trace-timeline.command').then((m) => m.AXMOpenTraceTimelineCommand),\n },\n ]),\n provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () =>\n import('./features/traces').then((m) => m.AXMTraceTimelinePageComponentProvider),\n ),\n { provide: AXP_PERMISSION_DEFINITION_PROVIDER, useClass: AXMSystemInsightPermissionDefinitionProvider, multi: true },\n { provide: AXP_MENU_PROVIDER, useClass: AXMSystemInsightMenuProvider, multi: true },\n \n { provide: AXP_SETTING_DEFINITION_PROVIDER, useClass: AXPSystemInsightSettingProvider, multi: true },\n { provide: AXP_SEARCH_PROVIDER, useClass: AXMSystemInsightSearchCommandProvider, multi: true },\n ],\n})\nexport class AXMSystemInsightModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAAA;AAYA;MAEa,4BAA4B,CAAA;AAAzC,IAAA,WAAA,GAAA;AACmB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC;IAuC3D;IArCE,MAAM,OAAO,CAAC,OAA+B,EAAA;AAC3C,QAAA,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM;AAChC,QAAA,MAAM,UAAU,GAAG,CAAC,UAAkB,KAAK,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC;AACjG,QAAA,MAAM,uBAAuB,GAAG;AAC9B,YAAA,QAAQ,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC;AACv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A,EAAA,CAhBS,gBAAgB,CAAA,EAAA,CAAA,CAAA;;2FAkBf,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAnBlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC3B,oBAAA,SAAS,EAAE;AACT,wBAAA,oBAAoB,CAAC;AACnB,4BAAA;AACE,gCAAA,GAAG,EAAE,kCAAkC;AACvC,gCAAA,OAAO,EAAE,MAAM,OAAO,yFAAwC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,2BAA2B,CAAC;AAC3G,6BAAA;yBACF,CAAC;wBACF,mBAAmB,CAAC,2BAA2B,EAAE,MAC/C,OAAO,mEAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,qCAAqC,CAAC,CACjF;wBACD,EAAE,OAAO,EAAE,kCAAkC,EAAE,QAAQ,EAAE,4CAA4C,EAAE,KAAK,EAAE,IAAI,EAAE;wBACpH,EAAE,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,4BAA4B,EAAE,KAAK,EAAE,IAAI,EAAE;wBAEnF,EAAE,OAAO,EAAE,+BAA+B,EAAE,QAAQ,EAAE,+BAA+B,EAAE,KAAK,EAAE,IAAI,EAAE;wBACpG,EAAE,OAAO,EAAE,mBAAmB,EAAE,QAAQ,EAAE,qCAAqC,EAAE,KAAK,EAAE,IAAI,EAAE;AAC/F,qBAAA;AACF,iBAAA;;;AC9BD;;AAEG;;"}
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-system-insight-client.mjs","sources":["../../../../libs/modules/system-insight/client/src/lib/menu.provider.ts","../../../../libs/modules/system-insight/client/src/lib/settings.provider.ts","../../../../libs/modules/system-insight/client/src/lib/search-command.provider.ts","../../../../libs/modules/system-insight/client/src/lib/permission-definition.provider.ts","../../../../libs/modules/system-insight/client/src/lib/system-insight.module.ts","../../../../libs/modules/system-insight/client/src/acorex-platform-module-system-insight-client.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPMenuProvider, AXPMenuProviderContext } from '@acorex-platform/framework-client/common';\nimport { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport { inject } from '@angular/core';\nimport { AXPCommonMenuKeys } from '@acorex-platform/module-common-client/contracts';\nimport {\n AXPAdministrationPermissionKeys,\n AXMSystemInsightMenuKeys,\n RootConfig,\n} from '@acorex-platform/module-system-insight-client/contracts';\n\n//#endregion\n\nexport class AXMSystemInsightMenuProvider implements AXPMenuProvider {\n private readonly entityService = inject(AXPEntityService);\n\n async provide(context: AXPMenuProviderContext): Promise<void> {\n const module = RootConfig.module;\n const entityPath = (entityName: string) => this.entityService.createPath(module.name, entityName);\n const viewObservabilityPolicy = {\n features: [module.name],\n permissions: [AXPAdministrationPermissionKeys.ViewObservability],\n };\n\n context.find(AXPCommonMenuKeys.Administration).addItems([\n {\n name: AXMSystemInsightMenuKeys.Root,\n priority: 3,\n text: module.title,\n icon: module.icon,\n type: 'menu',\n policy: viewObservabilityPolicy,\n children: [\n {\n name: AXMSystemInsightMenuKeys.Logs,\n text: RootConfig.entities.logEntry.titlePlural,\n path: entityPath(RootConfig.entities.logEntry.name),\n icon: RootConfig.entities.logEntry.icon,\n priority: 1,\n policy: viewObservabilityPolicy,\n },\n {\n name: AXMSystemInsightMenuKeys.Traces,\n text: RootConfig.entities.traceEntry.titlePlural,\n path: entityPath(RootConfig.entities.traceEntry.name),\n icon: RootConfig.entities.traceEntry.icon,\n priority: 2,\n policy: viewObservabilityPolicy,\n },\n ],\n },\n ]);\n }\n}\n","//#region ----- Imports -----\n\nimport { AXPSettingDefinitionProvider, AXPSettingDefinitionProviderContext } from '@acorex-platform/framework-client/common';\nimport { AXP_DEBUG_CHANNELS, AXP_LOG_LEVELS, AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS, AXPSystemInsightSettings } from '@acorex-platform/module-system-insight-client/contracts';\n\n//#endregion\n\n//#region ----- Constants -----\n\nconst RECORDED_LEVELS_I18N = '@system-insight:logs.settings.level.items.recorded';\nconst DEBUG_CHANNELS_I18N = '@system-insight:logs.settings.level.items.debug-channels';\nconst RECORDED_LEVEL_OPTIONS = AXP_LOG_LEVELS.filter((level) => level !== 'trace');\nconst TRACES_I18N = '@system-insight:logs.settings.traces';\n\n//#endregion\n\n//#region ----- Setting Provider -----\n\n/**\n * Provides configuration definitions for platform logging and trace recording.\n */\nexport class AXPSystemInsightSettingProvider implements AXPSettingDefinitionProvider {\n async provide(context: AXPSettingDefinitionProviderContext): Promise<void> {\n const retentionVisibility = `{{ context.eval('${AXPSystemInsightSettings.RetentionEnabled}') }}`;\n const fileFallbackVisibility = `{{ context.eval('${AXPSystemInsightSettings.CriticalErrorFileEnabled}') }}`;\n\n context\n .addGroup(\n 'system-insight',\n '@system-insight:logs.settings.group.title',\n '@system-insight:logs.settings.group.description',\n 'fa-light fa-file-lines',\n undefined,\n 900,\n )\n\n //#region ----- Retention -----\n .addSection(\n 'retention',\n '@system-insight:logs.settings.retention.title',\n '@system-insight:logs.settings.retention.description',\n )\n .addSetting({\n key: AXPSystemInsightSettings.RetentionEnabled,\n title: '@system-insight:logs.settings.retention.items.enabled.title',\n description: '@system-insight:logs.settings.retention.items.enabled.description',\n scope: 'P',\n overridableAt: [],\n isInherited: false,\n defaultValue: true,\n widget: {\n type: AXPWidgetsList.Editors.ToggleSwitch,\n },\n })\n .addSetting({\n key: AXPSystemInsightSettings.RetentionPeriod,\n title: '@system-insight:logs.settings.retention.items.period.title',\n description: '@system-insight:logs.settings.retention.items.period.description',\n scope: 'P',\n overridableAt: [],\n isInherited: false,\n defaultValue: 30,\n widget: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: {\n minValue: 1,\n maxValue: 365,\n visibility: retentionVisibility,\n },\n },\n validationRules: [{ rule: 'required' }],\n })\n .addSetting({\n key: AXPSystemInsightSettings.RetentionBatchSize,\n title: '@system-insight:logs.settings.retention.items.batch-size.title',\n description: '@system-insight:logs.settings.retention.items.batch-size.description',\n scope: 'P',\n overridableAt: [],\n isInherited: false,\n defaultValue: 500,\n widget: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: {\n minValue: 1,\n maxValue: 5000,\n visibility: retentionVisibility,\n },\n },\n validationRules: [{ rule: 'required' }],\n })\n .addSetting({\n key: AXPSystemInsightSettings.RetentionPurgeCron,\n title: '@system-insight:logs.settings.retention.items.purge-cron.title',\n description: '@system-insight:logs.settings.retention.items.purge-cron.description',\n scope: 'P',\n overridableAt: [],\n isInherited: false,\n defaultValue: '0 4 * * *',\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n options: { visibility: retentionVisibility },\n },\n validationRules: [{ rule: 'required' }],\n })\n .endSection()\n //#endregion\n\n //#region ----- Critical Error File Fallback -----\n .addSection(\n 'storage',\n '@system-insight:logs.settings.storage.title',\n '@system-insight:logs.settings.storage.description',\n )\n .addSetting({\n key: AXPSystemInsightSettings.CriticalErrorFileEnabled,\n title: '@system-insight:logs.settings.storage.items.critical-file-enabled.title',\n description: '@system-insight:logs.settings.storage.items.critical-file-enabled.description',\n scope: 'P',\n overridableAt: [],\n isInherited: false,\n defaultValue: true,\n widget: {\n type: AXPWidgetsList.Editors.ToggleSwitch,\n },\n })\n .addSetting({\n key: AXPSystemInsightSettings.StorageLocation,\n title: '@system-insight:logs.settings.storage.items.location.title',\n description: '@system-insight:logs.settings.storage.items.location.description',\n scope: 'P',\n overridableAt: [],\n isInherited: false,\n defaultValue: './logs/acorex',\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@system-insight:logs.settings.storage.items.location.placeholder',\n visibility: fileFallbackVisibility,\n },\n },\n validationRules: [{ rule: 'required' }],\n })\n .endSection()\n //#endregion\n\n //#region ----- Log Levels -----\n .addSection(\n 'level',\n '@system-insight:logs.settings.level.title',\n '@system-insight:logs.settings.level.description',\n )\n .addSetting({\n key: AXPSystemInsightSettings.RecordedLogLevels,\n title: `${RECORDED_LEVELS_I18N}.title`,\n description: `${RECORDED_LEVELS_I18N}.description`,\n scope: 'P',\n overridableAt: [],\n isInherited: false,\n defaultValue: [...AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS[AXPSystemInsightSettings.RecordedLogLevels]],\n widget: {\n type: AXPWidgetsList.Editors.SelectionList,\n options: {\n multiple: true,\n valueField: 'value',\n textField: 'text',\n dataSource: RECORDED_LEVEL_OPTIONS.map((value) => ({ value, text: `${RECORDED_LEVELS_I18N}.options.${value}` })),\n },\n },\n })\n .addSetting({\n key: AXPSystemInsightSettings.DebugChannels,\n title: `${DEBUG_CHANNELS_I18N}.title`,\n description: `${DEBUG_CHANNELS_I18N}.description`,\n scope: 'P',\n overridableAt: [],\n isInherited: false,\n defaultValue: [...AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS[AXPSystemInsightSettings.DebugChannels]],\n widget: {\n type: AXPWidgetsList.Editors.SelectionList,\n options: {\n multiple: true,\n valueField: 'value',\n textField: 'text',\n direction: 'vertical',\n visibility: `{{\n const levels = context.eval('${AXPSystemInsightSettings.RecordedLogLevels}');\n return Array.isArray(levels) && levels.some((item) => {\n const level = typeof item === 'string' ? item : item?.value;\n return typeof level === 'string' && level.trim().toLowerCase() === 'debug';\n });\n }}`,\n dataSource: AXP_DEBUG_CHANNELS.map((value) => ({ value, text: `${DEBUG_CHANNELS_I18N}.options.${value}` })),\n },\n },\n })\n .endSection()\n //#endregion\n\n //#region ----- Traces -----\n .addSection('traces', `${TRACES_I18N}.title`, `${TRACES_I18N}.description`)\n .addSetting({\n key: AXPSystemInsightSettings.TraceEnabled,\n title: `${TRACES_I18N}.items.trace-enabled.title`,\n description: `${TRACES_I18N}.items.trace-enabled.description`,\n scope: 'P',\n overridableAt: [],\n isInherited: false,\n defaultValue: AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS[AXPSystemInsightSettings.TraceEnabled],\n widget: {\n type: AXPWidgetsList.Editors.ToggleSwitch,\n },\n })\n .addSetting({\n key: AXPSystemInsightSettings.TraceLevel,\n title: `${TRACES_I18N}.items.trace-level.title`,\n description: `${TRACES_I18N}.items.trace-level.description`,\n scope: 'P',\n overridableAt: [],\n isInherited: false,\n defaultValue: AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS[AXPSystemInsightSettings.TraceLevel],\n widget: {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n valueField: 'value',\n textField: 'text',\n visibility: `{{ context.eval('${AXPSystemInsightSettings.TraceEnabled}') }}`,\n dataSource: [\n { value: 'low', text: `${TRACES_I18N}.items.trace-level.options.low` },\n { value: 'normal', text: `${TRACES_I18N}.items.trace-level.options.normal` },\n { value: 'full', text: `${TRACES_I18N}.items.trace-level.options.full` },\n ],\n },\n },\n })\n .endSection()\n //#endregion\n\n //#region ----- Performance -----\n .addSection(\n 'performance',\n '@system-insight:logs.settings.performance.title',\n '@system-insight:logs.settings.performance.description',\n )\n .addSetting({\n key: AXPSystemInsightSettings.SlowRequestThresholdMs,\n title: '@system-insight:logs.settings.performance.items.slow-request-threshold.title',\n description: '@system-insight:logs.settings.performance.items.slow-request-threshold.description',\n scope: 'P',\n overridableAt: [],\n isInherited: false,\n defaultValue: 500,\n widget: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: {\n minValue: 100,\n maxValue: 60000,\n step: 100,\n suffix: 'ms',\n },\n },\n })\n .endSection()\n //#endregion\n\n .endGroup();\n }\n}\n\n//#endregion\n","import { AXPSearchCommandProvider, AXPSearchResult } from '@acorex-platform/framework-client/common';\n\nexport class AXMSystemInsightSearchCommandProvider extends AXPSearchCommandProvider {\n commands: AXPSearchResult[] = [];\n}\n","//#region ---- Imports ----\n\nimport {\n AXPPermissionDefinitionProvider,\n AXPPermissionDefinitionProviderContext,\n} from '@acorex-platform/framework-client/auth';\nimport { AXPCommonPermissionGroupKeys } from '@acorex-platform/module-common-client/contracts';\nimport { AXPAdministrationPermissionKeys } from '@acorex-platform/module-system-insight-client/contracts';\nimport { Injectable } from '@angular/core';\n\n//#endregion\n\n//#region ---- Permission Definition Provider ----\n\n/**\n * Registers Observability section capabilities under Administration.\n */\n@Injectable()\nexport class AXMSystemInsightPermissionDefinitionProvider implements AXPPermissionDefinitionProvider {\n async define(context: AXPPermissionDefinitionProviderContext): Promise<void> {\n const keys = AXPAdministrationPermissionKeys;\n const groups = AXPCommonPermissionGroupKeys;\n const P = '@common:administration.permissions';\n const G = '@common:permission-groups';\n\n context.addGroup(groups.Administration.Root, `${G}.administration.title`, `${G}.administration.description`, { order: 120 });\n\n context\n .addGroup(\n groups.Administration.Observability,\n `${G}.administration-observability.title`,\n `${G}.administration-observability.description`,\n { parent: groups.Administration.Root, order: 80 },\n )\n .addPermission(\n keys.ViewObservability,\n `${P}.view-observability.title`,\n `${P}.view-observability.description`,\n )\n .endPermission()\n .addPermission(\n keys.MaintainObservability,\n `${P}.maintain-observability.title`,\n `${P}.maintain-observability.description`,\n )\n .endPermission()\n .endGroup();\n }\n}\n\n//#endregion\n","import { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/auth';\nimport { provideLazyProvider } from '@acorex-platform/framework-client/core';\nimport { AXP_PAGE_COMPONENT_PROVIDER } from '@acorex-platform/framework-client/layout/components';\nimport { AXPRuntimeModule, provideCommandSetups } from '@acorex-platform/framework-client/runtime';\nimport { NgModule } from '@angular/core';\nimport { AXP_MENU_PROVIDER, AXP_SEARCH_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/common';\nimport { AXMSystemInsightMenuProvider } from './menu.provider';\n\nimport { AXPSystemInsightSettingProvider } from './settings.provider';\nimport { AXMSystemInsightSearchCommandProvider } from './search-command.provider';\nimport { AXMSystemInsightPermissionDefinitionProvider } from './permission-definition.provider';\n\n@NgModule({\n imports: [AXPRuntimeModule],\n providers: [\n provideCommandSetups([\n {\n key: 'SystemInsight:Trace:OpenTimeline',\n command: () => import('./commands/open-trace-timeline.command').then((m) => m.AXMOpenTraceTimelineCommand),\n },\n ]),\n provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () =>\n import('./features/traces').then((m) => m.AXMTraceTimelinePageComponentProvider),\n ),\n { provide: AXP_PERMISSION_DEFINITION_PROVIDER, useClass: AXMSystemInsightPermissionDefinitionProvider, multi: true },\n { provide: AXP_MENU_PROVIDER, useClass: AXMSystemInsightMenuProvider, multi: true },\n \n { provide: AXP_SETTING_DEFINITION_PROVIDER, useClass: AXPSystemInsightSettingProvider, multi: true },\n { provide: AXP_SEARCH_PROVIDER, useClass: AXMSystemInsightSearchCommandProvider, multi: true },\n ],\n})\nexport class AXMSystemInsightModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAAA;AAYA;MAEa,4BAA4B,CAAA;AAAzC,IAAA,WAAA,GAAA;AACmB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC;IAuC3D;IArCE,MAAM,OAAO,CAAC,OAA+B,EAAA;AAC3C,QAAA,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM;AAChC,QAAA,MAAM,UAAU,GAAG,CAAC,UAAkB,KAAK,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC;AACjG,QAAA,MAAM,uBAAuB,GAAG;AAC9B,YAAA,QAAQ,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC;AACvB,YAAA,WAAW,EAAE,CAAC,+BAA+B,CAAC,iBAAiB,CAAC;SACjE;QAED,OAAO,CAAC,IAAI,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC,QAAQ,CAAC;AACtD,YAAA;gBACE,IAAI,EAAE,wBAAwB,CAAC,IAAI;AACnC,gBAAA,QAAQ,EAAE,CAAC;gBACX,IAAI,EAAE,MAAM,CAAC,KAAK;gBAClB,IAAI,EAAE,MAAM,CAAC,IAAI;AACjB,gBAAA,IAAI,EAAE,MAAM;AAC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