diff --git a/src/components/Radio.vue b/src/components/Radio.vue
new file mode 100644
index 00000000..f5aee030
--- /dev/null
+++ b/src/components/Radio.vue
@@ -0,0 +1,50 @@
+
+
+
+
+ {{ item.label }}
+
+
+
+
diff --git a/src/components/Selector.vue b/src/components/Selector.vue
index 46aa408b..5fbfdb60 100644
--- a/src/components/Selector.vue
+++ b/src/components/Selector.vue
@@ -76,42 +76,6 @@ watch(
);
diff --git a/src/views/dashboard/related/profile/components/SpanTree.vue b/src/views/dashboard/related/profile/components/SpanTree.vue
index 8c7f0d2f..b2343eff 100644
--- a/src/views/dashboard/related/profile/components/SpanTree.vue
+++ b/src/views/dashboard/related/profile/components/SpanTree.vue
@@ -56,7 +56,7 @@ import Selector from "@/components/Selector.vue";
import { Span } from "@/types/trace";
import { Option } from "@/types/app";
import { ElMessage } from "element-plus";
-import { ProfileMode } from "../../../data";
+import { ProfileMode } from "./data";
const { t } = useI18n();
const profileStore = useProfileStore();
diff --git a/src/views/dashboard/related/profile/components/data.ts b/src/views/dashboard/related/profile/components/data.ts
new file mode 100644
index 00000000..a382e5a9
--- /dev/null
+++ b/src/views/dashboard/related/profile/components/data.ts
@@ -0,0 +1,63 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export const ProfileMode: any[] = [
+ { label: "Include Children", value: "include" },
+ { label: "Exclude Children", value: "exclude" },
+];
+export const NewTaskField = {
+ service: { key: "", label: "None" },
+ monitorTime: { key: "0", label: "monitor now" },
+ monitorDuration: { key: 5, label: "5 min" },
+ minThreshold: 0,
+ dumpPeriod: { key: 10, label: "10ms" },
+ endpointName: "",
+ maxSamplingCount: { key: 5, label: "5" },
+};
+
+export const InitTaskField = {
+ serviceSource: [{ key: "", label: "None" }],
+ monitorTimeEn: [
+ { value: "0", label: "monitor now" },
+ { value: "1", label: "set start time" },
+ ],
+ monitorTimeCn: [
+ { value: "0", label: "此刻" },
+ { value: "1", label: "设置时间" },
+ ],
+ monitorDuration: [
+ { value: "5", label: "5 min" },
+ { value: "10", label: "10 min" },
+ { value: "15", label: "15 min" },
+ ],
+ dumpPeriod: [
+ { value: "10", label: "10 ms" },
+ { value: "20", label: "20 ms" },
+ { value: "50", label: "50 ms" },
+ { value: "100", label: "100 ms" },
+ ],
+ maxSamplingCount: [
+ { value: "1", label: "1" },
+ { value: "2", label: "2" },
+ { value: "3", label: "3" },
+ { value: "4", label: "4" },
+ { value: "5", label: "5" },
+ { value: "6", label: "6" },
+ { value: "7", label: "7" },
+ { value: "8", label: "8" },
+ { value: "9", label: "9" },
+ ],
+};