From ed039671205c4d4e7573a3b54995253990bd0436 Mon Sep 17 00:00:00 2001 From: Fine Date: Thu, 11 Jan 2024 12:04:01 +0800 Subject: [PATCH] feat: add expressions --- src/locales/lang/en.ts | 1 + src/locales/lang/es.ts | 1 + src/locales/lang/zh.ts | 1 + src/types/dashboard.d.ts | 1 + src/views/dashboard/List.vue | 92 +++++++++++++++++++++++++++++++++++- 5 files changed, 95 insertions(+), 1 deletion(-) diff --git a/src/locales/lang/en.ts b/src/locales/lang/en.ts index 30622ea0..746831fc 100644 --- a/src/locales/lang/en.ts +++ b/src/locales/lang/en.ts @@ -385,5 +385,6 @@ const msg = { traceDesc: "The trace segment serves as a representation of a trace portion executed within one single OS process, such as a JVM. It comprises a collection of spans, typically associated with and collected from a single request or execution context.", tabExpressions: "Tab Expressions", + hierarchyNodeMetrics: "Metrics related with hierarchy topology nodes", }; export default msg; diff --git a/src/locales/lang/es.ts b/src/locales/lang/es.ts index 18a2d46f..ae226a61 100644 --- a/src/locales/lang/es.ts +++ b/src/locales/lang/es.ts @@ -385,5 +385,6 @@ const msg = { traceDesc: "The trace segment serves as a representation of a trace portion executed within one single OS process, such as a JVM. It comprises a collection of spans, typically associated with and collected from a single request or execution context.", tabExpressions: "Tab Expressions", + hierarchyNodeMetrics: "Metrics related with hierarchy topology nodes", }; export default msg; diff --git a/src/locales/lang/zh.ts b/src/locales/lang/zh.ts index 36962afc..9aab7cf2 100644 --- a/src/locales/lang/zh.ts +++ b/src/locales/lang/zh.ts @@ -383,5 +383,6 @@ const msg = { traceDesc: "Trace Segment代表在单一操作系统进程(例如JVM)中执行的追踪部分。它包含了一组跨度(spans),这些跨度通常与单一请求或执行上下文关联。", tabExpressions: "Tab表达式", + hierarchyNodeMetrics: "层级拓扑节点关联的指标", }; export default msg; diff --git a/src/types/dashboard.d.ts b/src/types/dashboard.d.ts index 3f6aba05..0af42859 100644 --- a/src/types/dashboard.d.ts +++ b/src/types/dashboard.d.ts @@ -22,6 +22,7 @@ export type DashboardItem = { isRoot: boolean; name: string; isDefault: boolean; + expressions?: string[]; }; export interface LayoutConfig { x: number; diff --git a/src/views/dashboard/List.vue b/src/views/dashboard/List.vue index 25373068..1eeb810e 100644 --- a/src/views/dashboard/List.vue +++ b/src/views/dashboard/List.vue @@ -78,7 +78,7 @@ limitations under the License. -->