Danny van Kooten
f9ae32f871
empty report should have PoolEmpty: true value to prevent aggregator from re-running
2018-12-24 12:27:21 +01:00
Danny van Kooten
23793bde60
log duration for aggregation func
2018-12-24 12:04:29 +01:00
Danny van Kooten
eb2eb726f3
keep running aggregator job until pageview pool is emptied.
2018-12-24 09:41:11 +01:00
Danny van Kooten
2ca1e0f36e
switch to hourly storage for stats.
...
- allows showing an hourly chart on the 'today' view
- fixes timezone issues when in 'today' view #134
- increases size of stats tables by factor 24, but that should be less of an issue after dbcadcd73772258f2d2fd781673e559d5ed74dba
2018-11-13 15:23:18 +01:00
Danny van Kooten
dbcadcd737
normalize hostname and pathname columns
...
to save on disk storage
2018-11-12 14:45:21 +01:00
Danny van Kooten
bca066b614
improved referrer parsing. match hostname against blacklist using community-maintained blacklist file graciously provided by Matomo ( https://github.com/matomo-org/referrer-spam-blacklist ). closes #170 relates to #154
2018-11-09 10:39:14 +01:00
Danny van Kooten
2f64d56771
alter stats table constraints to take site_id column into consideration
2018-10-10 09:30:52 +02:00
Danny van Kooten
ce8f585827
sqlstore GetXStats funcs should return nil when there are 0 results. #50
2018-10-10 09:02:32 +02:00
Danny van Kooten
80088570b0
default to site_id 1, even though it may not exist yet
2018-10-05 16:07:15 +02:00
Danny van Kooten
53c1702d0d
only re-fetch data when needed
2018-10-05 15:13:48 +02:00
Danny van Kooten
876309ae59
clean-up sqlstore pkg
2018-10-05 14:34:39 +02:00
Danny van Kooten
d4176de238
get aggregator to take site ID's into account
2018-10-05 14:19:11 +02:00
Danny van Kooten
c1367325e6
modify all routes & queries to take a site ID parameter
2018-10-05 13:09:58 +02:00
Danny van Kooten
b6aa00caef
add tests for aggregating referrer stats
2018-08-09 15:04:38 +02:00
Danny van Kooten
8313c64610
add tests for aggregating page-specific stats
2018-08-09 14:57:35 +02:00
Danny van Kooten
2ccbfbf372
add tests for aggregating site-wide stats
2018-08-09 14:43:42 +02:00
Danny
9db5b3808a
return number of processed pageview from aggregator.Run
2018-06-01 12:12:15 +02:00
Danny
bc86088607
set group during aggregation
2018-06-01 11:44:20 +02:00
Danny
c8a6da13e6
TODO comments so we know where to pick up
2018-05-30 13:40:59 +02:00
Danny
071ea5ace0
split hostname and pathname in referrers table
2018-05-30 12:50:28 +02:00
Danny
df7496a80d
add known_durations column and use that for calculating duration averages, instead of total # pageviews
2018-05-28 15:31:40 +02:00
Danny van Kooten
3b8a884991
godoc improvements
2018-05-21 11:54:01 +02:00
Danny
c30e5b3120
introduce datastore interface & stop relying on package var to retrieve db conn. relates to #29
2018-05-15 13:30:37 +02:00
Danny
69fc3e7aa1
implement results type container
2018-05-14 15:31:33 +02:00