feat: enhance the trace table graph for multiple refs (#464)

This commit is contained in:
Fine0830
2025-04-14 21:12:48 +08:00
committed by GitHub
parent 0775bf0034
commit 687ae07bb0
16 changed files with 207 additions and 248 deletions

View File

@@ -43,8 +43,7 @@ limitations under the License. -->
<Table
:data="profileStore.segmentSpans"
:traceId="profileStore.currentSegment.traceId"
:showBtnDetail="true"
headerType="profile"
:headerType="WidgetType.Profile"
@select="selectSpan"
/>
</div>
@@ -53,13 +52,14 @@ limitations under the License. -->
<script lang="ts" setup>
import { ref } from "vue";
import { useI18n } from "vue-i18n";
import Table from "../../trace/components/Table/Index.vue";
import Table from "../../trace/components/Table.vue";
import { useProfileStore } from "@/store/modules/profile";
import Selector from "@/components/Selector.vue";
import type { Span } from "@/types/trace";
import type { Option } from "@/types/app";
import { ElMessage } from "element-plus";
import { ProfileDataMode, ProfileDisplayMode } from "./data";
import { WidgetType } from "@/views/dashboard/data";
/* global defineEmits*/
const emits = defineEmits(["loading", "displayMode"]);