feat(pro): long-term metrics history (30d/90d)

- Add FeatureLongTermMetrics license feature for Pro tier
- Implement tiered storage in metrics store (raw, minute, hourly, daily)
- Add covering index for unified history query performance
- Seed mock data for 90 days with appropriate aggregation tiers
- Update PULSE_PRO.md to document the feature
- 7-day history remains free, 30d/90d requires Pro license
This commit is contained in:
rcourtman
2026-01-22 00:42:41 +00:00
parent bb47e1831c
commit c8b6cbfc6d
7 changed files with 374 additions and 73 deletions

View File

@@ -70,6 +70,7 @@ Pulse Pro licenses enable specific server-side features. These are enforced at t
- `agent_profiles`: centralized agent configuration profiles.
- `advanced_reporting`: infrastructure health report generation (PDF/CSV).
- `audit_logging`: persistent audit trail and real-time webhook delivery.
- `long_term_metrics`: 30-day and 90-day metrics history (7-day history is free).
## Why It Matters (Technical Value)