mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-18 18:05:25 +00:00
fix query logs
This commit is contained in:
parent
f9aa6600a7
commit
4f6f50ee9a
@ -219,25 +219,31 @@ function searchLogs() {
|
|||||||
if (dashboardStore.entity === EntityType[3].value) {
|
if (dashboardStore.entity === EntityType[3].value) {
|
||||||
instance = selectorStore.currentPod.id;
|
instance = selectorStore.currentPod.id;
|
||||||
}
|
}
|
||||||
logStore.setLogCondition({
|
if (dashboardStore.layerId === "BROWSER") {
|
||||||
serviceId: selectorStore.currentService
|
logStore.setLogCondition({
|
||||||
? selectorStore.currentService.id
|
serviceId: selectorStore.currentService
|
||||||
: state.service.id,
|
? selectorStore.currentService.id
|
||||||
endpointId: endpoint || state.endpoint.id || undefined,
|
: state.service.id,
|
||||||
serviceInstanceId: instance || state.instance.id || undefined,
|
pagePathId: endpoint || state.endpoint.id || undefined,
|
||||||
queryDuration: appStore.durationTime,
|
serviceVersionId: instance || state.instance.id || undefined,
|
||||||
keywordsOfContent:
|
paging: { pageNum: 1, pageSize: 15 },
|
||||||
dashboardStore.layerId === "BROWSER"
|
queryDuration: appStore.durationTime,
|
||||||
? undefined
|
});
|
||||||
: keywordsOfContent.value,
|
} else {
|
||||||
excludingKeywordsOfContent:
|
logStore.setLogCondition({
|
||||||
dashboardStore.layerId === "BROWSER"
|
serviceId: selectorStore.currentService
|
||||||
? undefined
|
? selectorStore.currentService.id
|
||||||
: excludingKeywordsOfContent.value,
|
: state.service.id,
|
||||||
tags: tagsMap.value.length ? tagsMap.value : undefined,
|
endpointId: endpoint || state.endpoint.id || undefined,
|
||||||
paging: { pageNum: 1, pageSize: 15 },
|
serviceInstanceId: instance || state.instance.id || undefined,
|
||||||
relatedTrace: traceId.value ? { traceId: traceId.value } : undefined,
|
queryDuration: appStore.durationTime,
|
||||||
});
|
keywordsOfContent: keywordsOfContent.value,
|
||||||
|
excludingKeywordsOfContent: excludingKeywordsOfContent.value,
|
||||||
|
tags: tagsMap.value.length ? tagsMap.value : undefined,
|
||||||
|
paging: { pageNum: 1, pageSize: 15 },
|
||||||
|
relatedTrace: traceId.value ? { traceId: traceId.value } : undefined,
|
||||||
|
});
|
||||||
|
}
|
||||||
queryLogs();
|
queryLogs();
|
||||||
}
|
}
|
||||||
async function queryLogs() {
|
async function queryLogs() {
|
||||||
|
Loading…
Reference in New Issue
Block a user