ksysoev / wasabi

Toolkit for Creating WebSocket API Gateways
MIT License
4 stars 2 forks source link

"Add profiler endpoint for server" #88

Closed ksysoev closed 2 weeks ago

ksysoev commented 2 weeks ago

This pull request adds a new feature for enabling the profiler endpoint for the server. The WithProfilerEndpoint option function is introduced, which allows the profiler endpoint to be enabled. Enabling the profiler endpoint allows profiling and performance monitoring of the server. The profiler endpoint is available at /debug/pprof/.

codecov-commenter commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.21%. Comparing base (60a8c7c) to head (fb93719).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #88 +/- ## ========================================== + Coverage 92.14% 92.21% +0.07% ========================================== Files 21 21 Lines 866 874 +8 ========================================== + Hits 798 806 +8 Misses 50 50 Partials 18 18 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.