mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2026-06-23 04:52:29 +00:00
feat: update tasks query
This commit is contained in:
@@ -35,7 +35,7 @@ limitations under the License. -->
|
||||
<td
|
||||
class="profile-td"
|
||||
:class="{
|
||||
selected: continousProfilingStore.selectedStrategyTask.id === i.id,
|
||||
selected: continousProfilingStore.selectedStrategy.id === i.id,
|
||||
}"
|
||||
>
|
||||
<div class="ell">
|
||||
@@ -84,7 +84,7 @@ limitations under the License. -->
|
||||
}
|
||||
|
||||
async function changePolicy(item: StrategyItem) {
|
||||
continousProfilingStore.setSelectedStrategyTask(item);
|
||||
continousProfilingStore.setSelectedStrategy(item);
|
||||
}
|
||||
|
||||
function setStrategies() {
|
||||
|
||||
@@ -33,6 +33,7 @@ limitations under the License. -->
|
||||
import { useDashboardStore } from "@/store/modules/dashboard";
|
||||
import { useAppStoreWithOut } from "@/store/modules/app";
|
||||
import { EntityType } from "../../data";
|
||||
import { EBPFProfilingTriggerType } from "@/store/data";
|
||||
|
||||
/*global defineProps */
|
||||
const props = defineProps({
|
||||
@@ -54,6 +55,7 @@ limitations under the License. -->
|
||||
const res = await ebpfStore.getTaskList({
|
||||
serviceId,
|
||||
targets: ["ON_CPU", "OFF_CPU"],
|
||||
triggerType: EBPFProfilingTriggerType.FIXED_TIME,
|
||||
});
|
||||
|
||||
if (res.errors) {
|
||||
|
||||
@@ -77,6 +77,7 @@ limitations under the License. -->
|
||||
import getLocalTime from "@/utils/localtime";
|
||||
import { useAppStoreWithOut } from "@/store/modules/app";
|
||||
import NewTask from "./NewTask.vue";
|
||||
import { EBPFProfilingTriggerType } from "@/store/data";
|
||||
|
||||
/*global Nullable */
|
||||
const { t } = useI18n();
|
||||
@@ -185,6 +186,7 @@ limitations under the License. -->
|
||||
serviceId,
|
||||
serviceInstanceId,
|
||||
targets: ["NETWORK"],
|
||||
triggerType: EBPFProfilingTriggerType.FIXED_TIME,
|
||||
});
|
||||
|
||||
if (res.errors) {
|
||||
|
||||
Reference in New Issue
Block a user