1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-31 00:16:47 +01:00
unleash.unleash/src/lib/db
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
..
access-store.test.ts fix(import): making all imports relative and removing baseUrl (#5847) 2024-01-17 15:33:03 +02:00
access-store.ts fix(import): making all imports relative and removing baseUrl (#5847) 2024-01-17 15:33:03 +02:00
account-store.ts chore:system user and events created by userid migrations (#5612) 2023-12-22 11:19:39 +01:00
addon-store.ts OpenAPI: addon operations (#3421) 2023-04-18 10:50:34 +00:00
api-token-store.ts fix: add metrics for service account and api tokens (#5478) 2023-11-29 13:09:30 +01:00
client-applications-store.ts chore(deps): update dependency @biomejs/biome to v1.4.1 (#5709) 2024-01-10 09:11:49 +00:00
client-instance-store.ts fix: Use knex whereLike instead of whereRaw to fix escaping (#6041) 2024-01-26 10:44:53 +01:00
context-field-store.ts chore: remove context/segment usage flag (#4242) 2023-07-14 13:30:15 +03:00
db-pool.ts feat: add "application_name" as an optional DB option #1170 (#1478) 2022-04-07 20:55:56 +02:00
db.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
event-store.ts chore: re use extract user methods (#5947) 2024-01-18 13:15:21 +01:00
favorite-features-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
favorite-projects-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
feature-environment-store.ts fix: clone variants (featureEnv and strategy) when cloning an env (#6026) 2024-01-25 10:53:43 +02:00
feature-strategy-store.test.ts Biome1.5.1 (#5867) 2024-01-12 09:25:59 +00:00
feature-tag-store.ts chore: split metrics by request type (#6119) 2024-02-05 09:01:42 +01:00
feature-type-store.ts feat: feature type updated audit log (#5415) 2023-11-24 14:24:31 +01:00
group-store.ts fix: only delete SSO-synced group membership where membership was added by SSO sync (#4929) 2023-10-05 13:22:46 +02:00
index.ts feat: implement a store for stat_traffic_data (#6190) 2024-02-12 08:39:51 +01:00
pat-store.ts refactor: PATs (#6101) 2024-02-01 14:28:46 +00:00
project-stats-store.ts fix(import): making all imports relative and removing baseUrl (#5847) 2024-01-17 15:33:03 +02:00
project-store.ts feat: expose project time to production for project flag trends (#6068) 2024-01-30 13:28:20 +01:00
public-signup-token-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
reset-token-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
role-store.ts fix(import): making all imports relative and removing baseUrl (#5847) 2024-01-17 15:33:03 +02:00
segment-store.test.ts chore: remove detectSegmentUsageInChangeRequests flag (#6080) 2024-01-31 17:24:35 +09:00
segment-store.ts chore: remove detectSegmentUsageInChangeRequests flag (#6080) 2024-01-31 17:24:35 +09:00
session-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
setting-store.ts chore: expose instanceId so it can be used from addons (#5231) 2023-10-31 12:38:21 +01:00
strategy-store.ts feat: add title to strategy (#3510) 2023-04-18 08:59:02 +02:00
tag-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
transaction.ts fix(import): making all imports relative and removing baseUrl (#5847) 2024-01-17 15:33:03 +02:00
user-feedback-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
user-splash-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
user-store.ts chore:system user and events created by userid migrations (#5612) 2023-12-22 11:19:39 +01:00