mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-10-14 20:01:28 +00:00
fix: set up async profiling tasks (#443)
This commit is contained in:
@@ -41,7 +41,7 @@ limitations under the License. -->
|
||||
{{ dateFormat(i.createTime) }}
|
||||
</span>
|
||||
<span class="mr-10 sm">
|
||||
{{ dateFormat(i.createTime + i.duration * 60 * 1000) }}
|
||||
{{ dateFormat(i.createTime + i.duration * 1000) }}
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
|
@@ -91,7 +91,7 @@ class Hex extends Int16Array {
|
||||
}
|
||||
|
||||
xyz(x: number, y: number, z: number | null = null): Hex {
|
||||
if (z == null) z = -x - y;
|
||||
if (z === null) z = -x - y;
|
||||
if (x + y + z != 0) {
|
||||
console.log("Bad Axial Coordinate : : q %d r %d s %d", x, y, z);
|
||||
}
|
||||
|
@@ -21,9 +21,9 @@ limitations under the License. -->
|
||||
<div class="item">
|
||||
<SpanTree @loading="loadTrees" @displayMode="setDisplayMode" />
|
||||
<div class="thread-stack">
|
||||
<div id="graph-stack" ref="graph" v-show="displayMode == 'flame'" />
|
||||
<div id="graph-stack" ref="graph" v-show="displayMode === 'flame'" />
|
||||
<StackTable
|
||||
v-show="displayMode == 'tree'"
|
||||
v-show="displayMode === 'tree'"
|
||||
v-if="profileStore.analyzeTrees.length"
|
||||
:data="profileStore.analyzeTrees"
|
||||
:highlightTop="profileStore.highlightTop"
|
||||
|
@@ -46,7 +46,7 @@ limitations under the License. -->
|
||||
:class="{
|
||||
'trace-success': !i.isError,
|
||||
'trace-error': i.isError,
|
||||
selected: selectedKey == i.key,
|
||||
selected: selectedKey === i.key,
|
||||
}"
|
||||
>
|
||||
<div
|
||||
|
@@ -321,7 +321,7 @@ export default class ListGraph {
|
||||
)
|
||||
.on("click", (event: any, d: Recordable) => {
|
||||
event.stopPropagation();
|
||||
if (d.data.children.length == 0) return;
|
||||
if (d.data.children.length === 0) return;
|
||||
this.click(d, this);
|
||||
});
|
||||
nodeUpdate
|
||||
|
@@ -296,7 +296,7 @@ export default class TraceMap {
|
||||
.attr("cursor", "pointer")
|
||||
.on("click", (event: any, d: Recordable) => {
|
||||
event.stopPropagation();
|
||||
if (d.data.children.length == 0) return;
|
||||
if (d.data.children.length === 0) return;
|
||||
click(d);
|
||||
});
|
||||
const nodeExit = node
|
||||
|
Reference in New Issue
Block a user