-
Notifications
You must be signed in to change notification settings - Fork 3
Add metrics: monthly casual users and active users #936
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| 'quarterly_actions', | ||
| 'number_of_triples', | ||
| 'monthly_casual_users', | ||
| 'monthly_active_users', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This also needs to be added to the metricNames list or the comparison for seeing if we need to add new a new record won't work
|
Mostly looks fine to me; as I mentioned yesterday let's get together and have another stab at adding some tests for this stuff because right now we don't which is a little unpleasant and makes touching these areas slower (we always need to manually test them. |
|
I added the metric names in the static array, added bits to the migration code and tested the query on staging; If you don't see anything else I think this is ready for staging @tarrow |
|
@rosalieper and I looked at this together and I stick the approve on it (even though the last changes were from me but we reviewd it) |
* add DB migration * Add metrics monthly casual users and active users * add new metrics to WikiDailyMetrics::$metricNames as well * fix migration reversal code * update changelog --------- Co-authored-by: dena <dena@wikimedia.de>
No description provided.