diff --git a/whylabs_toolkit/monitor/models/analyzer/algorithms.py b/whylabs_toolkit/monitor/models/analyzer/algorithms.py index ad837aa..180b501 100644 --- a/whylabs_toolkit/monitor/models/analyzer/algorithms.py +++ b/whylabs_toolkit/monitor/models/analyzer/algorithms.py @@ -35,11 +35,6 @@ class AlgorithmType(str, Enum): class DatasetMetric(str, Enum): """Metrics that are applicable at the dataset level.""" - # ingestion health. null value if not ingested yet - profile_count = "profile.count" - profile_last_ingestion_time = "profile.last_ingestion_time" - profile_first_ingestion_time = "profile.first_ingestion_time" - # within the batch column_row_count_sum = "column_row_count_sum" # shape metrics? @@ -62,6 +57,7 @@ class DatasetMetric(str, Enum): # other metrics missing_data_point = "missingDatapoint" + seconds_since_last_upload = "secondsSinceLastUpload" class SimpleColumnMetric(str, Enum): diff --git a/whylabs_toolkit/monitor/schema/schema.json b/whylabs_toolkit/monitor/schema/schema.json index e8ad282..3085f9d 100644 --- a/whylabs_toolkit/monitor/schema/schema.json +++ b/whylabs_toolkit/monitor/schema/schema.json @@ -646,9 +646,6 @@ "title": "DatasetMetric", "description": "Metrics that are applicable at the dataset level.", "enum": [ - "profile.count", - "profile.last_ingestion_time", - "profile.first_ingestion_time", "column_row_count_sum", "shape_column_count", "shape_row_count", @@ -662,7 +659,9 @@ "classification.auroc", "regression.mse", "regression.mae", - "regression.rmse" + "regression.rmse", + "missingDatapoint", + "secondsSinceLastUpload" ], "type": "string" },