-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Aggregated Throughput Anomaly Detection
This PR does the following: - Implements argument "agg-flow" and "p2p-label" for aggregated flow. - Aggregated flow contains Pods to external, pods to pods based of labels and pod to service flows. - New retrieve table has been added for aggregated TAD. - Modified retrieve table for TAD, new fields include agg_type and algo_type for better understanding. - TAD delete command can now take multiple tad ids to delete. partially solves: #168 Signed-off-by: Tushar Tathgur <[email protected]>
- Loading branch information
Tushar Tathgur
authored and
Tushar Tathgur
committed
Mar 27, 2023
1 parent
80d1138
commit 842d8e8
Showing
19 changed files
with
851 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
build/charts/theia/provisioning/datasources/migrators/000005_0-5-0.down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--Drop aggregated TAD columns | ||
ALTER TABLE tadetector DROP COLUMN sourcePodNamespace String; | ||
ALTER TABLE tadetector_local DROP COLUMN sourcePodNamespace String; | ||
ALTER TABLE tadetector DROP COLUMN sourcePodLabels String; | ||
ALTER TABLE tadetector_local DROP COLUMN sourcePodLabels String; | ||
ALTER TABLE tadetector DROP COLUMN destinationPodNamespace String; | ||
ALTER TABLE tadetector_local DROP COLUMN destinationPodNamespace String; | ||
ALTER TABLE tadetector DROP COLUMN destinationPodLabels String; | ||
ALTER TABLE tadetector_local DROP COLUMN destinationPodLabels String; | ||
ALTER TABLE tadetector DROP COLUMN destinationServicePortName String; | ||
ALTER TABLE tadetector_local DROP COLUMN destinationServicePortName String; | ||
ALTER TABLE tadetector DROP COLUMN aggType String; | ||
ALTER TABLE tadetector_local DROP COLUMN aggType String; |
13 changes: 13 additions & 0 deletions
13
build/charts/theia/provisioning/datasources/migrators/000005_0-5-0.up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--Add aggregated TAD columns | ||
ALTER TABLE tadetector ADD COLUMN sourcePodNamespace String; | ||
ALTER TABLE tadetector_local ADD COLUMN sourcePodNamespace String; | ||
ALTER TABLE tadetector ADD COLUMN sourcePodLabels String; | ||
ALTER TABLE tadetector_local ADD COLUMN sourcePodLabels String; | ||
ALTER TABLE tadetector ADD COLUMN destinationPodNamespace String; | ||
ALTER TABLE tadetector_local ADD COLUMN destinationPodNamespace String; | ||
ALTER TABLE tadetector ADD COLUMN destinationPodLabels String; | ||
ALTER TABLE tadetector_local ADD COLUMN destinationPodLabels String; | ||
ALTER TABLE tadetector ADD COLUMN destinationServicePortName String; | ||
ALTER TABLE tadetector_local ADD COLUMN destinationServicePortName String; | ||
ALTER TABLE tadetector ADD COLUMN aggType String; | ||
ALTER TABLE tadetector_local ADD COLUMN aggType String; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.