Commit graph

28 commits

Author SHA1 Message Date
ngxstat-bot
f0ed112626 reports: fix analysis import error when run as a script\n\n- Prepend project root to sys.path in scripts/generate_reports.py to allow when executed via path\n- Update run-reports.sh to invoke the generator as a module () for robust imports\n- Keeps CLI behavior the same while eliminating 'No module named scripts' 2025-08-19 00:40:07 -05:00
ngxstat-bot
8eec623c92 reports: use timezone-aware UTC for timestamps\n\n- Replace deprecated datetime.utcnow() with datetime.now(timezone.utc)\n- Keeps existing human-friendly format while avoiding deprecation warnings\n- Applies to marker file and generated_at in stats 2025-08-19 00:36:41 -05:00
ngxstat-bot
6de85b7cc5 UX Phase 1 follow-ups: state v2 + reset, window defaults + support, palette support; analysis JSON generation; tests for LIMIT/metadata; README updates 2025-08-18 23:47:23 -05:00
ngxstat-bot
fab91d2e04 Phase 1 UX + JS transforms: tabs, windowing, percent/grouping, smoothing, stacked series, metadata pass-through, top_n
- Replace tabs with Recent/Trends/Distribution/Tables/Analysis and add sticky controls (interval, domain, window [default 7d], percent, group small, exclude '-' -> Uncached, smoothing toggle).

- Client-side transforms: time-window slicing, percent mode, group others (3%), per-report exclusions; stackedBar multi-series; moving average for error_rate.

- Generator: pass through optional UX metadata (windows_supported, window_default, group_others_threshold, exclude_values, top_n, stacked, palette) and enforce top_n LIMIT for table reports.

- Reports: add status_classes_timeseries and cache_status_timeseries; apply top_n=50 to heavy tables.

- Chart manager: add helpers (sliceWindow, excludeValues, toPercent, groupOthers, movingAverage).

- URL state + localStorage for context; per-tab filtering for Trends/Distribution/Tables.
2025-08-18 23:01:00 -05:00
2300849fdc Place generated marker in output directory 2025-08-02 03:12:59 -05:00
1d4e99c69b Add multi-bucket support for tables and update reports 2025-07-19 18:19:58 -05:00
5d2546ad60 Add chart loading management 2025-07-19 18:01:26 -05:00
669b51e03c Add report generation timing stats 2025-07-19 04:50:09 -05:00
87608ccdb9 refactor: improve report field names 2025-07-19 04:17:38 -05:00
66b1209486 Fix dropdown duration dirs 2025-07-19 04:08:40 -05:00
4017b4ab72 Fix duplicate icon assignment 2025-07-19 03:58:41 -05:00
ad28b6e81e
Merge pull request #41 from wagesj45/codex/add-logging,-locking-and-cron-setup-scripts
Add lock files and cron setup
2025-07-19 03:35:31 -05:00
2b38de598f Add lock files and cron setup 2025-07-19 03:35:18 -05:00
d1f3c5a9ae Hide analysis duration 2025-07-19 03:30:08 -05:00
35c1a00feb Fix interval dropdown options 2025-07-19 00:58:25 -05:00
f6b04e7e2e Exclude global directory from interval dropdown 2025-07-19 00:43:25 -05:00
e03c7bc434 Add per_domain flag to report config 2025-07-19 00:21:42 -05:00
a1102952e9 Add global stats generation 2025-07-19 00:16:11 -05:00
a3f06fd9e2 Add global report generation 2025-07-19 00:09:26 -05:00
ab2af1015a Switch to snippet-based reports 2025-07-18 23:20:13 -05:00
44ee039ca6 Add color support for charts 2025-07-18 23:03:04 -05:00
21762bf1bd Add root index generation 2025-07-18 02:46:26 -05:00
6b9219009d Organize domain reports under domains directory 2025-07-18 02:25:10 -05:00
fb08fcaa07 Fix SQLite view creation and test domain filter 2025-07-18 02:16:14 -05:00
27a73ec4e8 Update run-reports to generate per-domain reports 2025-07-18 02:10:46 -05:00
657c30b260 Refactor reports to share definitions across intervals 2025-07-18 01:50:19 -05:00
6241fd2685 Add YAML-driven report generation 2025-07-18 01:24:26 -05:00
d216433a07 Update requirements and AGENTS instructions 2025-07-17 00:17:46 -05:00