Skip to content

Conversation

@rosalieper
Copy link
Contributor

No description provided.

'quarterly_actions',
'number_of_triples',
'monthly_casual_users',
'monthly_active_users',
Copy link
Contributor

@tarrow tarrow May 22, 2025

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

@tarrow
Copy link
Contributor

tarrow commented May 22, 2025

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.

@deer-wmde
Copy link
Contributor

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

@deer-wmde
Copy link
Contributor

@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)

@rosalieper rosalieper merged commit 9a7377c into main May 27, 2025
5 checks passed
@rosalieper rosalieper deleted the api-T391464 branch May 27, 2025 10:25
deer-wmde added a commit that referenced this pull request Dec 15, 2025
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants