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 @@ + + + + + + URI Regex + + + + {{ t("minDuration") }} (ms) + + + + {{ t("when4xx") }} + + + + {{ t("when5xx") }} + + + + + + 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. --> - - URI Regex - - - - {{ t("minDuration") }} (ms) - - - - {{ t("when4xx") }} - - - - {{ t("when5xx") }} - - + + + + + {{ t("createTask") }} + + {{ t("createConditions") }} +