feat: implement Profile in the dashboard (#19)

This commit is contained in:
Fine0830
2022-03-02 16:41:48 +08:00
committed by GitHub
parent 977ffbaf74
commit ca6d08827f
41 changed files with 2165 additions and 117 deletions

View File

@@ -123,14 +123,16 @@ limitations under the License. -->
</div>
</div>
<div class="no-data" v-else>{{ t("noData") }}</div>
<component
v-if="traceStore.currentTrace.endpointNames"
:is="displayMode"
:data="traceStore.traceSpans"
:traceId="traceStore.currentTrace.traceIds[0].value"
:showBtnDetail="false"
HeaderType="trace"
/>
<div class="trace-chart">
<component
v-if="traceStore.currentTrace.endpointNames"
:is="displayMode"
:data="traceStore.traceSpans"
:traceId="traceStore.currentTrace.traceIds[0].value"
:showBtnDetail="false"
HeaderType="trace"
/>
</div>
</div>
</template>
<script lang="ts">
@@ -227,6 +229,10 @@ export default defineComponent({
overflow: hidden;
}
.trace-chart {
height: 100%;
}
.trace-detail-wrapper {
font-size: 12px;
padding: 5px 10px;