5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 15:41:42 +00:00

fixup! generar los rollups para los siguientes intervalos

This commit is contained in:
f 2022-04-30 20:48:53 -03:00
parent 62bdfff98c
commit 8ca5085aae

View file

@ -44,11 +44,11 @@ class UriCollectionJob < PeriodicJob
# Cantidad de visitas por host
rollup(name: 'host', dimensions: host_dimensions, filter: uri_dimensions)
reduce_rollup(name: 'host', operation: :sum, dimensions: uri_dimensions)
reduce_rollup(name: 'host', dimensions: uri_dimensions)
# Cantidad de visitas por página/recurso
rollup(name: 'host|uri', dimensions: uri_dimensions)
reduce_rollup(name: 'host|uri', operation: :sum, dimensions: uri_dimensions)
reduce_rollup(name: 'host|uri', dimensions: uri_dimensions)
# Cantidad de visitas host y parámetro
columns.each_pair do |column, values|