-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: msvinaykumar <[email protected]>
- Loading branch information
1 parent
0d9091b
commit 0dbb0c0
Showing
6 changed files
with
4 additions
and
184 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,9 @@ | ||
create table IF NOT EXISTS kruize_experiments (experiment_id varchar(255) not null, cluster_name varchar(255), datasource jsonb, experiment_name varchar(255), extended_data jsonb, meta_data jsonb, mode varchar(255), performance_profile varchar(255), status varchar(255), target_cluster varchar(255), version varchar(255), primary key (experiment_id)); | ||
create table IF NOT EXISTS kruize_performance_profiles (name varchar(255) not null, k8s_type varchar(255), profile_version float(53) not null, slo jsonb, primary key (name)); | ||
<<<<<<< HEAD | ||
create table IF NOT EXISTS kruize_recommendations (interval_end_time timestamp(6) not null, experiment_name varchar(255) not null, cluster_name varchar(255) not null, extended_data jsonb, version varchar(255), primary key (cluster_name, experiment_name, interval_end_time)) PARTITION BY RANGE (interval_end_time); | ||
create table IF NOT EXISTS kruize_results (interval_start_time timestamp(6) not null, interval_end_time timestamp(6) not null, experiment_name varchar(255) not null, cluster_name varchar(255) not null, duration_minutes float(53) not null, extended_data jsonb, meta_data jsonb, version varchar(255), primary key (cluster_name, experiment_name, interval_end_time, interval_start_time)) PARTITION BY RANGE (interval_end_time); | ||
alter table if exists kruize_experiments add constraint UK_experiment_name unique (experiment_name); | ||
create index IF NOT EXISTS idx_recommendation_experiment_name on kruize_recommendations (experiment_name); | ||
create index IF NOT EXISTS idx_recommendation_cluster_name on kruize_recommendations (cluster_name); | ||
create index IF NOT EXISTS idx_recommendation_interval_end_time on kruize_recommendations (interval_end_time); | ||
create index IF NOT EXISTS idx_result_experiment_name on kruize_results (experiment_name); | ||
create index IF NOT EXISTS idx_result_cluster_name on kruize_results (cluster_name); | ||
======= | ||
create table IF NOT EXISTS kruize_recommendations (interval_end_time timestamp(6) not null, experiment_name varchar(255) not null, cluster_name varchar(255), extended_data jsonb, version varchar(255), primary key (experiment_name, interval_end_time)) PARTITION BY RANGE (interval_end_time); | ||
create table IF NOT EXISTS kruize_results (interval_start_time timestamp(6) not null, interval_end_time timestamp(6) not null, experiment_name varchar(255) not null, cluster_name varchar(255) , duration_minutes float(53) not null, extended_data jsonb, meta_data jsonb, version varchar(255), primary key (experiment_name, interval_end_time, interval_start_time)) PARTITION BY RANGE (interval_end_time); | ||
alter table if exists kruize_experiments add constraint UK_experiment_name unique (experiment_name); | ||
create index IF NOT EXISTS idx_recommendation_experiment_name on kruize_recommendations (experiment_name); | ||
create index IF NOT EXISTS idx_recommendation_interval_end_time on kruize_recommendations (interval_end_time); | ||
create index IF NOT EXISTS idx_result_experiment_name on kruize_results (experiment_name); | ||
>>>>>>> upstream/remote_monitoring | ||
create index IF NOT EXISTS idx_result_interval_end_time on kruize_results (interval_end_time); |
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
56 changes: 0 additions & 56 deletions
56
...utotune/analyzer/serviceObjects/verification/validators/ExperimentNameExistValidator.java
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,3 +24,4 @@ | |
@Target(ElementType.FIELD) | ||
public @interface Exclude { | ||
} | ||
|