[P3] Comparative & historical analysis #115
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent Epic
#100
Problem
"How did this route perform last week vs. this week?" — there's no comparison view, no regression detection, and no way to overlay historical data. Competing tools like Datadog and Grafana offer week-over-week comparisons that help teams identify regressions after deployments.
Proposed Solution
1. Time Comparison on Dashboard
Add a "Compare" toggle on the dashboard that overlays a previous time period:
Compare options:
2. Deployment Markers
Show vertical lines on timeseries charts when a new agent version was deployed:
The agent already reports its version — detect version changes and mark them.
3. Route Performance Diff
A dedicated comparison view:
Acceptance Criteria
Notes
This is a differentiation feature that elevates Cameleer from "monitoring" to "analytics." Not required for launch but would strengthen the competitive story significantly.
Design Specification
Time comparison toggle on dashboard charts:
[Off] [Previous period] [Last week] [Custom]. Comparison data rendered as dashed lines with 40% opacity (line charts) or 15% fill (area charts).Deployment markers: Vertical dashed reference lines on charts when agent version changes, with version label. Data from agent_metrics version transitions.
Performance diff table (when comparison active):
Green for improvements, red for regressions, grey for <1% changes.
Backend: Extend timeseries endpoints with
compare=previous|weekparam returningcomparisonBuckets[]. New/agents/deploymentsendpoint for version transitions.