diff --git a/src/store/modules/async-profiling.ts b/src/store/modules/async-profiling.ts index c76723d4..90cfb5db 100644 --- a/src/store/modules/async-profiling.ts +++ b/src/store/modules/async-profiling.ts @@ -15,7 +15,6 @@ * limitations under the License. */ import { defineStore } from "pinia"; -import type { Option } from "@/types/app"; import type { AsyncProfilingTask, AsyncProfileTaskCreationRequest, diff --git a/src/types/async-profiling.ts b/src/types/async-profiling.ts index 831eab64..e6dfa68b 100644 --- a/src/types/async-profiling.ts +++ b/src/types/async-profiling.ts @@ -54,3 +54,15 @@ type AsyncProfilerTaskLog = { operationType: string; operationTime: number; }; + +export type StackElement = { + id: string; + originId: string; + name: string; + parentId: string; + codeSignature: string; + total: number; + self: number; + value: number; + children?: StackElement[]; +}; diff --git a/src/types/profile.d.ts b/src/types/profile.d.ts index 254d1490..7324d3e8 100644 --- a/src/types/profile.d.ts +++ b/src/types/profile.d.ts @@ -43,6 +43,7 @@ export interface TaskListItem { logs: TaskLog[]; errorInstanceIds: string[]; successInstanceIds: string[]; + serviceInstanceIds: string[]; } export interface SegmentSpan { spanId: string; diff --git a/src/views/dashboard/related/async-profiling/Header.vue b/src/views/dashboard/related/async-profiling/Header.vue index 59ef448c..377307b8 100644 --- a/src/views/dashboard/related/async-profiling/Header.vue +++ b/src/views/dashboard/related/async-profiling/Header.vue @@ -15,7 +15,7 @@ limitations under the License. -->