Akshat | TP-28210 | Query revamp (#75)

* TP-28219 | remove treatment from dashboard if variants present

* TP-28210 | get correct count of testUsers and limit progress bar to 100%

* TP-28210 | add population result service

* TP-28210 | update fetch experiment stats for data

* TP-28210 | spell correct

* TP-28210 | show graph timestamps in default zone

* TP-28210 | change shedlock name

* TP-28210 | get population metric from table

* TP-28210 | add functionality to reset metrics

* TP-28210 | remove tesseractId from PopulationResult

* TP-28210 | give variantNames in query variable

* TP-28210 | minor bug fixes

* TP-28210 | resolve comments

* TP-28210 | remove population query to be fetched from config
This commit is contained in:
Akshat Soni
2023-05-19 12:40:07 +05:30
committed by GitHub Enterprise
parent a5bfb370cf
commit 5644816e67
35 changed files with 736 additions and 189 deletions

View File

@@ -0,0 +1,23 @@
--liquibase formatted sql
--changeset author:akshatsoni id:202305121939
ALTER TABLE experiment_metric_result
DROP COLUMN total_users;
CREATE TABLE experiment_population_result
(
id SERIAL PRIMARY KEY,
experiment_id int references experiments (id),
variant_name varchar(150),
total_users bigint,
timestamp timestamp,
tesseract_id varchar(36),
created_at timestamp,
updated_at timestamp,
version bigint
);
CREATE INDEX idx_metric_result_variant_name on experiment_metric_result (variant_name);
CREATE INDEX idx_metric_result_timestamp on experiment_metric_result (timestamp);
CREATE INDEX idx_population_result_variant_name on experiment_population_result (variant_name);
CREATE INDEX idx_population_result_timestamp on experiment_population_result (timestamp);

View File

@@ -0,0 +1,5 @@
--liquibase formatted sql
--changeset author:akshatsoni id:202305122024
ALTER TABLE experiment_info
ADD COLUMN is_population_run boolean DEFAULT false;