mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-13 16:27:33 +00:00
update trace query
This commit is contained in:
parent
a0fc879eb1
commit
c1fe64bbc6
@ -69,6 +69,25 @@ export const TraceSpans = {
|
|||||||
value
|
value
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
attachedEvents {
|
||||||
|
startTime {
|
||||||
|
seconds
|
||||||
|
nanos
|
||||||
|
}
|
||||||
|
event
|
||||||
|
endTime {
|
||||||
|
seconds
|
||||||
|
nanos
|
||||||
|
}
|
||||||
|
tags {
|
||||||
|
key
|
||||||
|
value
|
||||||
|
}
|
||||||
|
summary {
|
||||||
|
key
|
||||||
|
value
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
|
@ -92,6 +92,7 @@ const tagsList = ref<string[]>([]);
|
|||||||
const tagArr = ref<string[]>([]);
|
const tagArr = ref<string[]>([]);
|
||||||
const tagList = ref<string[]>([]);
|
const tagList = ref<string[]>([]);
|
||||||
const tagKeys = ref<string[]>([]);
|
const tagKeys = ref<string[]>([]);
|
||||||
|
const keyList = ref<string[]>([]);
|
||||||
const visible = ref<boolean>(false);
|
const visible = ref<boolean>(false);
|
||||||
const tipsMap = {
|
const tipsMap = {
|
||||||
LOG: "logTagsTip",
|
LOG: "logTagsTip",
|
||||||
@ -137,6 +138,7 @@ async function fetchTagKeys() {
|
|||||||
}
|
}
|
||||||
tagArr.value = resp.data.tagKeys;
|
tagArr.value = resp.data.tagKeys;
|
||||||
tagKeys.value = resp.data.tagKeys;
|
tagKeys.value = resp.data.tagKeys;
|
||||||
|
keyList.value = resp.data.tagKeys;
|
||||||
searchTags();
|
searchTags();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -172,8 +174,8 @@ function selectTag(item: string) {
|
|||||||
|
|
||||||
function searchTags() {
|
function searchTags() {
|
||||||
if (!tags.value) {
|
if (!tags.value) {
|
||||||
tagList.value = tagArr.value;
|
tagList.value = keyList.value;
|
||||||
fetchTagKeys();
|
tagKeys.value = keyList.value;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let search = "";
|
let search = "";
|
||||||
@ -188,6 +190,7 @@ function searchTags() {
|
|||||||
watch(
|
watch(
|
||||||
() => appStore.durationTime,
|
() => appStore.durationTime,
|
||||||
() => {
|
() => {
|
||||||
|
console.log(appStore.durationTime);
|
||||||
fetchTagKeys();
|
fetchTagKeys();
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user