5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 19:16:21 +00:00

fixup! agregar la dimensión al agrupar

This commit is contained in:
f 2022-04-30 16:44:23 -03:00
parent 604ee233bd
commit d766ee4eff

View file

@ -77,7 +77,7 @@ class UriCollectionJob < PeriodicJob
# Acumular por mes y año
reduce_rollup('host', beginning, :sum, **host_dimensions)
columns.each_key do |column|
columns.each_pair do |column, values|
values.each do |value|
column_dimensions = { host: host }
column_dimensions[column] = value