improvements mid apr 2025 (#26)

* General improvements and bug fixes.
* Admin dashboard
This commit is contained in:
2025-10-01 00:20:45 +01:00
committed by GitHub
parent cedee416a8
commit 0fc776228f
5 changed files with 219 additions and 8 deletions
+5
View File
@@ -236,6 +236,11 @@ func createFasthttpClient(clientConfig *config) *fasthttp.Client {
// proxyTheRequest handles the request proxying logic.
func proxyTheRequest(c *fiber.Ctx, currentEndpoint string) error {
// Record request for RPS tracking
if rpsTracker := GetRPSTracker(); rpsTracker != nil {
rpsTracker.RecordRequest()
}
// Setup tracing if enabled
var span trace.Span
var ctx context.Context