plausible / analytics

Simple, open source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics.
https://plausible.io
GNU Affero General Public License v3.0
18.98k stars 1.02k forks source link

Revert "APIv2: Replace breakdown module with QueryBuilder" #4292

Closed macobo closed 4 days ago

macobo commented 4 days ago

Reverts plausible/analytics#4283

This is causing 500-s right now with external Stats API: https://sentry.plausible.io/organizations/plausible/issues/94/?query=is%3Aunresolved&referrer=issue-stream&statsPeriod=14d&stream_index=0

Issue seems to be pageviews metric which was previously (in v1 of the api) incorrectly calculated off of sessions table becoming inaccessible.