1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-03-04 00:18:40 +01:00
unleash.unleash/src/lib/features/traffic-data-usage
David Leek ccd2fee4ee
feat: implement a store for stat_traffic_data (#6190)
## About the changes

Implements a new store for collected traffic data usage that connects to
the new table `stat_traffic_data` primary key'd on [day, trafficGroup,
status_code_series].

Day being a date
Traffic group being which endpoint is being counted for, ie /api/admin,
/api/frontend etc
Status code series grouping 2xx status responses and 304 into their
respective 200 / 300 series.

No service here, this is for pro/enterprise
2024-02-12 08:39:51 +01:00
..
fake-traffic-data-usage-store.ts feat: implement a store for stat_traffic_data (#6190) 2024-02-12 08:39:51 +01:00
traffic-data-usage-store-type.ts feat: implement a store for stat_traffic_data (#6190) 2024-02-12 08:39:51 +01:00
traffic-data-usage-store.test.ts feat: implement a store for stat_traffic_data (#6190) 2024-02-12 08:39:51 +01:00
traffic-data-usage-store.ts feat: implement a store for stat_traffic_data (#6190) 2024-02-12 08:39:51 +01:00