1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-13 11:17:26 +02:00
unleash.unleash/src/lib/features/instance-stats
David Leek 9d2c65c9c0
chore: events created by userid migration (#6027)
## About the changes

Schedules a best-effort task setting the value of
events.created_by_user_id based on what is found in the created_by
column and if it's capable of resolving that to a userid/a system id.
The process is executed in the events-store, it takes a chunk of events
that haven't been processed yet, attempts to join users and api_tokens
tables on created_by = username/email, loops through and tries to figure
out an id to set. Then updates the record.

---------

Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2024-01-30 08:22:53 +01:00
..
createInstanceStatsService.ts chore: events created by userid migration (#6027) 2024-01-30 08:22:53 +01:00
getActiveUsers.e2e.test.ts fix: added await to getActiveUsers tests 2023-10-10 13:23:20 +02:00
getActiveUsers.ts fix(import): making all imports relative and removing baseUrl (#5847) 2024-01-17 15:33:03 +02:00
getProductionChanges.e2e.test.ts feat: feature changes counted in new table (#4958) 2023-10-10 12:32:23 +02:00
getProductionChanges.ts fix(import): making all imports relative and removing baseUrl (#5847) 2024-01-17 15:33:03 +02:00
instance-stats-service.test.ts feat: feature changes counted in new table (#4958) 2023-10-10 12:32:23 +02:00
instance-stats-service.ts feat: prevent double daily metrics insert (#5906) 2024-01-16 13:52:56 +01:00