Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/analytics-processor-batch-watch-queries.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/analytics-processor-hourly-interval.md

This file was deleted.

7 changes: 7 additions & 0 deletions packages/analytics-processor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @beesolve/analytics-processor

## 1.1.0

### Minor Changes

- dbcbd5c: The hourly processor now computes all watch entries for an hour with one Athena query instead of one query per entry. Athena bills a 10 MB minimum per query and hourly partitions are tiny, so a site with ~60 watched URLs dropped from ~66 to ~4 billed queries per hour (about 94% less Athena cost). Results are identical to the per-entry queries. Adds `processWatchHourBatch` and `buildWatchHourBatchQuery`; `processWatchHour` is unchanged.
- dbcbd5c: Add `hourlyIntervalHours` (1-12, default 1) to control how often the hourly processor runs. Each run processes every hour since the previous run, so no data is skipped.

## 1.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/analytics-processor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@beesolve/analytics-processor",
"version": "1.0.0",
"version": "1.1.0",
"description": "CloudFront analytics processor — Athena-to-DynamoDB hourly totals, breakdowns, and rollups",
"homepage": "https://github.com/BeeSolve/packages/tree/main/packages/analytics-processor#readme",
"license": "MIT",
Expand Down