From 10299d2156074c39e22a1947aa5f2c404d5b139d Mon Sep 17 00:00:00 2001 From: nicoback2 <36916764+nicoback2@users.noreply.github.com> Date: Mon, 11 Mar 2024 23:45:29 -0500 Subject: [PATCH] [Discovery] Fix metrics APIs for year time range [C-3956] (#7795) Co-authored-by: Nikki Kang --- packages/discovery-provider/src/api/v1/metrics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/discovery-provider/src/api/v1/metrics.py b/packages/discovery-provider/src/api/v1/metrics.py index 5c2f7b00a9f..a9d7fa33933 100644 --- a/packages/discovery-provider/src/api/v1/metrics.py +++ b/packages/discovery-provider/src/api/v1/metrics.py @@ -70,7 +70,7 @@ } valid_bucket_sizes_with_year = { **valid_bucket_sizes, - "all_time": ["month", "week"], + "year": ["month"], }