From 01baea10879709d4ce2fbdd78282c21e3d0faa51 Mon Sep 17 00:00:00 2001 From: Fine Date: Mon, 28 Nov 2022 15:57:55 +0800 Subject: [PATCH] update task ui --- src/types/ebpf.d.ts | 6 + .../components/NewConditions.vue | 90 ++++++++++++++ .../network-profiling/components/NewTask.vue | 115 ++++++++---------- 3 files changed, 147 insertions(+), 64 deletions(-) create mode 100644 src/views/dashboard/related/network-profiling/components/NewConditions.vue diff --git a/src/types/ebpf.d.ts b/src/types/ebpf.d.ts index e9986ef1..d46d0139 100644 --- a/src/types/ebpf.d.ts +++ b/src/types/ebpf.d.ts @@ -77,3 +77,9 @@ export type ProcessNode = { x?: number; y?: number; }; +export interface NetworkProfilingRequest { + uriRegex: string; + when4xx: string; + when5xx: string; + minDuration: number; +} diff --git a/src/views/dashboard/related/network-profiling/components/NewConditions.vue b/src/views/dashboard/related/network-profiling/components/NewConditions.vue new file mode 100644 index 00000000..6a717245 --- /dev/null +++ b/src/views/dashboard/related/network-profiling/components/NewConditions.vue @@ -0,0 +1,90 @@ + + + + + diff --git a/src/views/dashboard/related/network-profiling/components/NewTask.vue b/src/views/dashboard/related/network-profiling/components/NewTask.vue index eae96aa4..dc81a6b2 100644 --- a/src/views/dashboard/related/network-profiling/components/NewTask.vue +++ b/src/views/dashboard/related/network-profiling/components/NewTask.vue @@ -15,76 +15,76 @@ limitations under the License. -->