Linden
9920ae7ffe
refactor(logger): dynamically load logger service
2024-08-09 13:53:02 +10:00
Linden
35c6a9ee7f
refactor(profiler): move from logger module
2024-06-17 15:50:33 +10:00
Linden
c38f646bb9
refactor(database): add new connection class and misc tweaks
...
Use disposable symbol to ensure connection cleanup.
Improvements to internal types.
Code splitting and removal of redundant variables.
2024-06-17 15:33:39 +10:00
Luke
7b488f8ad2
feat: query search for debug ui
2024-03-07 12:26:41 +01:00
Linden
0f5c044050
fix(logger): potential error on error handling
2024-03-01 09:07:32 +11:00
Linden
43e0df4a5b
fix(logger): strip lua scheduler errors
2024-02-09 13:14:19 +11:00
Linden
0a8b15a9b5
feat(logger): add logStorage size limit
...
Prevent excessive memory use when people use ui in production.
2024-02-02 16:50:07 +11:00
Linden
e31d84019e
refactor(logger): non-debug query profiling
...
Use less precise query profiling (script based, rather than sql
server based). Re-enables slow query warning, and reduces
overhead when ui is enabled.
2023-12-27 23:52:47 +11:00
Linden
d0683b7f30
refactor(logger): handle error event in error logger
2023-12-27 13:44:05 +11:00
Linden
86aaf157fa
fix: rename printError function
...
This apparently conflicts with and overrides a global used in cfx's JS runtime.
2023-09-06 12:31:22 +10:00
Linden
924fd6a3cf
refactor: improve error handling
2023-07-28 17:21:13 +10:00
Linden
e07947d3b9
refactor(logger): more consistent error output
2023-07-20 16:10:51 +10:00
Linden
fbc2542136
fix(utils/parseTransaction): properly handle arrays of queries
2023-07-19 20:16:23 +10:00
Linden
c2f0dca0c2
refactor(logger): output db version in debug/warning logs
2023-07-19 19:52:21 +10:00
Linden
45aadf7442
refactor(logger): only enable profiling with debugging
...
Breaks slow query warnings, but most people just set the number higher
once they get warnings anyway.
Also fixes some issues:
- profile duration formatting and time (sec to ms).
- incorrect log query/param index.
2023-07-12 15:38:47 +10:00
Linden
a8cdc5d1a1
refactor(logger): add profileBatchStatements
2023-07-12 13:16:08 +10:00
Linden
ade2b38bbf
fix(logger): check player ace when fetching resource data
2023-07-12 01:05:20 +10:00
Luke
952ecfbf91
refactor(web): resource query charts
2023-03-29 12:10:46 +02:00
Luke
1e5aa95691
refactor(web): manual sorting
2023-03-25 15:40:39 +01:00
Luke
dd2a0de468
feat(web): resource specific query data on the resource page
2023-03-25 13:45:41 +01:00
Linden
c92d1f3219
tweak(logger): mysql_debug array-check
...
If the convar output is an array, check if the query was invoked by
a resource in mysql_debug.
2022-08-12 18:56:22 +10:00
Cuchi
4417b728fa
feat(logger/command): Warning message when mysql command is run from server ( #97 )
2022-03-18 17:25:03 +01:00
Luke
21fab4167b
Revert "fix(logger): Require command ace permission to open ui"
...
This reverts commit 9369873481 .
2022-02-13 19:26:57 +01:00
Luke
9369873481
fix(logger): Require command ace permission to open ui
2022-02-11 13:03:53 +01:00
Luke
553775c9a0
feat(nui): Display the amount of slow queries
2022-02-02 13:55:30 +01:00
Luke
b0ea8e1172
feat(nui): Display slow queries with yellow text color
2022-01-27 17:23:45 +01:00
Luke
31fb361c4c
feat(nui): Fetch chart data from resources
2022-01-27 12:47:13 +01:00
dunak-debug
2200b0b0f5
chore: Remove logger mock data
2022-01-23 13:22:17 +01:00
dunak-debug
f89f232b1c
feat(ui): Render spinner until data fetched
2022-01-08 14:40:13 +01:00
dunak-debug
3554ba2fc8
feat(ui): Implement sorting function (WIP)
2022-01-08 14:15:17 +01:00
Luke
238d7cd589
fix(nui): Data fetching into manual pagination
...
Perhaps don't need the loading state...?
2022-01-04 22:04:13 +01:00
Luke
7560099231
feat(nui): WIP manual pagination
2022-01-04 18:36:52 +01:00
dunak-debug
0290ea17e3
feat(ui): Client-side wrapper
2021-12-27 12:59:14 +01:00
Luke
8fb5ca2e8c
fix: Initialize resource array before using it
2021-12-26 21:34:29 +01:00
dunak-debug
4498dddbac
WIP: Rewrite to TS & Cleanup
2021-12-26 02:21:46 +01:00