-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Report
Issue: The "Total Usage Over Time" chart does not accurately represent actual agent usage. Real work periods are shown as small spikes while other periods show disproportionately large activity.
Expected:
If significant work happened from 10:00-12:00 (Israel time), that period should show a prominent spike in the chart.
Actual:
- Heavy usage periods (10:00-12:00) show minimal activity
- The chart shows a large spike at Mar 12 05:00-07:00 instead
- Data distribution doesn't match actual usage patterns
Screenshot:
See image showing discrepancy - large spike at wrong time, minimal activity during actual heavy usage.
Possible causes:
- Timezone handling issues (sessions recorded in UTC but displayed incorrectly)
- Cost/token aggregation logic not reflecting actual session intensity
- Session bucketing (hourly grouping) miscalculating totals
- Chart data filtering excluding valid sessions
Priority: P1 — affects core analytics reliability
Related:
- PR fix: demo/mock data respects time window filters and zoom #57 fixed timezone issues in date parsing, but aggregation logic may still be off
- Should verify that session.cost and session.tokens are being summed correctly per time bucket
- Need to validate that all sessions in a time range are included in the bucket calculation
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working