Nicholas Dujay
37e1c5297a
implement show users ( #329 )
...
* implement show users
* fix compile errors
* add basic ruby test
* gitignore things
2023-02-21 13:08:43 -08:00
Mostafa Abdelraouf
f9134807d7
More Test coverage + fix some code coverage bugs ( #321 )
...
Connection to the CI databases is viewed by Postgres as coming from localhost. The pg_hba.conf file generated by the docker image uses trust for these connections, that's why we had no test coverage on SASL and md5 branches.
This PR fixes this issue. There was also an issue with under-reporting code coverage. This should be fixed now
2023-02-16 23:09:22 -06:00
Mostafa Abdelraouf
3d33ccf4b0
Fix maxwait metric ( #183 )
...
Max wait was being reported as 0 after #159
This PR fixes that and adds test
2022-10-05 21:41:09 -05:00
Mostafa Abdelraouf
af064ef447
Set client state to idle after error ( #179 )
...
* Set client state to idle after error
* fmt
* spelling
* clean up
2022-09-24 09:09:15 -07:00
Mostafa Abdelraouf
f7a951745c
Report Query times ( #166 )
...
* Report avg and total query timing
* Report query times
* fmt
2022-09-15 02:21:45 -04:00
Mostafa Abdelraouf
4ae1bc8d32
Add SHOW CLIENTS / SHOW SERVERS + Stats refactor and tests ( #159 )
...
* wip
* Main Thread Panic when swarmed with clients
* fix
* fix
* 1024
* fix
* remove test
* Add SHOW CLIENTS
* revert
* fmt
* Refactor + tests
* fmt
* add test
* Add SHOW SERVERS + Make PR unreviewable
* prometheus
* add state to clients and servers
* fmt
* Add application_name to server stats
* Add tests for waiting clients
* Docs
* remove comment
* comments
* typo
* cleanup
* CI
2022-09-14 11:20:41 -04:00