From 608bf8c8034b3efcb3b8626bdcdc84669acaa30a Mon Sep 17 00:00:00 2001 From: Alex Freska Date: Sun, 17 Dec 2023 15:56:21 -0500 Subject: [PATCH] fix: hostd metrics intervals --- .changeset/hot-pots-prove.md | 5 +++++ apps/hostd/contexts/metrics/types.tsx | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/hot-pots-prove.md diff --git a/.changeset/hot-pots-prove.md b/.changeset/hot-pots-prove.md new file mode 100644 index 000000000..c030eec51 --- /dev/null +++ b/.changeset/hot-pots-prove.md @@ -0,0 +1,5 @@ +--- +'hostd': minor +--- + +Metrics intervals for 1Y and ALL are now weekly and monthly. diff --git a/apps/hostd/contexts/metrics/types.tsx b/apps/hostd/contexts/metrics/types.tsx index 076d907a6..e47b143f6 100644 --- a/apps/hostd/contexts/metrics/types.tsx +++ b/apps/hostd/contexts/metrics/types.tsx @@ -124,12 +124,12 @@ export const dataTimeSpanOptions: { }, { label: '1Y', - interval: 'daily', + interval: 'weekly', value: '365', }, { label: 'ALL', - interval: 'weekly', + interval: 'monthly', value: 'all', }, ]