Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(ui): date_trunc of dashboard ranges

Marc Klingenc4ad55b3ff08
diff --git a/web/src/utils/date-range-utils.ts b/web/src/utils/date-range-utils.ts
index 2c4c1b4638..ebd35eeb47 100644
--- a/web/src/utils/date-range-utils.ts
+++ b/web/src/utils/date-range-utils.ts
@@ -84,7 +84,7 @@ export const dashboardDateRangeAggregationSettings: DashboardDateRangeAggregatio
minutes: 3 * 28 * 24 * 60,
},
"1 month": {
- date_trunc: "month",
+ date_trunc: "day",
minutes: 28 * 24 * 60,
},
"7 days": {
@@ -100,7 +100,7 @@ export const dashboardDateRangeAggregationSettings: DashboardDateRangeAggregatio
minutes: 3 * 60,
},
"1 hour": {
- date_trunc: "hour",
+ date_trunc: "minute",
minutes: 60,
},
"30 min": {