-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HYC-1937 - Expand Migration Utility to Include Matomo Stats (#1119)
* use date inserted for dimensions queries * separate local stat aggregation into helper, impl fetch matomo stats in DownloadStatsMigrationService * update rake task, expand test suite, update arguments * error handling for unsupported sources * require before and after timestamps for migrations from ga4 and matomo * work utils debugging, update unit tests to accommodate changes
- Loading branch information
1 parent
4c583d2
commit f673b03
Showing
10 changed files
with
436 additions
and
186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
{ | ||
"2024-01-01": [ | ||
{ | ||
"label": "file_id_1 - DownloadIR", | ||
"nb_events": 120, | ||
"Events_EventName": "file_id_1", | ||
"Events_EventAction": "DownloadIR" | ||
}, | ||
{ | ||
"label": "file_id_1 - DownloadIR", | ||
"nb_events": 70, | ||
"Events_EventName": "file_id_1", | ||
"Events_EventAction": "DownloadIR" | ||
}, | ||
{ | ||
"label": "file_id_2 - DownloadIR", | ||
"nb_events": 100, | ||
"Events_EventName": "file_id_2", | ||
"Events_EventAction": "DownloadIR" | ||
}, | ||
{ | ||
"label": "file_id_2 - DownloadIR", | ||
"nb_events": 50, | ||
"Events_EventName": "file_id_2", | ||
"Events_EventAction": "DownloadIR" | ||
}] | ||
, | ||
"2024-02-01": [ | ||
{ | ||
"label": "file_id_3 - DownloadIR", | ||
"nb_events": 10, | ||
"Events_EventName": "file_id_3", | ||
"Events_EventAction": "DownloadIR" | ||
}, | ||
{ | ||
"label": "file_id_3 - DownloadIR", | ||
"nb_events": 90, | ||
"Events_EventName": "file_id_3", | ||
"Events_EventAction": "DownloadIR" | ||
}, | ||
{ | ||
"label": "file_id_4 - DownloadIR", | ||
"nb_events": 50, | ||
"Events_EventName": "file_id_4", | ||
"Events_EventAction": "DownloadIR" | ||
}, | ||
{ | ||
"label": "file_id_4 - DownloadIR", | ||
"nb_events": 30, | ||
"Events_EventName": "file_id_4", | ||
"Events_EventAction": "DownloadIR" | ||
} | ||
], | ||
"2024-03-01": [ | ||
{ | ||
"label": "file_id_5 - DownloadIR", | ||
"nb_events": 80, | ||
"Events_EventName": "file_id_5", | ||
"Events_EventAction": "DownloadIR" | ||
}, | ||
{ | ||
"label": "file_id_5 - DownloadIR", | ||
"nb_events": 100, | ||
"Events_EventName": "file_id_5", | ||
"Events_EventAction": "DownloadIR" | ||
}, | ||
{ | ||
"label": "file_id_6 - DownloadIR", | ||
"nb_events": 250, | ||
"Events_EventName": "file_id_6", | ||
"Events_EventAction": "DownloadIR" | ||
}, | ||
{ | ||
"label": "file_id_6 - DownloadIR", | ||
"nb_events": 300, | ||
"Events_EventName": "file_id_6", | ||
"Events_EventAction": "DownloadIR" | ||
} | ||
] | ||
} |
Oops, something went wrong.