diff --git a/src/types/ebpf.d.ts b/src/types/ebpf.d.ts index b40597ef..4598528e 100644 --- a/src/types/ebpf.d.ts +++ b/src/types/ebpf.d.ts @@ -52,7 +52,7 @@ export type Process = { instanceName: string; agentId: string; detectType: string; - attributes: { name: string; value: string }; + attributes: { name: string; value: string }[]; labels: string[]; }; export type StackElement = { diff --git a/src/views/dashboard/related/ebpf/Content.vue b/src/views/dashboard/related/ebpf/Content.vue index e4b0653b..024ecf04 100644 --- a/src/views/dashboard/related/ebpf/Content.vue +++ b/src/views/dashboard/related/ebpf/Content.vue @@ -16,7 +16,7 @@ limitations under the License. -->
-
+
@@ -44,7 +44,11 @@ import EBPFStack from "./components/EBPFStack.vue"; .item { width: 100%; overflow: auto; - height: calc(50% - 10px); + height: calc(100% - 200px); padding-bottom: 10px; } + +.schedules { + height: 190px; +} diff --git a/src/views/dashboard/related/ebpf/components/EBPFSchedules.vue b/src/views/dashboard/related/ebpf/components/EBPFSchedules.vue index a584e40f..2e144ad4 100644 --- a/src/views/dashboard/related/ebpf/components/EBPFSchedules.vue +++ b/src/views/dashboard/related/ebpf/components/EBPFSchedules.vue @@ -34,7 +34,7 @@ limitations under the License. --> placeholder="Please input name" class="input-with-search" size="small" - @change="searchProcesses" + @change="searchProcesses(0)" >