wave icon indicating copy to clipboard operation
wave copied to clipboard

Store wave pull records in DB

Open munishchouhan opened this issue 5 months ago • 6 comments

This PR will create wave_pull table and add entry with requestId and time every time there is a pull.

cc @lialinn

Note: please ignore the commit message

munishchouhan avatar Jun 20 '25 15:06 munishchouhan

test:

Screenshot 2025-06-20 at 17 08 04

munishchouhan avatar Jun 20 '25 15:06 munishchouhan

tested in local Screenshot 2025-06-20 at 17 54 28

munishchouhan avatar Jun 20 '25 15:06 munishchouhan

Not sure this should be added. These metrics are tracked already via Redis

pditommaso avatar Jun 23 '25 07:06 pditommaso

Not sure this should be added. These metrics are tracked already via Redis

Currently we only store metrics per org, arch and date. This implementation will provide us pull per every parameter in the request object like image, user, ip etc.

munishchouhan avatar Jun 23 '25 07:06 munishchouhan

tested with new changes: Screenshot 2025-06-23 at 14 35 37

munishchouhan avatar Jun 23 '25 12:06 munishchouhan

Not sure this should be added. These metrics are tracked already via Redis

This is not just for matrices; it's a record of actions performed through Wave, like build, scan, etc. The client also pulls through Wave. So, having wave_pull makes sense for that purpose too.

munishchouhan avatar Jun 23 '25 12:06 munishchouhan