Spireblight / STR-Backend

Slay the relics extension
https://dashboard.twitch.tv/extensions/ebkycs9lir8pbic2r0b7wa6bg6n7ua-0.0.1
GNU Affero General Public License v3.0
5 stars 2 forks source link

go backend: add pprof endpoints for debugging #18

Closed zdylag closed 1 day ago

zdylag commented 1 day ago

This should allow us to easily get profiles in the future when any unwanted behavior is occuring.

This should be safe to add as it is registered on to a separate port from any of the existing actual APIs or metrics.


Tested this locally to verify I can access the pprof routes and it does not impact the main port.

image